opus-nt/mods/[hell]/disable onedrive auto-install/modscript.py
2021-05-20 10:57:25 +02:00

5 lines
225 B
Python

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"])