[packaging] Add migration for linux installers

This commit is contained in:
Vladimir Stoilov
2025-03-05 16:13:00 +02:00
parent d74083ced8
commit df6e95dcd7
4 changed files with 76 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ func (sc *ServiceConfig) Init() error {
if sc.BinDir == "" {
exeDir, err := getCurrentBinaryFolder() // Default: C:/Program Files/Portmaster
if err != nil {
return fmt.Errorf("derive bin dir from runnning exe: %w", err)
return fmt.Errorf("derive bin dir from running exe: %w", err)
}
sc.BinDir = exeDir
}