feat: remove app2unit

This commit is contained in:
2 * r + 2 * t
2026-06-20 14:28:03 +10:00
parent 0518ca0131
commit 9cae22e790
4 changed files with 8 additions and 10 deletions
+2 -2
View File
@@ -120,7 +120,7 @@ class Command:
)
if action == "watch":
subprocess.Popen(["app2unit", "-O", new_path], start_new_session=True)
subprocess.Popen(["xdg-open", new_path], start_new_session=True)
elif action == "open":
p = subprocess.run(
[
@@ -135,6 +135,6 @@ class Command:
]
)
if p.returncode != 0:
subprocess.Popen(["app2unit", "-O", new_path.parent], start_new_session=True)
subprocess.Popen(["xdg-open", new_path.parent], start_new_session=True)
elif action == "delete":
new_path.unlink()