Skip to content

Replace Chrome dependency with pywebview#24

Draft
LaganYT wants to merge 64 commits intowindowsTestfrom
pywebview
Draft

Replace Chrome dependency with pywebview#24
LaganYT wants to merge 64 commits intowindowsTestfrom
pywebview

Conversation

@LaganYT
Copy link
Member

@LaganYT LaganYT commented Mar 7, 2026

This pull request introduces several improvements and changes to the project, focusing on documentation, dependency management, and enhancements to the glue dispenser macro logic. The most significant updates include replacing the frontend communication layer from eel to pywebview, updating documentation and contributing guidelines, and adding an option for the glue dispenser to use a quickslot. Below are the most important changes grouped by theme:

Documentation and Guidelines

  • Added a comprehensive CONTRIBUTING.md file outlining contribution, issue reporting, and code review guidelines to foster a welcoming and organized development environment.
  • Added a SECURITY.md file with instructions for responsible security vulnerability reporting and support policy.
  • Updated README.md notes to reflect the transition from eel to pywebview for frontend-backend communication, clarified OS support, and added a star widget section.

Dependency and Backend Changes

  • Replaced eel with pywebview throughout the codebase, including dependency installation (install_dependencies.command), import statements, and GUI communication logic in src/main.py. [1] [2] [3] [4] [5] [6] [7]

Glue Dispenser Macro Enhancement

  • Added support for using the gumdrop quickslot in the glue dispenser macro, controlled by the new glue_dispenser_use_gumdrop_slot setting. This enables faster activation and avoids inventory searching.
  • Introduced the glue_dispenser_use_gumdrop_slot setting in default profiles and settings files to enable the new quickslot behavior.

These updates modernize the codebase, improve developer experience, and add flexibility to macro behavior.

LaganYT added 30 commits March 5, 2026 09:32
Signed-off-by: Logan <95306463+LaganYT@users.noreply.github.com>
Added a security policy document outlining vulnerability reporting and supported versions.

Signed-off-by: Logan <95306463+LaganYT@users.noreply.github.com>
Signed-off-by: Logan <95306463+LaganYT@users.noreply.github.com>
- Replaced all instances of eel calls with AppBridge methods in various scripts.
- Updated discordBot.py to use gui instead of eel for updating macro mode.
- Modified index.html to include backend.js instead of eel.js.
- Created backend.js to handle communication with the backend using AppBridge.
- Ensured all relevant functions in tabs (boost, collect, config, gather, home, planters) utilize AppBridge for method calls.
- Improved error handling and logging for backend interactions.
Signed-off-by: Logan <95306463+LaganYT@users.noreply.github.com>
… screen recording permissions, and keyboard access; streamline code for better readability and maintenance.
…rnative pywebview backends on older versions and updating README with installation instructions.
…on-safe manner, improving compatibility with pywebview backends
…ve Cocoa/WebKit over Qt for improved compatibility
LaganYT added 30 commits March 7, 2026 23:53
…d implement a watchdog for frontend loading issues
Signed-off-by: Logan <95306463+LaganYT@users.noreply.github.com>
Add update checker on open
Signed-off-by: Logan <95306463+LaganYT@users.noreply.github.com>
Signed-off-by: Logan <95306463+LaganYT@users.noreply.github.com>
Signed-off-by: Logan <95306463+LaganYT@users.noreply.github.com>
# Conflicts:
#	README.md
#	src/gui.py
#	src/webapp/scripts/script.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant