PaperCutSoftware / silver

SILVER - A cross-platform service/daemon wrapper with in-build auto-update, crash resilience and more.
MIT License
54 stars 13 forks source link

Add "./" to the path for backward compatibility for executables in c… #35

Open nimeshnsat opened 4 weeks ago

nimeshnsat commented 4 weeks ago

Ensure the executable path is correct based on Go 1.19+ behavior.

Starting from Go 1.19, executables in the current directory must be prefixed with "./" when invoked, otherwise, Go will not execute them. This adjustment is necessary to maintain compatibility

with existing configuration files (e.g., Silver configurations), which may not explicitly include "./" in the path for executables located in the current directory.

For example, updater.exe in startup or scheduled tasks might lack "./" in its path.