From 14709c4e201d210c7b967dde97b65eeafd3676c2 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 21 Feb 2019 12:55:53 +0100 Subject: [pkg] Make the icon brandable --- snap/gui/icon.svg | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++ snap/gui/riseupvpn.svg | 80 -------------------------------------------------- snap/snapcraft.yaml | 2 +- win/payload/uninstall | 2 +- win/template.nsi | 6 ++-- 5 files changed, 85 insertions(+), 85 deletions(-) create mode 100644 snap/gui/icon.svg delete mode 100644 snap/gui/riseupvpn.svg diff --git a/snap/gui/icon.svg b/snap/gui/icon.svg new file mode 100644 index 0000000..a19c6c6 --- /dev/null +++ b/snap/gui/icon.svg @@ -0,0 +1,80 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/snap/gui/riseupvpn.svg b/snap/gui/riseupvpn.svg deleted file mode 100644 index a19c6c6..0000000 --- a/snap/gui/riseupvpn.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 53d82d4..acc471d 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -10,7 +10,7 @@ description: | grade: stable confinement: classic -icon: snap/gui/riseupvpn.svg +icon: snap/gui/icon.svg parts: desktop-gtk3: diff --git a/win/payload/uninstall b/win/payload/uninstall index e813b13..7c7df24 100755 --- a/win/payload/uninstall +++ b/win/payload/uninstall @@ -1,4 +1,4 @@ -riseupvpn.ico +icon.ico openssl.exe openvpn.exe ssleay32.dll diff --git a/win/template.nsi b/win/template.nsi index beb4dc2..cbf44d8 100755 --- a/win/template.nsi +++ b/win/template.nsi @@ -66,7 +66,7 @@ Section "InstallFiles" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "DisplayName" "$app_name" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "UninstallString" '"$INSTDIR\uninstall.exe"' WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "InstallLocation" "$INSTDIR" - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "DisplayIcon" "$INSTDIR\$app_name_lower.ico" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "DisplayIcon" "$INSTDIR\icon.ico" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "Readme" "$INSTDIR\readme.txt" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "DisplayVersion" "$version" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "Publisher" "LEAP Encryption Access Project" @@ -75,11 +75,11 @@ Section "InstallFiles" ;Start Menu createDirectory "$SMPROGRAMS\$app_name\" - createShortCut "$SMPROGRAMS\$app_name\$app_name.lnk" "$INSTDIR\bitmask-vpn.exe" "" "$INSTDIR\$app_name_lower.ico" + createShortCut "$SMPROGRAMS\$app_name\$app_name.lnk" "$INSTDIR\bitmask-vpn.exe" "" "$INSTDIR\icon.ico" File "readme.txt" File "..\staging\nssm.exe" - File "..\assets\$app_name_lower.ico" + File "/oname=icon.ico" "..\assets\$app_name_lower.ico" $extra_install_files -- cgit v1.2.3