mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-20 10:15:23 -04:00
Packaging tweaks
This commit is contained in:
parent
2ed311a818
commit
1e902f1d3b
5 changed files with 87 additions and 8 deletions
9
Scripts/postinstall
Executable file
9
Scripts/postinstall
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
identifier="com.ninxsoft.mist.helper"
|
||||
|
||||
launchctl bootstrap system "/Library/LaunchDaemons/$identifier.plist"
|
||||
|
||||
exit 0
|
11
Scripts/preinstall
Executable file
11
Scripts/preinstall
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
identifier="system/com.ninxsoft.mist.helper"
|
||||
|
||||
if launchtl print "system/$identifier" ; then
|
||||
launchctl bootout "system/$identifier"
|
||||
fi
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue