Skip to content

Commit 6250460

Browse files
Update developing.md
1 parent 07b7032 commit 6250460

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/apps/developing.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ index e6e3970..7f5d934 100644
108108
def ensure_friendly_repl(self):
109109
```
110110

111-
Then copy your app using:
111+
Then connect your device with a cable and install your app using:
112112

113113
```
114114
/path/to/mpremote.py fs cp -r com.micropythonos.helloworld/ :/apps/
115115
```
116116

117-
## Starting the App
117+
## Starting your App
118118

119119
If the app is installed into the /apps/ folder, it should show up in the launcher after refreshing it.
120120

@@ -123,3 +123,15 @@ You can also launch it manually by typing this in the MicroPython REPL:
123123
```
124124
import mpos.apps; mpos.apps.start_app('apps/com.micropythonos.helloworld/')
125125
```
126+
127+
## Bundling your App
128+
129+
To bundle your app in an .mpk file, just make an uncompressed .zip file of it, without including the top-level `com.micropythonos.helloworld/` folder.
130+
131+
For example:
132+
133+
```
134+
cd com.micropythonos.helloworld/
135+
zip -r0 /tmp/com.micropythonos.helloworld_0.0.2.mpk .
136+
```
137+

0 commit comments

Comments
 (0)