opus-nt/mods/[all]/use utc time/modscript.py

4 lines
270 B
Python
Raw Normal View History

2022-04-18 22:16:07 +00:00
for key in opusnt.regQueryKeys(opusnt.regTmpPath + "system"):
if key.lower().startswith(opusnt.regTmpPath.lower() + "system\\controlset"):
opusnt.runReg(["add",key+ "\\Control\\TimeZoneInformation","/v","RealTimeIsUniversal","/t","REG_DWORD","/d","0x00000004","/f"])