killing QOwnNotes.exe when updating in Windows

This commit is contained in:
Patrizio Bekerle 2017-10-05 17:27:09 +02:00
parent 70db243aa0
commit 6cddd38a6c
No known key found for this signature in database
GPG key ID: 2E9FFD770DABE838
2 changed files with 10 additions and 0 deletions

View file

@ -3,6 +3,9 @@
## 17.10.2
- fixed that the automatic closing of brackets is only allowed if the cursor was
at the end of a block (was removed by a pull request)
- the `updater.bat` in Windows now kills the `QOwnNotes.exe` process when the
application is updated because it doesn't seem to end in portable mode
(for issue [Issue #376](https://github.com/pbek/QOwnNotes/issues/376))
## 17.10.1
- the automatic update dialog will now also be disable per default for

View file

@ -10,6 +10,13 @@ set portable=%4
set unzipCommand=%unzipExecutable% -o %source% -d %destination%
set qownnotesCommand=%destination%\QOwnNotes.exe --after-update %0 %portable%
rem wait two seconds to kill QOwnNotes.exe
timeout 2
rem killing the QOwnNotes process because it doesn't seem to be killed in
rem portable mode
taskkill /IM QOwnNotes.exe
echo %0 %*
echo ======================================
echo Updating QOwnNotes in folder: