mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Merge pull request #1855 from safing/feature/installer-migration
[packaging] fix: remove leftover installer migration artifacts
This commit is contained in:
commit
c73df64221
2 changed files with 6 additions and 0 deletions
|
@ -178,6 +178,9 @@ var dataDir
|
|||
RMDir /r /REBOOTOK "$COMMONPROGRAMDATA\Portmaster\exec"
|
||||
RMDir /r /REBOOTOK "$COMMONPROGRAMDATA\Portmaster\logs"
|
||||
|
||||
; Remove PMv1 migration flag
|
||||
Delete /REBOOTOK "$COMMONPROGRAMDATA\Safing\Portmaster\migrated.txt"
|
||||
|
||||
${If} $DeleteAppDataCheckboxState = 1
|
||||
DetailPrint "Deleting the application data..."
|
||||
RMDir /r /REBOOTOK "$COMMONPROGRAMDATA\Portmaster"
|
||||
|
|
|
@ -28,6 +28,9 @@ if [ -d "$OLD_INSTALLATION_DIR" ]; then
|
|||
echo "[ ] V1 migration: Removing V1 shortcuts"
|
||||
rm /etc/xdg/autostart/portmaster_notifier.desktop
|
||||
rm /usr/share/applications/portmaster_notifier.desktop
|
||||
# app V1 shortcut
|
||||
# NOTE: new V2 shortcut registered as "Portmaster.desktop" (first letter uppercase), so we can distinguish between V1 and V2 shortcuts.
|
||||
rm /usr/share/applications/portmaster.desktop
|
||||
|
||||
# Remove V1 files (except configuration)
|
||||
# (keeping V1 configuration for a smooth downgrade, if needed)
|
||||
|
|
Loading…
Add table
Reference in a new issue