opus-nt/mods/[hell]/disable onedrive auto-install/modscript.py

5 lines
225 B
Python
Raw Normal View History

2021-05-19 21:43:31 +00:00
for reg in regs:
if not reg.startswith("user-"): continue
user = opusnt.regTmpPath + reg
opusnt.runReg(["add",user + "\\Software\\Microsoft\\Windows\\CurrentVersion\\Run","/v","OneDriveSetup","/t","REG_SZ","/d"," ","/f"])