feat(oscar): add OSCAR database support

This commit is contained in:
t8y2 committed 2026-06-30 20:07:55 +08:00
1 parent d3272b4750
commit 25dcbeb7e4
33 files changed
+204 -19

No files matched your search

+3
View File
@@ -63,6 +63,7 @@ ${StrLoc}
!define UNINSTALLERSIGNCOMMAND "{{uninstaller_sign_cmd}}"
!define ESTIMATEDSIZE "{{estimated_size}}"
!define STARTMENUFOLDER "{{start_menu_folder}}"
!searchreplace WEBVIEW2LOADERSRCPATH "${MAINBINARYSRCPATH}" "\${MAINBINARYNAME}.exe" "\WebView2Loader.dll"
Var PassiveMode
Var UpdateMode
@@ -643,6 +644,7 @@ Section Install
; Copy main executable
File "${MAINBINARYSRCPATH}"
File /a "/oname=WebView2Loader.dll" "${WEBVIEW2LOADERSRCPATH}"
; Copy resources
{{#each resources_dirs}}
@@ -781,6 +783,7 @@ Section Uninstall
; Delete the app directory and its content from disk
; Copy main executable
Delete "$INSTDIR\${MAINBINARYNAME}.exe"
Delete "$INSTDIR\WebView2Loader.dll"
; Delete resources
{{#each resources}}