mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
chore: update uno sample app with latest (#584)
* chore: update uno sample app with latest * Cleaning up UnoSample to use SampleHelper Updated the top level Directory.Build.targets to support samples with solutions and nested directories. Added build scripts. * Adding Uno sample to GHA * Remove framework bootstrap * Fixing mainExe name on non-windows --------- Co-authored-by: Kevin Bost <kitokeboo@gmail.com>
This commit is contained in:
18
samples/CSharpUno/build.bat
Normal file
18
samples/CSharpUno/build.bat
Normal file
@@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
if "%~1"=="" (
|
||||
echo Version number is required.
|
||||
echo Usage: build.bat [version]
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
set "version=%~1"
|
||||
|
||||
echo.
|
||||
echo Compiling CSharpUno with dotnet...
|
||||
dotnet publish -c Release --framework net9.0-desktop -o %~dp0UnoSample\publish UnoSample\UnoSample.csproj
|
||||
|
||||
echo.
|
||||
echo Building Velopack Release v%version%
|
||||
vpk pack -u CSharpUno -v %version% -o %~dp0UnoSample\releases -p %~dp0UnoSample\publish --mainExe UnoSample.exe
|
||||
Reference in New Issue
Block a user