git clone https://github.com/dhoaibao/Activate-StarUML-License.git
sudo mv Activate-StarUML-License/app.asar /opt/StarUML/resources
rm -rf Activate-StarUML-License/
- Download app.asar file at here.
- Replace app.asar file in the folder:
C:\Program Files\StarUML\resources\
- Install Node.js and npm
- Install asar via npm:
npm i asar -g
- Extract source:
asar extract app.asar app
- Check at app folder
- Repackage app:
asar pack app app.asar
Source: https://blog.csdn.net/mtrdong/article/details/133831497