美文网首页
mac StarUml 破解

mac StarUml 破解

作者: AngryApe | 来源:发表于2018-12-14 20:41 被阅读0次

https://www.cnblogs.com/Jack666/p/9498669.html

破解过程

1) 安装npm

brew install node
执行完上面的命令,你就安装好了nodejs和npm

2)安装asar

npm install asar -g

3)解压文件app.asar

cd /Applications/StarUML.app/Contents/Resources/

asar extract app.asar app

4) 修改新生成的app目录下的lisence文件

vim app/src/engine/license-manager.js

5)找到checkLicenseValidity()函数

checkLicenseValidity () {
this.validate().then(() => {
setStatus(this, true)
}, () => {
setStatus(this, false)
UnregisteredDialog.showDialog()
})
}

修改为

checkLicenseValidity () {
this.validate().then(() => {
setStatus(this, true)
}, () => {
setStatus(this, true)
})
}

6) 打包覆盖原app.asar

asar pack app app.asar

相关文章

网友评论

      本文标题:mac StarUml 破解

      本文链接:https://www.haomeiwen.com/subject/yjdnhqtx.html