Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi committed Oct 25, 2024
1 parent d1ed753 commit 6a95d36
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ cp node_modules/clipboardy/fallbacks/windows/clipboard_x86_64.exe pkg/win/ezshar
cp node_modules/clipboardy/fallbacks/linux/xsel pkg/linux/ezshare/clipboard
#rm -r node_modules/clipboardy/fallbacks
yarn pkg -t node18-win-x64,node18-macos-arm64,node18-linux-x64 .
mv ezshare-win.exe pkg/win/ezshare/ezshare.exe
mv ezshare-linux pkg/linux/ezshare/ezshare
mv ezshare-macos pkg/macos/ezshare
(cd win && zip -r ../ezshare-win.zip ezshare)
(cd macos && zip ../ezshare-macos.zip ezshare)
(cd linux && zip -r ../ezshare-linux.zip ezshare)
mv ezshare-win-x64.exe pkg/win/ezshare/ezshare.exe
mv ezshare-linux-x64 pkg/linux/ezshare/ezshare
mv ezshare-macos-arm64 pkg/macos/ezshare
(cd pkg/win && zip -r ../../ezshare-win.zip ezshare)
(cd pkg/macos && zip ../../ezshare-macos.zip ezshare)
(cd pkg/linux && zip -r ../../ezshare-linux.zip ezshare)

0 comments on commit 6a95d36

Please sign in to comment.