summaryrefslogtreecommitdiff
path: root/osx/scripts
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-07-04 23:14:14 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2018-07-07 04:55:10 +0200
commit5f66af8266eda3e8bc5d1b394e5fb81271b7733f (patch)
tree78261b5930394e798af51f96119340651237e145 /osx/scripts
parent89bb53fe82c048fc322075b67b1bc7048d4fc53d (diff)
[pkg] generate install scripts for helper
Diffstat (limited to 'osx/scripts')
-rwxr-xr-xosx/scripts/postinstall8
-rwxr-xr-xosx/scripts/preinstall4
-rw-r--r--osx/scripts/se.leap.bitmask-helper.plist4
3 files changed, 8 insertions, 8 deletions
diff --git a/osx/scripts/postinstall b/osx/scripts/postinstall
index 9343039..88ce4af 100755
--- a/osx/scripts/postinstall
+++ b/osx/scripts/postinstall
@@ -5,9 +5,9 @@
LOG=/tmp/bitmask-install.log
-chmod +x /Applications/RiseupVPN.app/Contents/Resources/bitmask-helper/bitmask-helper
+chmod +x /Applications/RiseupVPN.app/Contents/MacOS/bitmask-helper
cp se.leap.bitmask-helper.plist /Library/LaunchDaemons/ \
- && echo `date` ":: Bitmask post-install: copied bitmask-helper Plist." >> $LOG
-launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist && echo `date` ":: Bitmask post-install: loaded bitmask-helper." >> $LOG
-echo `date` ":: Bitmask post-install: ok." >> $LOG
+ && echo `date` ":: RiseupVPN post-install: copied bitmask-helper Plist." >> $LOG
+launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist && echo `date` ":: RiseupVPN post-install: loaded bitmask-helper." >> $LOG
+echo `date` ":: RiseupVPN post-install: ok." >> $LOG
exit 0
diff --git a/osx/scripts/preinstall b/osx/scripts/preinstall
index 1ae68f9..47a0812 100755
--- a/osx/scripts/preinstall
+++ b/osx/scripts/preinstall
@@ -7,6 +7,6 @@ LOG=/tmp/bitmask-install.log
ps aux | grep [b]itmask-helper \
&& launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist \
- && echo `date` ":: Bitmask pre-install: unloaded bitmask-helper." >> $LOG
-echo `date` ":: Bitmask pre-install: ok." >> $LOG
+ && echo `date` ":: RiseupVPN pre-install: unloaded bitmask-helper." >> $LOG
+echo `date` ":: RiseupVPN pre-install: ok." >> $LOG
exit 0
diff --git a/osx/scripts/se.leap.bitmask-helper.plist b/osx/scripts/se.leap.bitmask-helper.plist
index 8ebfb94..9af802b 100644
--- a/osx/scripts/se.leap.bitmask-helper.plist
+++ b/osx/scripts/se.leap.bitmask-helper.plist
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>WorkingDirectory</key>
- <string>/Applications/RiseupVPN.app/Contents/Resources/bitmask-helper/</string>
+ <string>/Applications/RiseupVPN.app/Contents/helper/</string>
<key>StandardOutPath</key>
<string>bitmask-helper.log</string>
<key>StandardErrorPath</key>
@@ -21,6 +21,6 @@
<key>Label</key>
<string>se.leap.BitmaskHelper</string>
<key>Program</key>
- <string>/Applications/RiseupVPN.app/Contents/Resources/bitmask-helper/bitmask-helper</string>
+ <string>/Applications/RiseupVPN.app/Contents/MacOS/bitmask-helper</string>
</dict>
</plist>