Skip to content

Instantly share code, notes, and snippets.

@pablotolentino
Forked from danielquisbert/Key_starUML.md
Created July 14, 2024 17:45
Show Gist options
  • Save pablotolentino/0dc34965139e69942af7a401c7b50d19 to your computer and use it in GitHub Desktop.
Save pablotolentino/0dc34965139e69942af7a401c7b50d19 to your computer and use it in GitHub Desktop.
Key para starUML

Key starUML 3.X

Link de referencia

http://php-note.com/article/749.html

1.Descargar StarUML 3.1.0

http://staruml.io/download

http://www.macupdate.com/app/mac/55571/staruml/download

2. Instalar npm

Revisar:https://blog.csdn.net/qq_33833327/article/details/78027431

3. Instalar asar

npm install asar -g

4. StarUML

(1) Descomprimir app.asar

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

(2) Editar license-manager.js

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

Buscar la función checkLicenseValidity () y comentar las líneas siguientes:

``

checkLicenseValidity () {

this.validate().then(() => {

  setStatus(this, true)
  
}, () => {

  // setStatus(this, false) 
  // UnregisteredDialog.showDialog()
  setStatus(this, true)
  
})

}

``

(3) Comprimir app

asar pack app app.asar

Listo!!!

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