summaryrefslogtreecommitdiff
path: root/docs/main/apps.py
blob: e80d61fa354ce25ddbe1128a7ecfdf1eefe3274d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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')