build script and github actions for rootful and rootless builds
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
launchctl load /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
if [ -L "/var/jb" ]; then
|
||||
launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
launchctl load /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
else
|
||||
launchctl unload /Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
launchctl load /Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
fi
|
||||
|
||||
exit 0;
|
||||
@@ -1,5 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
if [ -L "/var/jb" ]; then
|
||||
launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
else
|
||||
launchctl unload /Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
fi
|
||||
|
||||
exit 0;
|
||||
@@ -6,7 +6,7 @@
|
||||
<string>com.julioverne.screendumpd</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/var/jb/usr/libexec/screendumpd</string>
|
||||
<string>/usr/libexec/screendumpd</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>com.julioverne.screendumpd</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/var/jb/usr/libexec/screendumpd</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user