Deploy your app to the badge via USB Mass Storage Mode
Deploys MonaOS apps to badge via USB Mass Storage Mode with OS-specific copy instructions.
/plugin marketplace add johnlindquist/badger-2350-plugin/plugin install badger-2350-dev@badger-marketplaceGuide the user through deploying their MonaOS app to the badge using USB Mass Storage Mode.
⚠️ IMPORTANT: The /system/apps/ directory is READ-ONLY via mpremote. You MUST use USB Mass Storage Mode to install apps.
First, check that the app directory exists and contains required files:
__init__.py (required)icon.png (required, 24x24 pixels)assets/ (optional)If files are missing, inform the user what's needed.
Instruct the user:
Provide OS-specific instructions:
macOS/Linux:
cp -r {app_name} /Volumes/BADGER/apps/
Windows (PowerShell):
xcopy {app_name} D:\apps\{app_name}\ /E /I
(Replace D: with actual BADGER drive letter)
Or manually:
apps/ folder{app_name} folder into apps/macOS:
diskutil eject /Volumes/BADGER
Or right-click BADGER in Finder → Eject
Windows:
Linux:
sudo umount /media/$USER/BADGER
Press RESET button once on the badge. It will reboot into MonaOS with your new app installed!
/Volumes/BADGER/apps/ (or D:\apps\ on Windows)__init__.py and icon.png are both presentThe default MonaOS menu shows only 6 apps. To enable pagination:
/Volumes/BADGER/apps/menu/__init__.py to __init__-backup.pyThis confirms you're trying to use mpremote, which won't work. Use USB Mass Storage Mode instead (see steps above).
When in Mass Storage Mode:
/Volumes/BADGER/apps/ → /system/apps/ on badge (your apps)/Volumes/BADGER/assets/ → /system/assets/ on badge (system files)/Volumes/BADGER/main.py → /system/main.py on badge (boot script)After successful deployment: