美文网首页
【转载】激活StarUML

【转载】激活StarUML

作者: running_sheep | 来源:发表于2021-09-07 10:35 被阅读0次

1.下载StarUML 4.0
官网下载
链接:https://pan.baidu.com/s/1GpE0d1wvs60szfjKrv0LBw
提取码:p3tv

2.安装asar
npm install -g asar
或者
cnpm install -g asar

3.解压 app.asar 文件
cd C:\Program Files\StarUML\resources
asar extract app.asar ./asar/

4.激活
找到这个文件:asar\src\engine\license-manager.js,修改其中这段代码

checkLicenseValidity () {
    this.validate().then(() => {
      setStatus(this, true)
    }, () => {
      //setStatus(this,false)  <-- comment this line
      setStatus(this, true) //<-- add this line
      //UnregisteredDialog.showDialog() <-- comment this line
    })
  }

5.压缩
asar pack asar app.asar

以上,成功激活

参考:
https://cloud.tencent.com/developer/article/1811034

相关文章

网友评论

      本文标题:【转载】激活StarUML

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