diff --git a/pages/wiki/watchfaces-creation.hbs b/pages/wiki/watchfaces-creation.hbs index 1147395..11d65c2 100644 --- a/pages/wiki/watchfaces-creation.hbs +++ b/pages/wiki/watchfaces-creation.hbs @@ -31,8 +31,8 @@ layout: documentation

Testing on the watch

-

Make sure to replace all instances of new Date() with wallClock.time and remove the background Image statement. Then, simply push it to the watch: adb push xxx-my-watchface.qml /usr/share/asteroid-launcher/watchfaces/. You can then go to watchfaces in the AsteroidOS settings. If you also pushed an xxx-my-watchface.jpg file, this will be used as preview. Otherwise, you will have to tap a white square to activate it.

+

Make sure to replace all instances of new Date() with wallClock.time and remove the background Image statement. Then, simply push it to the watch: scp xxx-my-watchface.qml root@192.168.2.15:/usr/share/asteroid-launcher/watchfaces/. You can then go to watchfaces in the AsteroidOS settings. If you also pushed an xxx-my-watchface.jpg file, this will be used as preview. Otherwise, you will have to tap a white square to activate it.

-

If you want to update the watchface, you have to push the new version to the device. Do note that AsteroidOS may cache the watchface. The easiest way to fix this is to “restart” the device by running the following command: adb shell systemctl restart user@1000.

+

If you want to update the watchface, you have to push the new version to the device. Do note that AsteroidOS may cache the watchface. The easiest way to fix this is to “restart” the device by running the following command: ssh -t root@192.168.2.15 "systemctl restart user@1000".