From 726d22f096e3b7dd932ab0ae36cb4c4550f270fb Mon Sep 17 00:00:00 2001 From: The Ghost of FOSS' Future <163201376+sneedgroup-holder@users.noreply.github.com> Date: Tue, 3 Sep 2024 19:10:29 -0500 Subject: [PATCH] will it work? perhaps not --- sneedium-maker-mac.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sneedium-maker-mac.sh b/sneedium-maker-mac.sh index 3350844..bec0fbd 100644 --- a/sneedium-maker-mac.sh +++ b/sneedium-maker-mac.sh @@ -2,9 +2,12 @@ y=$(date +%y) read -p "Sneedium4Mac # of year $y (1,2,3,4...):" v npm run make-mac mkdir "Sneedium $y.$v" -mv sneedium-darwin-arm64 "Sneedium4Mac $y.$v" -mv sneedium-darwin-x64 "Sneedium4Mac $y.$v" +cp -r sneedium-darwin-arm64 "Sneedium4Mac $y.$v" +cp -r sneedium-darwin-x64 "Sneedium4Mac $y.$v" +rm -rf "Sneedium4Mac $y.$v/sneedium-darwin-arm64" +rm -rf "Sneedium4Mac $y.$v/sneedium-darwin-x64" tar -czvf "Sneedium4Mac $y.$v.tar.gz" "Sneedium4Mac $y.$v" rm -rf "Sneedium4Mac $y.$v" mkdir ~/sneedium-mac-bins -mv "Sneedium $y.$v.tar.gz" ~/sneedium-mac-bins +cp "Sneedium $y.$v.tar.gz" "~/sneedium-mac-bins" +rm "Sneedium $y.$v.tar.gz"