Skip to content

Commit 4977542

Browse files
Compressed is also supported
1 parent aad0143 commit 4977542

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/apps/bundling-apps.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ MicroPythonOS validates this layout while extracting, and rejects packages that
1919

2020
## Creating an .mpk
2121

22-
From the parent directory that contains your app folder, create a stored (uncompressed) ZIP that includes the top-level folder. It's recommended to make the `.mpk` deterministic by setting file timestamps to a fixed value, sorting entries, and excluding extra file attributes:
22+
From the parent directory that contains your app folder, create a ZIP that includes the top-level folder.
23+
You can usually do that by just right-clicking the folder (like `com.example.yourapp`) in your file explorer and choosing "Add to .zip" or "Compress".
24+
25+
Although you don't have to, it's recommended to make the `.mpk` deterministic by setting file timestamps to a fixed value, sorting entries, and excluding extra file attributes. That way, your .mpk will only change if the actual contents changed. Here's a script to do that:
2326

2427
```bash
2528
cd internal_filesystem/apps/

0 commit comments

Comments
 (0)