opus-nt/mods/[all]/disable file open warnings/modscript.py

5 lines
252 B
Python
Raw Normal View History

2022-01-21 08:32:39 +00:00
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"])