mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-14 15:37:26 +00:00
Make sure app relaunching works after upgrade
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user