sneedium/sneedium-maker-mac.sh
The Ghost of FOSS' Future 010e954d7d
Hotfix for the maker
2024-09-03 18:54:32 -05:00

10 lines
352 B
Bash

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"
tar -czvf "Sneedium4Mac $y.$v.tar.gz" "Sneedium4Mac $y.$v"
rm -rf "Sneedium $y.$v"
mkdir ~/sneedium-mac-bins
mv "Sneedium $y.$v.tar.gz" ~/sneedium-mac-bins