feat: redesign the project structure

This commit is contained in:
ryan4yin
2023-05-26 19:25:44 +08:00
parent ab11958597
commit f971ec030d
124 changed files with 711 additions and 540 deletions

View File

@@ -26,8 +26,9 @@ os.chmod(NIX_DAEMON_PLIST, 0o444)
# reload the plist
for cmd in (
f"launchctl unload {NIX_DAEMON_NAME}",
f"launchctl load {NIX_DAEMON_NAME}",
f"launchctl unload {NIX_DAEMON_PLIST}",
f"launchctl load {NIX_DAEMON_PLIST}",
):
subprocess.run(shlex.split(cmd))
print(cmd)
subprocess.run(shlex.split(cmd), capture_output=False)