refactor build
This commit is contained in:
parent
15c0320faa
commit
7e1924bab4
@ -1,22 +1,22 @@
|
|||||||
echo What is build number && \
|
echo What is build number && \
|
||||||
read buildNum && \
|
read buildNum && \
|
||||||
pkg package.json && \
|
pkg package.json && \
|
||||||
mv miwatchkleaner2-* ./release && \
|
mv miwatchkleaner-* ./release && \
|
||||||
mv ./release/miwatchkleaner2-win-* ./release/Windows && \
|
mv ./release/miwatchkleaner-win-* ./release/Windows && \
|
||||||
mv ./release/miwatchkleaner2-linux-* ./release/Linux && \
|
mv ./release/miwatchkleaner-linux-* ./release/Linux && \
|
||||||
mv ./release/miwatchkleaner2-macos-* ./release/MacOs && \
|
mv ./release/miwatchkleaner-macos-* ./release/MacOs && \
|
||||||
cp ./data/xiaomiPackageRemovalList.json ./release/Windows/data/ && \
|
cp ./data/xiaomiPackageRemovalList.json ./release/Windows/data/ && \
|
||||||
cp ./data/xiaomiPackageRemovalList.json ./release/MacOS/data/ && \
|
cp ./data/xiaomiPackageRemovalList.json ./release/MacOS/data/ && \
|
||||||
cp ./data/xiaomiPackageRemovalList.json ./release/Linux/data/ && \
|
cp ./data/xiaomiPackageRemovalList.json ./release/Linux/data/ && \
|
||||||
chmod 0777 ./release/**/adb && \
|
chmod 0777 ./release/**/adb && \
|
||||||
chmod 0777 ./release/**/miwatchkleaner2-* && \
|
chmod 0777 ./release/**/miwatchkleaner-* && \
|
||||||
chmod +x ./release/**/adb && \
|
chmod +x ./release/**/adb && \
|
||||||
chmod +x ./release/**/miwatchkleaner2-* && \
|
chmod +x ./release/**/miwatchkleaner-* && \
|
||||||
cd release/MacOS/ && \
|
cd release/MacOS/ && \
|
||||||
tar -pcvzf miwatchkleaner.$buildNum-macos.tar.gz adb data/ miwatchkleaner2-macos-x64 && \
|
tar -pcvzf miwatchkleaner.$buildNum-macos.tar.gz adb data/ miwatchkleaner-macos-x64 && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
cd Linux/ && \
|
cd Linux/ && \
|
||||||
tar -pcvzf miwatchkleaner.$buildNum-Linux.tar.gz adb data/ miwatchkleaner2-linux-x64 && \
|
tar -pcvzf miwatchkleaner.$buildNum-Linux.tar.gz adb data/ miwatchkleaner-linux-x64 && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
cd Windows/ && \
|
cd Windows/ && \
|
||||||
zip -r miwatchkleaner.$buildNum-win.zip adb.exe AdbWinApi.dll AdbWinUsbApi.dll data/ miwatchkleaner2-win-x86.exe
|
zip -r miwatchkleaner.$buildNum-win.zip adb.exe AdbWinApi.dll AdbWinUsbApi.dll data/ miwatchkleaner-win-x86.exe
|
@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"wifi": "X",
|
|
||||||
"ipAddress":""
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user