mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
Build as Self Contained and Selfhost CefSharp SubProcess (#693)
* Added self contained parameter to builds * Remove dotnet install from installer * Fixed missing SubProcessExe * Self hot browser subprocess --------- Co-authored-by: Natsumi <cmcooper123@hotmail.com>
This commit is contained in:
@@ -118,20 +118,6 @@ Function .onInit
|
||||
done:
|
||||
FunctionEnd
|
||||
|
||||
Function CheckAndInstallDotNet
|
||||
nsExec::ExecToStack /OEM 'cmd /c dir "%windir%\system32" | dotnet --list-runtimes | find /c /i "Microsoft.NETCore.App 8"'
|
||||
Pop $0
|
||||
Pop $1
|
||||
StrCpy $2 $1 1
|
||||
StrCmp $2 "1" 0 version_not_found
|
||||
goto version_found
|
||||
version_not_found:
|
||||
inetc::get "https://aka.ms/dotnet/8.0/windowsdesktop-runtime-win-x64.exe" $TEMP\dotnet-runtime-win-x64.exe
|
||||
ExecWait "$TEMP\dotnet-runtime-win-x64.exe /install /quiet /norestart"
|
||||
Delete "$TEMP\dotnet-runtime-win-x64.exe"
|
||||
version_found:
|
||||
FunctionEnd
|
||||
|
||||
Function createDesktopShortcut
|
||||
CreateShortcut "$DESKTOP\VRCX.lnk" "$INSTDIR\VRCX.exe"
|
||||
FunctionEnd
|
||||
@@ -164,8 +150,6 @@ Section "Install" SecInstall
|
||||
Delete "$TEMP\vcredist_x64.exe"
|
||||
VSRedistInstalled:
|
||||
|
||||
Call CheckAndInstallDotNet
|
||||
|
||||
SetOutPath "$INSTDIR"
|
||||
|
||||
File /r /x *.log /x *.pdb "..\bin\x64\Release\*.*"
|
||||
|
||||
Reference in New Issue
Block a user