deep-wine-runner/deb/opt/apps/deepin-wine-runner/AutoShell/command/demo.py
2022-10-24 22:11:03 +08:00

6 lines
270 B
Python

import os
for i in os.listdir():
with open(i, "r") as file:
things = file.read().replace("sys.exit(int(ConfigLanguareRunner.programEnv[9][1]))", "sys.exit(int(ConfigLanguareRunner.programEnv[9][1]))")
with open(i, "w") as file:
file.write(things)