opus-nt/mods/[all]/userSetup/modscript.py

5 lines
260 B
Python
Raw Normal View History

2021-03-19 02:44:27 +00:00
for reg in regs:
if not reg.startswith("user-"): continue
user = opusnt.regTmpPath + reg
2021-08-12 21:42:34 +00:00
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"])