mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Remove version information from moved file
Otherwise the file is being picked up by the update registry scan.
This commit is contained in:
parent
8a0edd9472
commit
99a494db6e
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ func upgradeFile(fileToUpgrade string, file *updater.File) error {
|
|||
registry.TmpDir().Path,
|
||||
fmt.Sprintf(
|
||||
"%s-%d%s",
|
||||
updater.GetVersionedPath(filepath.Base(fileToUpgrade), currentVersion),
|
||||
filepath.Base(fileToUpgrade),
|
||||
time.Now().UTC().Unix(),
|
||||
upgradedSuffix,
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue