Packing for windows and linux
This commit is contained in:
+18
@@ -19,4 +19,22 @@ cp -r ../linux/config .
|
|||||||
cd ..
|
cd ..
|
||||||
zip -r linux-release.zip linux-release
|
zip -r linux-release.zip linux-release
|
||||||
|
|
||||||
|
# Build for windows
|
||||||
|
mkdir windows
|
||||||
|
cd windows
|
||||||
|
cmake -DCMAKE_TOOLCHAIN_FILE=~/TC-mingw.cmake -GNinja ../..
|
||||||
|
ninja
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# Windows release
|
||||||
|
rm -r windows-release
|
||||||
|
mkdir windows-release
|
||||||
|
cd windows-release
|
||||||
|
cp ../windows/YTMusicDL26.exe .
|
||||||
|
mkdir bin
|
||||||
|
cp -r ../windows/bin/windows bin/
|
||||||
|
cp -r ../windows/config .
|
||||||
|
cd ..
|
||||||
|
zip -r windows-release.zip windows-release
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
Reference in New Issue
Block a user