summaryrefslogtreecommitdiff
path: root/docs/main/apps.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/main/apps.py')
-rw-r--r--docs/main/apps.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/main/apps.py b/docs/main/apps.py
new file mode 100644
index 0000000..e80d61f
--- /dev/null
+++ b/docs/main/apps.py
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
+import wasp
+
+from gadgetbridge import *
+wasp.system.schedule()
+
+# Registering normal apps *after* the schedule() ensures the
+# watch will still (partially) boot even if we end up taking
+# an exception during application init.
+wasp.system.register('apps.flashlight.TorchApp')
+wasp.system.register('apps.gameoflife.GameOfLifeApp')