forked from WangGithubUser/FastGitHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pack.sh
25 lines (20 loc) · 779 Bytes
/
pack.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /bin/bash
cd ./publish
# win-x64
zip -r fastgithub_win-x64.zip fastgithub_win-x64
# linux-x64
chmod 777 ./fastgithub_linux-x64/fastgithub
chmod 777 ./fastgithub_linux-x64/dnscrypt-proxy/dnscrypt-proxy
zip -r fastgithub_linux-x64.zip fastgithub_linux-x64
# linux-arm64
chmod 777 ./fastgithub_linux-arm64/fastgithub
chmod 777 ./fastgithub_linux-arm64/dnscrypt-proxy/dnscrypt-proxy
zip -r fastgithub_linux-arm64.zip fastgithub_linux-arm64
# osx-x64
chmod 777 ./fastgithub_osx-x64/fastgithub
chmod 777 ./fastgithub_osx-x64/dnscrypt-proxy/dnscrypt-proxy
zip -r fastgithub_osx-x64.zip fastgithub_osx-x64
# osx-arm64
chmod 777 ./fastgithub_osx-arm64/fastgithub
chmod 777 ./fastgithub_osx-arm64/dnscrypt-proxy/dnscrypt-proxy
zip -r fastgithub_osx-arm64.zip fastgithub_osx-arm64