Install asar
npm install -g asar
Go to the Ressources folder of the app
Mac : StarUML.app/Contents/Resources
Windows : C:\Program Files\StarUML\resources
Unzip app: asar extract app.asar app/
Modify the folowing function:
checkLicenseValidity () {
this.validate().then(() => {
setStatus(this, true)
}, () => {
// setStatus(this, false)
// UnregisteredDialog.showDialog()
setStatus(this, true)
})
}
Go back to the resources folder.
Repack the app: asar pack app/ app.asar
On windows just run the app.
On mac due to the signature change, you have to disable gatekeeper just for the first launch
sudo spctl --master-disable
Lauch the app enable gatekeeper
sudo spctl --master-enable
Enjoy !