Skip to content

Commit a8e7e52

Browse files
Fix wificonf
1 parent 6b082e6 commit a8e7e52

File tree

5 files changed

+358
-303
lines changed

5 files changed

+358
-303
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def onCreate(self):
2424
main_screen.set_style_radius(0, 0)
2525
main_screen.set_pos(0, mpos.ui.NOTIFICATION_BAR_HEIGHT) # leave some margin for the notification bar
2626
main_screen.set_size(lv.pct(100), lv.pct(100))
27-
main_screen.set_style_pad_all(10, 0)
27+
main_screen.set_style_pad_hor(5, 0)
28+
main_screen.set_style_pad_ver(mpos.ui.NOTIFICATION_BAR_HEIGHT, 0)
2829
main_screen.set_flex_flow(lv.FLEX_FLOW.ROW_WRAP)
2930
self.setContentView(main_screen)
3031

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
{
22
"name": "WiFi",
3-
"publisher": "ACME Inc",
4-
"short_description": "Wireless Network Configuration",
5-
"long_description": "",
6-
"icon_url": "http://demo.lnpiggy.com:2121/apps/com.example.wificonf_0.0.2.mpk_icon_64x64.png",
7-
"download_url": "http://demo.lnpiggy.com:2121/apps/com.example.wificonf_0.0.2.mpk",
8-
"fullname": "com.example.wificonf",
9-
"version": "0.0.2",
10-
"entrypoint": "assets/wificonf.py",
11-
"category": "wificonf"
3+
"publisher": "MicroPythonOS",
4+
"short_description": "WiFi Network Configuration",
5+
"long_description": "Scans for wireless networks, shows a list of SSIDs, allows for password entry, and connecting.",
6+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.wificonf/icons/com.micropythonos.wificonf_0.0.3_64x64.png",
7+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.wificonf/mpks/com.micropythonos.wificonf_0.0.3.mpk",
8+
"fullname": "com.micropythonos.wificonf",
9+
"version": "0.0.3",
10+
"category": "wificonf",
11+
"activities": [
12+
{
13+
"entrypoint": "assets/wificonf.py",
14+
"classname": "WiFiConfig",
15+
"intent_filters": [
16+
{
17+
"action": "main",
18+
"category": "launcher"
19+
}
20+
]
21+
}
22+
]
1223
}
1324

0 commit comments

Comments
 (0)