Skip to content

Instantly share code, notes, and snippets.

@msterhuj
Last active May 28, 2022 13:33
Show Gist options
  • Save msterhuj/3eaaa4d7b22e5e21d1cef9950595b343 to your computer and use it in GitHub Desktop.
Save msterhuj/3eaaa4d7b22e5e21d1cef9950595b343 to your computer and use it in GitHub Desktop.
Patch staruml 5.0.x

StarUML 5.0.x 🚀

Tested on 5.0.1

Install

  • Install starUML : starUML.io
  • Install nodejs : nodejs.org
  • After install nodejs install asar npm install -g asar

Patch

Then go to install path with a terminal with admin mode

  • Windows : C:\Program Files\StarUML\resources
  • Mac : /Applications/StarUML.app/Contents/Resources

Extract app with asar extract app.asar app Open file app\src\engine\license-manager.js

Replace fuction checkLicenseValidity content by

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

Repack app with asar pack app app.asar

Start and enjoy 🎉

Source

StarUml 3.0 Patch

StarUml 2.0 Patch

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