opus-nt/mods/[all]/-classic - incognito theme/modscript.py

6 lines
411 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
opusnt.runReg(["add",user + "\\Software\\Policies\\Microsoft\\Windows\\Personalization","/v","ThemeFile","/t","REG_SZ","/d","C:\\Windows\\Resources\\Ease of Access Themes\\Incognito.theme","/f"])
opusnt.runReg(["add",user + "\\Control Panel\\Appearance","/v","NewCurrent","/t","REG_SZ","/d","@themeui.dll,-854","/f"])