Dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

43 lines
994 B

#!/usr/bin/env python3
#pylint:disable=no-member
from pathlib import Path
from steamsync import SteamSync, SyncOp
# Find home
steamns_home = Path("~/.local/steam/home/taeyeon/").expanduser()
if steamns_home.exists():
home = steamns_home
else:
home = Path("~").expanduser()
sync = SteamSync(Path("~/Nextcloud/Misc/Savegames").expanduser())
@sync.by_name("zanzarah")
def zanzarah(op):
with op.game_directory.prefix("Save") as set:
set += "*.dat"
if set.show_confirm():
set.execute()
#@sync.by_id(787860)
def fs19(op):
with op.my_documents.prefix("My Games/FarmingSimulator2019") as set:
set.add(
"music/streamingInternetRadios.xml",
"savegame[1-9]",
"savegame[1-2][0-9]"
"VERSION",
)
set.execute()
#@sync.by_name("Fell Seal")
def fell_seal(op):
with op.from_(home).prefix("Fell Seal") as set:
set += "saves"
set += "customdata"
set.execute()