• 管理员
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

How to encrypt Watchfaces?

This forum is designed to discuss and develop tools creating watch faces.

版主: asoolvpokkaInternal errorWatchmens

版面规则
All communication in this branch should only be in English.
To discuss tools that are not in this section, use the “Watchfaces tools (discussion)” forum.
回复
g-rex69
WF maker
帖子: 9
注册时间: 03 3月 2026, 14:52
来自: il
Has thanked: 4 time
Been thanked: 2 time
联系:

How to encrypt Watchfaces?

帖子 g-rex69 »

i put a lot of time making watchfaces,
How can i encrypt them so cant edit them up.

Thanks.
头像
asoo
帖子: 2203
注册时间: 03 1月 2019, 01:48
来自: ͼͽ Thailand ͼͽ
Has thanked: 420 time
Been thanked: 2125 time

帖子 asoo »

grex69 写了: 06 11月 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:

代码: 全选

uglifyjs index.js -m -o index.js
You can find more information about "uglifyjs" at the link below:
https://github.com/mishoo/UglifyJS
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
回复

回到 “Watchfaces tools”

在线用户

正浏览此版面之用户: 没有注册用户 和 2 访客