Based on https://gist.github.com/jjvillavicencio/4e3615a8219bb1a17c81c4541c6c317d
- nodejs
- npm
-
Download the .AppImage file of StarUML from StarUml.io
-
Install asar package
sudo npm i -g asar
-
Extract the .AppImage file
./StarUML-[your version].AppImage --appimage-extract
-
Extract the asar app
asar squashfs-root/resources/app.asar app
-
Navigate to squashfs-root/resource/app/src/engine and open the file license-manager.js
cd /squashfs-root/resource/app/src/engine nano license-manager.js
-
Search for the next code in line 125 and do the next modifications.
Before the changes:
checkLicenseValidity () { this.validate().then(() => { setStatus(this, true) }, () => { /** * Change the second paramter from true to false */ setStatus(this, true) /** * Comment this dialog */ UnregisteredDialog.showDialog() }) }
After the changes:
checkLicenseValidity () { this.validate().then(() => { setStatus(this, true) }, () => { setStatus(this, false) //UnregisteredDialog.showDialog() }) }
-
Pack the app with the changes and remove the app folder:
asar pack app app.asar rm -rf app/
-
Remove the .AppImage file and rename the squashfs-root folder to SarUml:
rm -rf StarUrml.AppImage mv squashfs-root StarUml
-
Run the executable file insede the folder StarUml named staruml and enjoy.
./StarUml/staruml