From a7f44c52f3737b9776e9eb766d15e70704f658b8 Mon Sep 17 00:00:00 2001 From: Sander Datema Date: Fri, 28 Jul 2023 08:00:07 +0200 Subject: [PATCH] Add copy/release script Signed-off-by: Sander Datema --- copy.sh | 11 +++++++++++ release.sh | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100755 copy.sh create mode 100755 release.sh diff --git a/copy.sh b/copy.sh new file mode 100755 index 0000000..d6d797d --- /dev/null +++ b/copy.sh @@ -0,0 +1,11 @@ +echo Copying X-KeyPad profile +cp "/Users/sander/X-Plane 12/Aircraft/ToLissA319_V1p8p1/X-KeyPad-SD_a319_StdDef.json" "./X-KeyPad/X-KeyPad-SD_a319_StdDef.json" +echo Copying to non-std version +cp "./X-KeyPad/X-KeyPad-SD_a319_StdDef.json" "./X-KeyPad/X-KeyPad-SD_a319.json" + +echo Zip Stream Deck Plus profile +rm ./Stream\ Deck/A319\ Flight\ Deck\ Plus.streamDeckProfile +7z a -tzip ./Stream\ Deck/A319\ Flight\ Deck\ Plus.streamDeckProfile ~/Library/Application\ Support/com.elgato.StreamDeck/ProfilesV2/C4F8C103-FD34-43C3-858A-AD82481D4E5C.sdProfile +echo Zip Stream Deck profile +rm ./Stream\ Deck/A319\ Flight\ Deck\ XL.streamDeckProfile +7z a -tzip ./Stream\ Deck/A319\ Flight\ Deck\ XL.streamDeckProfile ~/Library/Application\ Support/com.elgato.StreamDeck/ProfilesV2/1A1525C9-35CB-4FD9-ACB9-05E683BC5460.sdProfile diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..88276a4 --- /dev/null +++ b/release.sh @@ -0,0 +1,8 @@ +echo Create release +TARGET="ToLiss A319 v$1" +rm -rf "release/$TARGET" +mkdir -p "release/$TARGET" +cp -R ./Stream\ Deck "release/$TARGET/" +cp -R ./X-KeyPad "release/$TARGET/" +cp ./README.md "release/$TARGET/" +7z a -tzip "release/$TARGET.zip" "./release/$TARGET/*"