Skip to content

Commit

Permalink
trying define
Browse files Browse the repository at this point in the history
  • Loading branch information
otociulis committed Nov 22, 2024
1 parent edba92b commit 7f1b5eb
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions scripts/installer.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,20 @@
!macroend

!macro customUnInstallCheck
MessageBox MB_OK "Hello"

!insertmacro customUnInstallCheckCommon
!macroend

!macro customUnInstallCheckCurrentUser
!insertmacro customUnInstallCheckCommon
!macroend

${UnStrStr}
${UnStrStr}


!macro customRemoveFiles
ClearErrors
Section uninstaller
ClearErrors
FileOpen $0 "$APPDATA\ComfyUI\extra_models_config.yaml" r
var /global line
FileRead $0 $line
Expand All @@ -45,10 +48,6 @@

FileClose $0
Delete "$APPDATA\ComfyUI\extra_models_config.yaml"
!macroend

Section uninstaller
${customRemoveFiles}
SectionEnd

Section "does not matter"
Expand Down

0 comments on commit 7f1b5eb

Please sign in to comment.