[packaging] fix: remove leftover installer migration artifacts
This commit is contained in:
@@ -173,6 +173,9 @@ var dataDir
|
|||||||
Delete /REBOOTOK "$COMMONPROGRAMDATA\Portmaster\intel\news.yaml"
|
Delete /REBOOTOK "$COMMONPROGRAMDATA\Portmaster\intel\news.yaml"
|
||||||
RMDir /r /REBOOTOK "$COMMONPROGRAMDATA\Portmaster\intel"
|
RMDir /r /REBOOTOK "$COMMONPROGRAMDATA\Portmaster\intel"
|
||||||
|
|
||||||
|
; Remove PMv1 migration flag
|
||||||
|
Delete /REBOOTOK "$COMMONPROGRAMDATA\Safing\Portmaster\migrated.txt"
|
||||||
|
|
||||||
${If} $DeleteAppDataCheckboxState = 1
|
${If} $DeleteAppDataCheckboxState = 1
|
||||||
RMDir /r /REBOOTOK "$COMMONPROGRAMDATA\Portmaster"
|
RMDir /r /REBOOTOK "$COMMONPROGRAMDATA\Portmaster"
|
||||||
RMDir /r /REBOOTOK "$COMMONPROGRAMDATA\Safing"
|
RMDir /r /REBOOTOK "$COMMONPROGRAMDATA\Safing"
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ if [ -d "$OLD_INSTALLATION_DIR" ]; then
|
|||||||
echo "[ ] V1 migration: Removing V1 shortcuts"
|
echo "[ ] V1 migration: Removing V1 shortcuts"
|
||||||
rm /etc/xdg/autostart/portmaster_notifier.desktop
|
rm /etc/xdg/autostart/portmaster_notifier.desktop
|
||||||
rm /usr/share/applications/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)
|
# Remove V1 files (except configuration)
|
||||||
# (keeping V1 configuration for a smooth downgrade, if needed)
|
# (keeping V1 configuration for a smooth downgrade, if needed)
|
||||||
|
|||||||
Reference in New Issue
Block a user