Skip to content

Instantly share code, notes, and snippets.

@akileng56
Forked from jjvillavicencio/starUml3.md
Last active September 9, 2020 04:59
Show Gist options
  • Select an option

  • Save akileng56/035d9c98fb23e48746ef36249531e431 to your computer and use it in GitHub Desktop.

Select an option

Save akileng56/035d9c98fb23e48746ef36249531e431 to your computer and use it in GitHub Desktop.
StarUml 3.

Recently StarUML was updated from 2.0 to 3.0. The original crack method, the way to modify the license verification function can not be used. The install location has changed and the LicenseManagerDomain.js file was found. What should I do? The old driver told everyone to solve the problem.

Important

StarUML is written in nodejs. Specifically, it is written on the Electron's front frame. All starUML source code in the new version is packaged by the asar tool. Make sure you have nodejs installed, If not download nodejs and install https://nodejs.org/en/

Enter directory (Windows)

Open CMD and go to C: \ Program Files \ StarUML \ resources

Install the broil tool

npm install -g roast

Install asar

npm i -g asar

Unpack StarUML

asar extract app.asar app

Edit the license file

app \ src \ engine \ license-manager.js

Modify the code

Line 125

  checkLicenseValidity () {
    this.validate (). then (() => {
      setStatus (this, true)
    }, () => {
    // ===> Change false to true
      setStatus (this, true)
      // ===> Comment Dialog
      // UnregisteredDialog.showDialog ()
    })
  }

Repackage StarUML

asar pack app app.asar

Enjoy StarUML

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment