### Install node
~~~
brew install node
~~~
### Install asar
~~~
npm install -g asar
~~~
### Go to StarUML app folder
~~~
cd /Applications/StarUML.app/Contents/Resources
~~~
### Extract app.asar
~~~
asar extract app.asar app
~~~
### Go to licence-manager.js folder
~~~
cd app/src/engine
~~~
### Edit licence-manager.js file
~~~
nano license-manager.js
~~~
In line 125 we have the following code
~~~
checkLicenseValidity () {
this.validate().then(() => {
setStatus(this, true)
}, () => {
setStatus(this, false)
UnregisteredDialog.showDialog()
})
}
~~~
We must change it for this other
~~~
checkLicenseValidity () {
this.validate().then(() => {
setStatus(this, true)
}, () => {
setStatus(this, true)
// UnregisteredDialog.showDialog()
})
}
~~~
And save changes
### Pack the updated app
~~~
cd ../../..
asar pack app app.asar
~~~
### Run StarUML