You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Refresh app list after formatting internal data storage
This commit is contained in:
@@ -323,7 +323,8 @@ class SettingActivity(Activity):
|
||||
fs = vfs.VfsFat(bdev)
|
||||
print(f"Mounting {fs} at /")
|
||||
vfs.mount(fs, "/")
|
||||
print("Done formatting, returning...")
|
||||
print("Done formatting, refreshing apps...")
|
||||
PackageManager.refresh_apps()
|
||||
self.finish() # would be nice to show a "FormatInternalDataPartition" activity
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user