Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf9ec35d

Browse files
Use PackageManager.get_app_list()
1 parent5691058 commitf9ec35d

File tree

1 file changed

+1
-3
lines changed
  • internal_filesystem/builtin/apps/com.micropythonos.launcher/assets

1 file changed

+1
-3
lines changed

‎internal_filesystem/builtin/apps/com.micropythonos.launcher/assets/launcher.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ def onResume(self, screen):
3737
iconcont_width=icon_size+label_height
3838
iconcont_height=icon_size+label_height
3939

40-
app_list=PackageManager.app_list
41-
4240
importtime
4341
start=time.ticks_ms()
4442

@@ -50,7 +48,7 @@ def onResume(self, screen):
5048
print("WARNING: could not get default focusgroup")
5149

5250
# Create UI for each app
53-
forappinapp_list:
51+
forappinPackageManager.get_app_list():
5452
app_name=app.name
5553
app_dir_fullpath=app.installed_path
5654
print(f"Adding app{app_name} from{app_dir_fullpath}")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp