Add pre/postinstall scripts for the menu bar.
This commit is contained in:
@@ -1668,9 +1668,19 @@
|
||||
<key>PACKAGE_SCRIPTS</key>
|
||||
<dict>
|
||||
<key>POSTINSTALL_PATH</key>
|
||||
<dict/>
|
||||
<dict>
|
||||
<key>PATH</key>
|
||||
<string>/Users/j/OpenDNS/DNSCrypt/OSX/dnscrypt-osx-client/DNSCrypt-OSX-Installer/Scripts/dnscrypt-menubar-postinstall.sh</string>
|
||||
<key>PATH_TYPE</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<key>PREINSTALL_PATH</key>
|
||||
<dict/>
|
||||
<dict>
|
||||
<key>PATH</key>
|
||||
<string>/Users/j/OpenDNS/DNSCrypt/OSX/dnscrypt-osx-client/DNSCrypt-OSX-Installer/Scripts/dnscrypt-menubar-preinstall.sh</string>
|
||||
<key>PATH_TYPE</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<key>RESOURCES</key>
|
||||
<array/>
|
||||
</dict>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#! /bin/sh
|
||||
|
||||
exec 2>/dev/null
|
||||
|
||||
/bin/launchctl load -D local -S Aqua
|
||||
/bin/launchctl start com.opendns.osx.DNSCryptMenuBar
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,8 @@
|
||||
#! /bin/sh
|
||||
|
||||
exec 2>/dev/null
|
||||
|
||||
/bin/launchctl stop com.opendns.osx.DNSCryptMenuBar
|
||||
/bin/launchctl remove com.opendns.osx.DNSCryptMenuBar
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user