Skip to content

Commit 345c25f

Browse files
author
BuildOne Robotics
committed
Added Windows installer script, fixed build
1 parent 4d97a0c commit 345c25f

File tree

3 files changed

+39
-3
lines changed

3 files changed

+39
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
bin/
22
obj/
33
release/
4+
installer/
45
*.user
56
.vs/

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22

33
Planning and Design Application for Windows with CAD Design, Planning, and Project Management.
44

5-
## Building Release
5+
## Building Windows Installer
66

7-
1. Run `build-release.bat`
8-
2. BluePrintOne.exe will be in `release/` folder
7+
1. Run `create-installer.bat`
8+
2. BluePrintOne.exe will be in `installer/` folder
9+
3. This is a portable app - no installation needed
10+
11+
## Running the App
12+
13+
1. Double-click `BluePrintOne.exe`
14+
2. Or run `RUN.bat` to build and run
915

1016
## Creating a Release
1117

create-installer.bat

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
@echo off
2+
echo Building BluePrintOne Windows Installer...
3+
echo.
4+
5+
REM Build the application
6+
dotnet publish -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true
7+
8+
if not exist "bin\Release\net8.0-windows\win-x64\publish\BluePrintOne.exe" (
9+
echo Build failed!
10+
pause
11+
exit /b 1
12+
)
13+
14+
REM Create installer directory
15+
if not exist "installer" mkdir installer
16+
17+
REM Copy exe to installer folder
18+
copy /Y "bin\Release\net8.0-windows\win-x64\publish\BluePrintOne.exe" "installer\BluePrintOne.exe"
19+
20+
echo.
21+
echo ========================================
22+
echo BluePrintOne.exe created successfully!
23+
echo Location: installer\BluePrintOne.exe
24+
echo ========================================
25+
echo.
26+
echo This is a portable Windows application.
27+
echo No installation needed - just run BluePrintOne.exe
28+
echo.
29+
pause

0 commit comments

Comments
 (0)