Commit 59106e4f authored by topjohnwu's avatar topjohnwu

Make sure app relaunching works after upgrade

parent d76c266f
......@@ -45,6 +45,7 @@ private suspend fun DownloadService.upgrade(apk: File, id: Int) {
patch(apk, id)
} else {
// Simply relaunch the app
stopSelf()
relaunchApp(this)
}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment