chore: release v0.3.7

This commit is contained in:
thePR0M3TH3AN committed 2026-03-19 16:36:46 -04:00
1 parent 4e49762a85
commit 44cf452f67
5 files changed
+29 -4

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import sys
from pathlib import Path
__version__ = "0.3.6"
__version__ = "0.3.7"
# Add the vendor directory to sys.path ONLY for PyInstaller (frozen) builds.
# For pip/pipx installs the system/venv packages are correct and the vendored
+26 -2
View File
@@ -124,14 +124,38 @@ Persistent=true
["systemctl", "--user", "disable", "--now", "voxvera.service"],
["systemctl", "--user", "enable", "--now", "voxvera-start.timer"],
["systemctl", "--user", "start", "voxvera-start.service"],
["loginctl", "enable-linger", os.environ.get("USER", "")],
]
for command in commands:
try:
subprocess.run(command, check=False, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
subprocess.run(
command,
check=False,
stdin=subprocess.DEVNULL,
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
timeout=10,
)
except Exception:
pass
linger_output = ""
try:
result = subprocess.run(
["loginctl", "show-user", os.environ.get("USER", ""), "--property=Linger", "--value"],
check=False,
stdin=subprocess.DEVNULL,
stdout=subprocess.PIPE,
stderr=subprocess.DEVNULL,
text=True,
timeout=5,
)
linger_output = (result.stdout or "").strip()
if linger_output == "no":
print("Note: user linger is not enabled. The recovery timer will run while you are logged in.")
print(" To enable boot-time user services, run: sudo loginctl enable-linger $USER")
except Exception:
pass
print(f"Systemd user service installed: {self.service_path}")
print(f"Systemd user timer installed: {self.timer_path}")
print("Sites will be retried automatically after boot and every few minutes.")