17 Commits

Author SHA1 Message Date
kony ab48552d93 Update configuration references from goodlink_config to goodlink3 across multiple files. This change improves code organization and consistency in configuration management. 2026-03-19 12:45:25 +08:00
kony f01da3d14b Refactor configuration management by replacing direct config usage with goodlink_config package across multiple files. This change enhances code organization and clarity by centralizing configuration handling, while also removing the obsolete config.go file. 2026-03-19 12:29:52 +08:00
kony d02d9fda4b Refactor version handling by renaming GetVersion to GetVersionFromAppConfig and updating references across main_cmd.go, main_ui.go, and other files. This change centralizes version retrieval from the application configuration, improving code clarity and maintainability. 2026-03-18 10:37:34 +08:00
kony af2e5b247c Refactor InitTrayIcons function in ui2/tray.go to accept desktop.App parameter, enhancing tray icon management in main_ui.go. This change improves the integration of tray icons with the application context, ensuring proper initialization and resource handling. 2026-03-17 21:56:35 +08:00
kony e6b345eda3 Update FyneApp.toml build version to 10 and remove unused ButtonStateIdle definition in ui2/start.go. Simplify tray application setup in main_ui.go by removing redundant state initialization, enhancing code clarity and maintainability. 2026-03-17 21:47:04 +08:00
kony caaf085c2c Refactor tray icon management by replacing color-based logic with button state handling in ui2/tray.go and ui2/start.go. Update main_ui.go to utilize new button state for tray application setup, enhancing clarity and maintainability of the UI code. 2026-03-17 21:40:43 +08:00
kony 180516203a Update tray icon management by replacing PNG assets with ICO format, enhancing compatibility and resource efficiency. Modify FyneApp.toml build version to 6 and add new dependency for ICO handling. 2026-03-17 21:18:55 +08:00
kony fa9f4bd415 Refactor tray icon management in ui2/tray.go by embedding icon assets and simplifying icon selection logic. Remove unused favicon handling in main_ui.go to streamline resource usage. 2026-03-17 21:04:36 +08:00
kony 25e1e422cc Update favicon asset in main_ui.go from PNG to ICO format for improved compatibility in tray icon display. 2026-03-17 20:46:37 +08:00
kony ff9dc90dad Add system tray icon functionality and update tray icon on connection status changes
- Embedded a favicon for the application and initialized tray icons in the main UI.
- Updated connection status handling to refresh the tray icon based on connection state changes.
- Enhanced button click and process exit handling to update the tray icon visibility accordingly.
2026-03-11 17:44:15 +08:00
kony 39ac79fb50 Update application title constant from "GoodLink" to "Goodlink" for consistency in branding. 2026-02-23 18:48:42 +08:00
kony 9a7c7c75ca Reorder version and help display calls in main_ui.go for improved startup sequence
- Adjusted the order of pro.SetVersion() and config.Help() to ensure they are executed after the cleanup of orphaned processes, enhancing the application's initialization flow.
2026-01-15 14:00:18 +08:00
kony c018697139 Reorganize version setting and help display in main_ui.go
- Moved the calls to pro.SetVersion() and config.Help() to ensure they are executed after the single instance check, improving the application's startup flow.
2026-01-15 13:59:18 +08:00
kony f921f32700 Update build number in FyneApp.toml and implement single instance check in main_ui.go
- Incremented the build number to 1 in FyneApp.toml.
- Added a check for single instance execution in main_ui.go to prevent multiple instances from running simultaneously, ensuring better resource management.
2026-01-15 13:30:51 +08:00
kony bd07284b8e Enhance process management and utility functions
- Added cleanup of orphaned command processes before application startup.
- Refactored process termination logic to utilize utility functions for improved maintainability.
- Updated command executable path retrieval to use a centralized utility function.
2026-01-08 13:42:14 +08:00
kony f44e746aca Implement local configuration management and enhance initialization process
- Added support for local configuration deletion based on command-line argument.
- Refactored configuration initialization to handle local config more effectively.
- Improved logging for better tracking of configuration loading and cleanup processes.
2026-01-08 11:42:03 +08:00
kony 9cea6dcc08 Remove main_windows.go file to streamline the Windows build process and eliminate unused code. 2026-01-05 18:01:30 +08:00