mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Move the new CleanFiles Python script to Tools/
So it won't be shipped to users. Also, fix it up so that it finds the ini files regardless of where it is.
This commit is contained in:
parent
e5f4586356
commit
b4ebeb05ff
@ -96,7 +96,9 @@ def normalize_ini_file(in_, out):
|
|||||||
out.write('\n')
|
out.write('\n')
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
for name in glob.glob("??????.ini"):
|
base_path = os.path.dirname(__file__)
|
||||||
|
pattern = os.path.join(base_path, "../Data/User/GameConfig/??????.ini")
|
||||||
|
for name in glob.glob(pattern):
|
||||||
in__name = name
|
in__name = name
|
||||||
out_name = name + '.new'
|
out_name = name + '.new'
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user