Skip to content

Commit

Permalink
windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Feb 10, 2025
1 parent 7e389a4 commit 0ba1b7c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions app/desktop/build_desktop_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,17 @@ echo "<html><body><h1>Kiln Studio</h1></body></html>" > web_ui/build/index.html
# We clone pyinstaller, build the bootloader, and install it into the pyproject desktop pyproject.
if [[ $* == *--build-bootloader* ]]; then
echo "Building pyinstaller inlucding bootloader"
which pyinstaller
pyinstaller --version

mkdir -p desktop/build/bootloader
curl -L https://github.com/pyinstaller/pyinstaller/archive/refs/tags/v6.11.1.zip -o pyinstaller.zip
unzip -q pyinstaller.zip
curl -L https://github.com/pyinstaller/pyinstaller/archive/refs/tags/v6.11.1.tar.gz -o pyinstaller.tar.gz
tar -xzf pyinstaller.tar.gz
mv pyinstaller-6.11.1 pyinstaller
cd pyinstaller/bootloader
python ./waf all

# install the pyinstaller we just built into the desktop pyproject
cd $APP_DIR/desktop
echo "PWD: $PWD"
uv add build/bootloader/pyinstaller
echo "which pyinstaller"
which pyinstaller
pyinstaller --version

# return to the /app directory of the project
cd $APP_DIR
Expand Down

0 comments on commit 0ba1b7c

Please sign in to comment.