-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_installer.bat
More file actions
76 lines (64 loc) · 1.64 KB
/
build_installer.bat
File metadata and controls
76 lines (64 loc) · 1.64 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
@echo off
echo ============================================================
echo VoidLoop - Complete Installer Builder
echo ============================================================
echo.
echo Step 1: Building Windows Release...
echo.
flutter build windows --release
if %errorlevel% neq 0 (
echo.
echo ❌ Build failed!
pause
exit /b 1
)
echo.
echo ✅ Build successful!
echo.
echo Step 2: Creating Installer...
echo.
REM Check if Inno Setup is installed
set INNO_PATH="C:\Program Files (x86)\Inno Setup 6\ISCC.exe"
if not exist %INNO_PATH% (
set INNO_PATH="C:\Program Files\Inno Setup 6\ISCC.exe"
)
if not exist %INNO_PATH% (
echo ❌ Inno Setup not found!
echo.
echo Please install Inno Setup from:
echo https://jrsoftware.org/isdl.php
echo.
echo After installing, run this script again.
pause
exit /b 1
)
echo Found Inno Setup!
echo Compiling installer...
echo.
%INNO_PATH% installer.iss
if %errorlevel% neq 0 (
echo.
echo ❌ Installer creation failed!
pause
exit /b 1
)
echo.
echo ============================================================
echo ✅ SUCCESS! Installer created!
echo ============================================================
echo.
echo 📁 Location: installer_output\VoidLoop-Setup-1.0.0.exe
echo.
echo You can now:
echo 1. Test the installer on your PC
echo 2. Share it with others
echo 3. Upload to your website
echo.
echo Users just download and run the installer!
echo ============================================================
echo.
set /p OPEN="Would you like to open the installer folder? (Y/N): "
if /i "%OPEN%"=="Y" (
explorer installer_output
)
pause