markdown 破解StarUML(MacOS)

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 破解StarUML(MacOS)相关的知识,希望对你有一定的参考价值。

### 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

以上是关于markdown 破解StarUML(MacOS)的主要内容,如果未能解决你的问题,请参考以下文章

starUml破解

starUML破解-version2.8.0已验证

markdown 获取StarUML的完整版本

markdown 获取StarUML的完整版本

markdown StarUml 3。

StarUML 免注册码 Mac OS