Skip to content

Instantly share code, notes, and snippets.

@ernestosu16
Forked from danielquisbert/Key_starUML.md
Created May 19, 2021 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ernestosu16/159ffbd96d514d27df7cecd8ba977698 to your computer and use it in GitHub Desktop.
Save ernestosu16/159ffbd96d514d27df7cecd8ba977698 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