feat(installer): the virtual monitor's driver comes with the app

The driver component is on by default, so installing Jarvis installs the
driver too (Windows asks the SignPath question once). A silent install, which
is how updates run, never touches the driver: no question during an update and
no driver brought back after the person removed it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
javis-bot
2026-11-14 23:59:38 +09:00
parent 7e51ebd0ba
commit 61d9c06a6b
3 changed files with 14 additions and 7 deletions

View File

@@ -229,9 +229,14 @@ Section /o "바탕 화면 바로 가기" SecDesktop
CreateShortCut "$DESKTOP\Jarvis.lnk" "$INSTDIR\jarvis.exe"
SectionEnd
Section /o "가상 모니터 드라이버" SecDriver
Section "가상 모니터 드라이버" SecDriver
; The app's own elevated half (admin.spec.md, "Virtual monitor"); Windows asks once whether to
; trust the SignPath Foundation. It can also be installed later from the features screen.
; trust the SignPath Foundation. It can also be installed later from the features screen. Not in
; a silent install (the app's updates): an update never asks Windows' question and never brings
; back a driver the person removed.
${If} ${Silent}
Return
${EndIf}
ExecWait '"$INSTDIR\jarvis.exe" --display-driver install --result "$PLUGINSDIR\vdd.txt"' $0
${If} $0 != 0
FileOpen $1 "$PLUGINSDIR\vdd.txt" r