markdown 破解StarUML(Linux AppImage)

Posted

tags:

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

### Download StarUML AppImage
~~~
wget "http://staruml.io/download/releases/StarUML-3.0.2-x86_64.AppImage"
~~~

~~~
chmod a+x StarUML-3.0.2-x86_64.AppImage
~~~

### Download appimagetool
~~~
wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
~~~

~~~
chmod a+x appimagetool-x86_64.AppImage
~~~

### Install node (In Fedora 29)
~~~
sudo dnf install node
~~~

### Install asar
~~~
npm install -g asar
~~~

### Extract appimage
~~~
./StarUML-3.0.2-x86_64.AppImage --appimage-extract
~~~

### Go to resources directory
~~~
cd squashfs-root/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
~~~

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

### Remove app directory
~~~
rm -rf app/
~~~

### Make the new AppImage
~~~
cd ../..
./appimagetool-x86_64.AppImage squashfs-root/
~~~

### Remove squashfs-root directory
~~~
rm -rf squashfs-root
~~~

### Run StarUML AppImage

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

starUml破解

starUML破解-version2.8.0已验证

markdown 获取StarUML的完整版本

markdown 获取StarUML的完整版本

markdown StarUml 3。

markdown Sublime Text 3 Build 3203/3200和Sublime Merge的破解指南 - Build 1111/1109(Linux x86_64) - 更新#4(2