Pagina 1 di 1
How to encrypt Watchfaces?
Inviato: 06 nov 2025, 15:14
da g-rex69
i put a lot of time making watchfaces,
How can i encrypt them so cant edit them up.
Thanks.
Re: How to encrypt Watchfaces?
Inviato: 06 nov 2025, 15:44
da asoo
grex69 ha scritto: 06 nov 2025, 15:14
i put a lot of time making watchfaces,
How can i encrypt them so cant edit them up.
Thanks.
If you're referring to the ZeppOS-based watch face, you can encrypt the script, but not the image.
You can encrypt the script (index.js) in several ways. For example, you can build with Zeus (Zeus is Zepp's official tool). When you "build" (pack) with Zeus, your index.js file is immediately encrypted as .bin. However, you must understand how to write scripts using Zeus to build correctly. You can find more information at the link below:
https://docs.zepp.com/docs/guides/tools ... light=zeus
Or, you can encrypt your script (index.js) using "Uglify."
This encoding method offers a variety of options, allowing you to choose the encoding you prefer. However, Excessive coding can also prevent the clock from working properly.
The option I've used and it works on ZeppOS is:
You can find more information about "uglifyjs" at the link below:
https://github.com/mishoo/UglifyJS