From 3a663b7b4b8f82740c58eadf003a0c7e3e08ec26 Mon Sep 17 00:00:00 2001 From: vg Date: Mon, 4 Mar 2024 22:15:28 +0100 Subject: git-sync on dita --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5b52062..141ac85 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ all: zipapp make -C pygame deploy - if [ -e ~/games/.saves ]; then cp ./gamechesttui ~/games/.saves/tools/bin/. ; elif [ -e ~/game-saves ]; then cp ./gamechesttui ~/game-saves/tools/bin/. ; fi + if [ -e ~/syncthing/gamesaves/ ]; then cp ./gamechesttui ~/syncthing/gamesaves/tools/bin/. ; elif [ -e ~/game-saves ]; then cp ./gamechesttui ~/game-saves/tools/bin/. ; fi static-fix: isort --order-by-type --atomic gamechestcli @@ -12,4 +12,4 @@ zipapp: rsync -Pa gamechestcli/. /tmp/gamechest.zipapp/. python3 -m zipapp -p "/usr/bin/env python3" /tmp/gamechest.zipapp rm -r /tmp/gamechest.zipapp - if [ -e ~/games/.saves ]; then mv /tmp/gamechest.pyz ~/games/.saves/tools/bin/. ; elif [ -e ~/game-saves ]; then mv /tmp/gamechest.pyz ~/game-saves/tools/bin/. ; fi + if [ -e ~/syncthing/gamesaves ]; then mv /tmp/gamechest.pyz ~/syncthing/gamesaves/tools/bin/. ; elif [ -e ~/game-saves ]; then mv /tmp/gamechest.pyz ~/game-saves/tools/bin/. ; fi -- cgit v1.2.3