Skip to content

Instantly share code, notes, and snippets.

@danielquisbert
Last active June 15, 2025 21:49
Show Gist options
  • Save danielquisbert/cf8af9d00dab3911188670a8e99a4cd2 to your computer and use it in GitHub Desktop.
Save danielquisbert/cf8af9d00dab3911188670a8e99a4cd2 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!!!

@CristianC-A
Copy link

Me funciono con la versión 6.3.2 lo que se me dificultó fue saber que líneas comentar ya que me aparecía diferente la función

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