mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
Make sync folder hidden (for real now)
This commit is contained in:
parent
d8412089bb
commit
d1ca14424a
|
@ -267,7 +267,7 @@ alt_command_list={
|
||||||
}
|
}
|
||||||
|
|
||||||
def create_shortcut_new(games,rdhome):
|
def create_shortcut_new(games,rdhome):
|
||||||
old_games=os.listdir(rdhome+"/sync/")
|
old_games=os.listdir(rdhome+"/.sync/")
|
||||||
|
|
||||||
for game in games:
|
for game in games:
|
||||||
try:
|
try:
|
||||||
|
@ -276,7 +276,7 @@ def create_shortcut_new(games,rdhome):
|
||||||
except ValueError:
|
except ValueError:
|
||||||
print(game[0]+" is a new game!")
|
print(game[0]+" is a new game!")
|
||||||
|
|
||||||
path=rdhome+"/sync/"+game[0]
|
path=rdhome+"/.sync/"+game[0]
|
||||||
print("Go to path: "+path)
|
print("Go to path: "+path)
|
||||||
if not os.path.exists(path):
|
if not os.path.exists(path):
|
||||||
os.makedirs(path)
|
os.makedirs(path)
|
||||||
|
@ -318,7 +318,7 @@ def create_shortcut_new(games,rdhome):
|
||||||
print(old_games)
|
print(old_games)
|
||||||
for game in old_games:
|
for game in old_games:
|
||||||
if game:
|
if game:
|
||||||
shutil.rmtree(rdhome+"/sync/"+game)
|
shutil.rmtree(rdhome+"/.sync/"+game)
|
||||||
|
|
||||||
os.system("boilr --no-ui")
|
os.system("boilr --no-ui")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue