Release version 0.2.2
Add Linux desktop integration that installs a user-level .desktop file and icon under XDG data directories so taskbars can match the PySentry window to the application icon. Pass the installed icon path into Linux autostart desktop entries when available, while keeping the Windows and fallback autostart APIs compatible. Bump the application version to 0.2.2, update README artifact examples, and record the release notes in docs/CHANGELOG.md. Also adjust the Mermaid architecture diagram so Gitea can render it without invalid SVG line-break tags.
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
const autostartName = "PySentry"
|
||||
|
||||
func SetAutostart(enabled bool, executablePath string) error {
|
||||
func SetAutostart(enabled bool, executablePath string, iconPath string) error {
|
||||
if enabled {
|
||||
// Remove any stale entry first. This makes "uncheck, save, check, save"
|
||||
// and even a plain "check, save" repair an old path after the executable
|
||||
|
||||
Reference in New Issue
Block a user