Add witchcraft script injector
This commit is contained in:
parent
f3c529781c
commit
b13cc823f5
16
launchd/Library/LaunchAgents/witchcraft.plist
Normal file
16
launchd/Library/LaunchAgents/witchcraft.plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Applice//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>local.jdormit.witchcraft</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>sh</string>
|
||||
<string>-c</string>
|
||||
<string>/usr/bin/python3 -m http.server -d ~/witchcraft-scripts 5743</string>
|
||||
</array>
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
1
witchcraft/witchcraft-scripts/_global.js
Normal file
1
witchcraft/witchcraft-scripts/_global.js
Normal file
@ -0,0 +1 @@
|
||||
console.log("Witchcraft loaded!");
|
Loading…
Reference in New Issue
Block a user