delete app and runtime directory when updating

This commit is contained in:
idk
2022-07-12 00:05:40 -04:00
parent 0650941d98
commit 044514ddad

View File

@ -237,6 +237,8 @@ ${If} ${Silent}
${If} ${Silent}
ReadEnvStr $0 OLD_I2P_VERSION
${If} $0 < ${I2P_VERSION}
rmDir /r $I2PINSTEXE/app
rmDir /r $I2PINSTEXE/runtime
File /nonfatal /a /r "I2P\"
File /nonfatal "I2P\config\jpackaged"