Skip to content

Commit

Permalink
Update desktop-build.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
zlatnaspirala committed Feb 17, 2025
1 parent 88475ae commit 9316ce2
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions desktop-build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,17 @@ echo %mypath:~0,-1%
set PROJECT=%mypath%multiplatform\win\cef-sharp
echo "Check packages..."
call cd %PROJECT%
echo Download latest Nuget.exe
REM Standard win tool bitsadmin.exe https://www.nuget.org/downloads
call bitsadmin.exe /transfer "GetNuget" https://dist.nuget.org/win-x86-commandline/latest/nuget.exe %PROJECT%\nuget.exe
echo "nuget restore, please wait..."
echo %PROJECT%
@REM Standard win tool bitsadmin.exe https://www.nuget.org/downloads
@REM call bitsadmin.exe /transfer "nuget" https://dist.nuget.org/win-x86-commandline/latest/nuget.exe %PROJECT%\nuget.exe
call curl -k https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -o nuget.exe
@REM call bitsadmin /create myDownloadJob
@REM call bitsadmin /addfile myDownloadJob https://dist.nuget.org/win-x86-commandline/latest/nuget.exe %PROJECT%\nuget.exe
@REM call bitsadmin /resume myDownloadJob
@REM call bitsadmin /info myDownloadJob /verbose
@REM call bitsadmin /complete myDownloadJob
@REM call bitsadmin.exe /transfer myDownloadJob /download /priority normal https://dist.nuget.org/win-x86-commandline/latest/nuget.exe nuget.exe

call nuget restore
call "%msBuildDir%\msbuild.exe" "%mypath%\multiplatform\win\cef-sharp\matrix-engine.sln" /p:Configuration=Release

Expand Down

0 comments on commit 9316ce2

Please sign in to comment.