-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild-with-java.sh
More file actions
32 lines (27 loc) · 822 Bytes
/
build-with-java.sh
File metadata and controls
32 lines (27 loc) · 822 Bytes
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
26
27
28
29
30
31
32
#!/bin/bash
# Build Flint Launcher with bundled Java
# This script bundles Java files into the installer (optional but recommended)
echo ""
echo "=========================================="
echo "Flint Launcher - Build with Java Bundle"
echo "=========================================="
echo ""
echo "This will download and bundle Java (1-2GB)"
echo "Build time: 15-30 minutes"
echo ""
read -p "Press Enter to continue..."
echo "Bundling Java files..."
node src-tauri/bundle-java.js
if [ $? -ne 0 ]; then
echo "Java bundling failed, but continuing with build..."
else
echo "Java bundled successfully!"
fi
echo ""
echo "Building Tauri application..."
npm run tauri build
echo ""
echo "=========================================="
echo "Build complete!"
echo "=========================================="
echo ""