opus-nt/mods/[all]/userSetup/modscript.py
2021-08-12 23:42:34 +02:00

5 lines
260 B
Python

for reg in regs:
if not reg.startswith("user-"): continue
user = opusnt.regTmpPath + reg
opusnt.runReg(["add",user + "\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce","/v","opus-nt","/t","REG_SZ","/d","cmd /c call C:\\opus-nt\\userSetup.cmd","/f"])