chore: snapshot production code before Apple Design UI refinement

This commit is contained in:
lingniu
2026-09-17 18:05:57 +08:00
parent 9f0a87f49e
commit f7e7176f88
90 changed files with 8990 additions and 328 deletions
@@ -0,0 +1,7 @@
"""Run a specified maintenance binary without exposing environment credentials."""
import os,pathlib,subprocess,sys
for name in ['base.env','stat-writer.env']:
for line in pathlib.Path('/opt/lingniu-go-native/env/'+name).read_text().splitlines():
if '=' in line and not line.startswith('#'):
k,v=line.split('=',1);os.environ[k]=v.strip().strip(chr(34)).strip(chr(39))
sys.exit(subprocess.call(sys.argv[1:]))