Skip to content

Commit

Permalink
Remove fixes that work around buggy behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel committed Jun 1, 2024
1 parent b2acf6d commit bc9b69d
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions docs/tildagon-apps/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ class ExampleApp(app.App):
__app_export__ = ExampleApp
```

If you place this code in a file called `app.py`, you may also need to add a separate file called `__init__.py` containing this line:

```python
from .app import ExampleApp
```

To test the app, you can use the [simulator](./simulate.md) or [use `mpremote` to copy the app onto your real-life badge](#use-mpremote-to-test-an-app-on-your-badge). Once you're ready with development, you can [publish it](./publish.md) to the [app store](https://apps.badge.emfcamp.org/).

## The `App` class
Expand Down Expand Up @@ -426,13 +420,12 @@ You can also create your own user interfaces using the [`ctx` graphics library](

You can test your app on-device, without publishing it, using [`mpremote`](https://docs.micropython.org/en/latest/reference/mpremote.html).

1. Create a `metadata.json` file in your app's directory. This is necessary **only** during development. Remove this file before publishing your app to the app store. You may also need to specify a `callable` -- this should be the same as the name of your app's main class.
1. Create a `metadata.json` file in your app's directory. This is necessary **only** during development. Remove this file before publishing your app to the app store.

```json
{
"name": "<app-name>",
"path": "apps.<folder-name>.app",
"callable": "ExampleApp"
"path": "apps.<folder-name>.app"
}
```

Expand All @@ -441,8 +434,7 @@ You can test your app on-device, without publishing it, using [`mpremote`](https
```json
{
"name": "The OG Snake app",
"path": "apps.snake.app",
"callable": "SnakeApp"
"path": "apps.snake.app"
}
```

Expand Down

0 comments on commit bc9b69d

Please sign in to comment.