標籤:
參考:http://bbs.chinapyg.com/thread-79022-1-1.html
官網 : http://staruml.en.softonic.com
各平台版本均適用,本文更改的為Mac版本。?
1,開啟對應 mac版本的安裝包位置,在對應目錄/Applications/StarUML.app/Contents/www/license/node/LicenseManagerDomain.js檔案。
2,找到檔案23行,修改對應下面函數。更改為如下代碼:
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 = new NodeRSA(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; } }
我的做法是注釋掉原有代碼,再增加,防止出現問題。
3,開啟starUML。help>enter license
Name:0xcb
licenseKey:later equals never!
然後提示你註冊成功!
[Android Pro] StarUML 版本破解