프로젝트에서 Star Uml 을 사용해야 할일이 생겨서 이리저리 

확인하던중에. 알게된 내용들을 정리 해봤다.


우선. Star UML 2.8 은 Crack이라고 까지는 아니지만 개인이 인증을 넘어가게 Text파일만 수정하면 된다...

 하지만 Star UML 3.0 이상부터는 불가능 하다...


구글링을 하다보면 이것저거 크랙이 있는것 처럼 나와있는데. 믿지 못할 링크들만 수두룩 하고..


Star Uml 2.8 정품은 여기저기 찾아보면 정상적으로 받을수 있으니 거기서 받아야 할듯..


파일을 받았으면 정상적으로 설치.... 완료후..


설치 폴더를 찾는다. 보통은 아래 주소로 생성..

C:\Program Files (x86)\StarUML\www\license\node



LicenseManagerDomain.js  파일을 텍스트편집기로 연다.


모든 소스를 지우고 아래 소스로 변경하면 끝...~~

소스 보실줄 아는 분이 아니더라도..

아래 글을 잘 살펴보면 (name   ,  licenseKey)   이 두개 값만  

자기가 원하는 값으로 변경 또는 그대로 써도 된다. 그리고 저장..


그리고 StarUML 2.8 실행...--> Help>Enter license  누르면 name, licensekey 넣는곳에 자기가 정한 값으로 넣어주면 인증된다.


이 간단하 내용때문에 엄청 해매고 다녔다....

2.8 버젼만 된다는 말은 어디에도 없다보니.. 3.0 이상 버젼을 사용하는 사람들은 우선 폴더도 못찾고. 이리저리 해매기만 한다.

3.0부터 DataFlow Dagram 이 추가 되어서.. 이것때문에 3.0을 써야한다면 둘다 깔아도 된다...  하지만 3.0부터는 PDF로 출력 하거나 할때 배경에 "UNREGISTERED"  글자 생겨서.. 이거 치환하는 프로그램 따로 써야함..


3.0부터는 다른 폴더에 깔려서.. 두개다 사용이 가능하다.


UNREGISTERED 글자 치환하는 프로그램은 용량이 작아서 올릴수 있을듯...

rep.exe

rep메모.txt



/** * File name: LicenseManagerDomain.js * Mac OS: /Applications/StarUML.app/Contents/www/license/node/ * Linux: /opt/staruml/www/license/node/ */ (function () { "use strict"; var NodeRSA = require('node-rsa'); function validate(PK, name, product, licenseKey) { return{ name: "Tester", product: "StarUML", licenseType: "vip", quantity: "unlimited", licenseKey: "Thank you!" }; } function init(domainManager) { if (!domainManager.hasDomain("LicenseManager")) { domainManager.registerDomain("LicenseManager", {major: 0, minor: 1}); } domainManager.registerCommand( "LicenseManager", // domain name "validate", // command name validate, // command handler function false, // this command is synchronous in Node ("false" means synchronous") "Validate License", [ { name: "PK", type: "string", description: "PK" }, { name: "name", type: "string", description: "name of license owner" }, { name: "product", type: "string", description: "product name" }, { name: "licenseKey", type: "string", description: "license key" } ], [ { name: "result", // return values type: "object", description: "result" } ] ); } exports.init = init; }());



+ Recent posts