chore: add the file to project

This commit is contained in:
x-tools-author 2025-03-03 17:11:42 +08:00
parent fa365f22df
commit 9396c3f5b3

14
scripts/linux.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
# if build is exist, remove it
if [ -d "build" ]; then
rm -rf build
fi
git fetch --tags
mkdir build
cd build
cmake ../../ -DCMAKE_PREFIX_PATH='/home/user/Qt/6.8.2/gcc_64' -DCMAKE_BUILD_TYPE:STRING=Release -G "Ninja"
cmake --build . --target xTools
cmake --build . --target xTools_deb
cmake --build . --target xTools_appimage