Reference: http://bbs.chinapyg.com/thread-79022-1-1.html
Official website: http://staruml.en.softonic.com
Each platform version is applicable, this article changes the Mac version.
1, open the corresponding Mac version of the installation package location, in the corresponding directory/applications/staruml.app/contents/www/license/node/licensemanagerdomain.js file.
2, locate the file 23 lines, modify the corresponding function below. Change to the following code:
function Validate (PK, name, product, LicenseKey) {var pk, decrypted; //edit by 0xcb return{name:"0XCB", Product:"StarUML", LicenseType:"VIP", Quantity:"Mergades.com", LicenseKey:"Later equals never!" }; Try{PK=NewNodersa (PK); Decrypted= Pk.decrypt (LicenseKey, ' UTF8 ')); } Catch(err) {return false; } var terms= Decrypted.trim (). Split ("\ n"); if(Terms[0] = = = Name && Terms[1] = = =product) { return{name:name, product:product, licensetype:terms[2], quantity:terms[3], licensekey:licensekey}; } Else { return false; } }
My approach is to comment out the original code and add it to prevent problems.
3. Open the STARUML. Help>enter License
Name:0xcb
Licensekey:later equals never!
Then prompt you to register successfully!
[Android Pro] STARUML version hack