Publish reviewed history-free open-source snapshot (2026-10-12)

This commit is contained in:
Zonghengjia Open Source
2026-10-11 23:23:20 +00:00
commit 901f27baf5
301 changed files with 32378 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
; Shared by the production installer and the strictly isolated acceptance driver.
; These macros never stop a client, change registration, or open a message box.
; $0 is a fail-closed result, including failure to create the helper process.
!macro ExtractAndVerifyPayload
InitPluginsDir
SetOutPath "$PLUGINSDIR\payload"
ClearErrors
File /r "${APP_SOURCE_DIR}\*.*"
${If} ${Errors}
StrCpy $0 30
${Else}
StrCpy $0 31
ClearErrors
ExecWait '"$PLUGINSDIR\payload\VPNPlus.exe" --installer-verify' $0
${If} ${Errors}
StrCpy $0 31
${EndIf}
${EndIf}
!macroend
!macro ApplyVerifiedPayload ARGUMENT
StrCpy $0 20
ClearErrors
ExecWait '"$PLUGINSDIR\payload\VPNPlus.exe" ${ARGUMENT} "$INSTDIR"' $0
${If} ${Errors}
StrCpy $0 20
${EndIf}
!macroend