diff --git a/launchd/Library/LaunchAgents/witchcraft.plist b/launchd/Library/LaunchAgents/witchcraft.plist new file mode 100644 index 0000000..e9c0c1e --- /dev/null +++ b/launchd/Library/LaunchAgents/witchcraft.plist @@ -0,0 +1,16 @@ + + + + + Label + local.jdormit.witchcraft + ProgramArguments + + sh + -c + /usr/bin/python3 -m http.server -d ~/witchcraft-scripts 5743 + + KeepAlive + + + diff --git a/witchcraft/witchcraft-scripts/_global.js b/witchcraft/witchcraft-scripts/_global.js new file mode 100644 index 0000000..799c27b --- /dev/null +++ b/witchcraft/witchcraft-scripts/_global.js @@ -0,0 +1 @@ +console.log("Witchcraft loaded!");