@albeorla/launchd-kit 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/launchd-install +1 -1
- package/bin/launchd-reload +1 -1
- package/package.json +4 -1
package/bin/launchd-install
CHANGED
|
@@ -19,7 +19,7 @@ mkdir -p "$install_dir"
|
|
|
19
19
|
count=0
|
|
20
20
|
for plist in "${plists[@]}"; do
|
|
21
21
|
name=$(basename "$plist")
|
|
22
|
-
|
|
22
|
+
cp -f "$(pwd)/$plist" "$install_dir/$name"
|
|
23
23
|
launchctl bootstrap gui/"$uid" "$install_dir/$name" 2>/dev/null || true
|
|
24
24
|
count=$((count + 1))
|
|
25
25
|
done
|
package/bin/launchd-reload
CHANGED
|
@@ -18,7 +18,7 @@ for plist in "${plists[@]}"; do
|
|
|
18
18
|
name=$(basename "$plist")
|
|
19
19
|
label="${name%.plist}"
|
|
20
20
|
launchctl bootout gui/"$uid"/"$label" 2>/dev/null || true
|
|
21
|
-
|
|
21
|
+
cp -f "$(pwd)/$plist" "$install_dir/$name"
|
|
22
22
|
launchctl bootstrap gui/"$uid" "$install_dir/$name" 2>/dev/null || true
|
|
23
23
|
done
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@albeorla/launchd-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Shared tooling for managing macOS LaunchAgents",
|
|
5
5
|
"bin": {
|
|
6
6
|
"launchd-install": "bin/launchd-install",
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
"launchd-status": "bin/launchd-status",
|
|
14
14
|
"launchd-uninstall": "bin/launchd-uninstall"
|
|
15
15
|
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"postpublish": "./scripts/propagate.sh"
|
|
18
|
+
},
|
|
16
19
|
"files": ["bin", "templates", "plist-monitor", "plist-status.py"],
|
|
17
20
|
"publishConfig": { "access": "public" },
|
|
18
21
|
"license": "ISC"
|