Limits quitting other AltStore processes to database migrations only

Previously, AltStore would quit all other processes when first accessing the database no matter what. However, this unintentionally caused the widget extension to quit the main app after refreshing apps.

Now, we only quit other AltStore processes if a database migration is required. This still prevents multiple AltStores with different database schemas from accessing database concurrently, but also allows extensions to access database without quitting main app.
This commit is contained in:
Riley Testut
2022-11-07 15:26:04 -06:00
parent a4078159ac
commit 266ac1ee50
2 changed files with 15 additions and 12 deletions