Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smartgit-win 破解 #98

Open
yangweijie opened this issue Mar 31, 2023 · 0 comments
Open

smartgit-win 破解 #98

yangweijie opened this issue Mar 31, 2023 · 0 comments

Comments

@yangweijie
Copy link
Owner

最近用windows 开发了,smartgit 破解不了。
后来发现官方22版去除非商业使用了。之前的smartgit-agent 总是启动不了。
发现家里mac 的21.17 一直使用。去下了对应的便携版无果。于是回到21.1.14(刚又试了下可以。)
最后细心的发现, -javaagent:D:\GreenSoft\smartgit-agent\smartgit-agent.jar 是放在最后一行,心想,是不是执行顺序不对。
于是调整了下。也去除了双引号。

-javaagent:D:\GreenSoft\smartgit-agent\smartgit-agent.jar
;-javaagent:${smartgit.installation}/crack/smartgit-agent.jar
-Dsmartboot.sourceDirectory=.updates
-Dsmartgit.settings=${smartgit.installation}\.settings
-XX:ErrorFile=%EXE4J_EXEDIR%..\.settings\hs_err_pid%p.log

想着把破解文件直接放在 程序根目录 做成真绿色软件 参考 ${smartgit.installation} 路径的。结果不行。

总结:

  • 下载 21.1.17版
  • 修改 smartgit.vmoptions 文件, 首行加上-javaagent:D:\GreenSoft\smartgit-agent\smartgit-agent.jar 全路径
  • 首次启动smart-git 选择注册, 浏览license.zip 点击注册,大工告成!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant