opus-nt/mods/[all]/disable file open warnings/modscript.py
2022-01-21 09:32:39 +01:00

5 lines
252 B
Python

for reg in regs:
if not reg.startswith("user-"): continue
user = opusnt.regTmpPath + reg
opusnt.runReg(["add",user + "\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Attachments","/v","SaveZoneInformation","/t","REG_DWORD","/d","1","/f"])