This commit is contained in:
2026-06-08 13:21:47 -05:00
parent 601c0b5cc5
commit eb2d9ab61a
7 changed files with 38 additions and 30 deletions
+13
View File
@@ -0,0 +1,13 @@
# probably shouldnt mess with this!
# boot depends on it and if u break it u get no safe mode.
from pathlib import Path
import os
Vpn_cache = Path("/tmp/vpn_country.cache")
Media_flag = Path("/tmp/media_active")
def get_base():
return os.environ.get("BASE_SWAY")
def rand12():
return base64.urlsafe_b64encode(os.urandom(9)).decode()[:12]