-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add auto-run functionality to the Windows app #74
Commits on Nov 10, 2024
-
feat: Add auto-run functionality to the Windows app
Fixes #58 Add auto-run functionality to the Windows app. * Add `set_auto_run` and `remove_auto_run` functions in `monitor-app/src/core/app_settings.py` to create and remove registry entries for auto-run. * Modify `SettingsLoader` class in `monitor-app/src/core/app_settings.py` to include `auto_run` setting. * Add a checkbox in `monitor-app/src/gui/settings_dialog.py` to enable/disable auto-run functionality. * Modify the `save_settings` method in `monitor-app/src/gui/settings_dialog.py` to save the `auto_run` setting. * Import `set_auto_run` and `remove_auto_run` in `monitor-app/main.py`. * Modify the `initialize_application` function in `monitor-app/main.py` to call `set_auto_run` or `remove_auto_run` based on the setting. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/bl4ckswordsman/disco-beacon/issues/58?shareId=XXXX-XXXX-XXXX-XXXX).
Configuration menu - View commit details
-
Copy full SHA for 7fb2729 - Browse repository at this point
Copy the full SHA 7fb2729View commit details -
Add auto-run functionality to application settings
* **Core Settings**: - Add `set_auto_run` and `remove_auto_run` functions to manage registry entries for auto-run. - Modify `SettingsLoader` class to include `auto_run` setting. * **GUI Settings Dialog**: - Add a checkbox to enable/disable auto-run functionality. - Modify `save_settings` method to save the `auto_run` setting. * **Main Application**: - Import `set_auto_run` and `remove_auto_run` from `app_settings`. - Import `os` module. - Modify `initialize_application` function to call `set_auto_run` or `remove_auto_run` based on the setting.
Configuration menu - View commit details
-
Copy full SHA for 74bf839 - Browse repository at this point
Copy the full SHA 74bf839View commit details -
Add auto-run functionality to application settings
* **Core settings**: - Add `set_auto_run` and `remove_auto_run` functions to manage registry entries for auto-run. - Modify `SettingsLoader` class to include `auto_run` setting. * **GUI settings dialog**: - Add a checkbox to enable/disable auto-run functionality. - Modify `save_settings` method to save the `auto_run` setting. * **Main application**: - Import `set_auto_run` and `remove_auto_run` functions. - Modify `initialize_application` function to call `set_auto_run` or `remove_auto_run` based on the setting. * **Platform utilities**: - Add `is_windows` function to check if the current platform is Windows.
Configuration menu - View commit details
-
Copy full SHA for f870be3 - Browse repository at this point
Copy the full SHA f870be3View commit details -
Add platform check for Windows before setting auto-run
* **`app_settings.py`** - Add `is_windows` check in `set_auto_run` and `remove_auto_run` functions - Import `is_windows` from `platform_utils` * **`main.py`** - Add `is_windows` check before setting or removing auto-run - Import `is_windows` from `platform_utils`
Configuration menu - View commit details
-
Copy full SHA for 6c010c4 - Browse repository at this point
Copy the full SHA 6c010c4View commit details -
Add error handling in
remove_auto_run
to catchFileNotFoundError
* Wrap `winreg.OpenKey` and `winreg.DeleteValue` in a try-except block * Catch `FileNotFoundError` and pass
Configuration menu - View commit details
-
Copy full SHA for 9fe9601 - Browse repository at this point
Copy the full SHA 9fe9601View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06469d9 - Browse repository at this point
Copy the full SHA 06469d9View commit details -
Add platform checks for Windows in auto-run functions and adjust exec…
…utable path handling
Configuration menu - View commit details
-
Copy full SHA for 05dd72c - Browse repository at this point
Copy the full SHA 05dd72cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 017d498 - Browse repository at this point
Copy the full SHA 017d498View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78dd517 - Browse repository at this point
Copy the full SHA 78dd517View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50b5f9a - Browse repository at this point
Copy the full SHA 50b5f9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6538d18 - Browse repository at this point
Copy the full SHA 6538d18View commit details -
refactor: Refactor autorun handling to improve registry updates and s…
…treamline settings management
Configuration menu - View commit details
-
Copy full SHA for 013f679 - Browse repository at this point
Copy the full SHA 013f679View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20a9f51 - Browse repository at this point
Copy the full SHA 20a9f51View commit details -
Configuration menu - View commit details
-
Copy full SHA for a15d363 - Browse repository at this point
Copy the full SHA a15d363View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d5b20e - Browse repository at this point
Copy the full SHA 1d5b20eView commit details -
feat: Update Windows build configuration to use windows_main.pyw and …
…add debug toggle in test spec
Configuration menu - View commit details
-
Copy full SHA for d95868f - Browse repository at this point
Copy the full SHA d95868fView commit details -
feat: Enhance Windows build workflow with debug mode input and add wi…
…ndows_main.pyw entry point
Configuration menu - View commit details
-
Copy full SHA for ade08cf - Browse repository at this point
Copy the full SHA ade08cfView commit details -
fix: Update Windows build workflow to use disco_beacon_win_test.spec …
…for debug mode configuration
Configuration menu - View commit details
-
Copy full SHA for 1ca1ef7 - Browse repository at this point
Copy the full SHA 1ca1ef7View commit details
Commits on Nov 11, 2024
-
feat: Refactor settings management to dynamically determine settings …
…file path and improve autorun handling
Configuration menu - View commit details
-
Copy full SHA for e1b61d7 - Browse repository at this point
Copy the full SHA e1b61d7View commit details -
docs: Update README to clarify settings storage locations and add aut…
…orun feature for Windows
Configuration menu - View commit details
-
Copy full SHA for c933711 - Browse repository at this point
Copy the full SHA c933711View commit details -
Configuration menu - View commit details
-
Copy full SHA for 243478f - Browse repository at this point
Copy the full SHA 243478fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4f7577 - Browse repository at this point
Copy the full SHA f4f7577View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9302f4b - Browse repository at this point
Copy the full SHA 9302f4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf97f20 - Browse repository at this point
Copy the full SHA cf97f20View commit details -
docs: Update README with settings storage locations for Windows and L…
…inux refactor: Remove unused imports in main.py and settings_dialog.py
Configuration menu - View commit details
-
Copy full SHA for eaf0c67 - Browse repository at this point
Copy the full SHA eaf0c67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12277af - Browse repository at this point
Copy the full SHA 12277afView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc96fd9 - Browse repository at this point
Copy the full SHA cc96fd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 655e7d7 - Browse repository at this point
Copy the full SHA 655e7d7View commit details