Skip to content

Commit

Permalink
fix: attempt to fix "old version dir is empty"
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Oct 31, 2016
1 parent ba1cd4b commit 5c7c4ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/nsis/uninstaller.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Section "un.install"
!endif

# delete the installed files
RMDir /r $INSTDIR
RMDir /r /REBOOTOK $INSTDIR

ClearErrors
${GetParameters} $R0
Expand Down
5 changes: 4 additions & 1 deletion test/src/nsisUpdaterTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ const g = (<any>global)
g.__test_app = {
getVersion: function () {
return "0.0.1"
}
},

on: function () {
},
}

test("check updates - no versions at all", async (t) => {
Expand Down

0 comments on commit 5c7c4ac

Please sign in to comment.