Xmind Zen破解方法(Mac,Linux)

破解效果

  • 去除右上角的“已激活天数”提示和激活按钮
  • 去除保存文件时弹出的激活提醒界面
  • 去除导出PDF、图片文件的水印

主界面

cd /opt/XMind\ ZEN

#备份
cp ./resources/app/out/homenew.js ./resources/app/out/homenew.js.bak
cp ./resources/app/out/renderer.js ./resources/app/out/renderer.js.bak

#取消点击事件
sed -i "s/click:t.activate/click:null/g" ./resources/app/out/homenew.js 
sed -i "s/click:t.activate/click:null/g" ./resources/app/out/renderer.js


#清除主界面的 激活按钮
sed -i "s/\$1 Days on Trial - Activate Now//g" ./resources/app/out/homenew.js 
sed -i "s/Trial Version - Activate Now//g" ./resources/app/out/homenew.js

sed -i "s/\$1 Days on Trial - Activate Now//g" ./resources/app/out/renderer.js
sed -i "s/Trial Version - Activate Now//g" ./resources/app/out/renderer.js


#清除激活按钮样式 
sed -i "s/evaluation-text/evaluation-textaaa999/g" ./resources/app/out/homenew.js 
sed -i "s/evaluation-text/evaluation-textaaa999/g" ./resources/app/out/renderer.js


#清除导出PDF的自动弹窗
cp ./resources/app/out/modal-activateAlert.js ./resources/app/out/modal-activateAlert.js.bak
echo "" > ./resources/app/out/modal-activateAlert.js

#清除导出的水印
备份:
cp ./resources/app/out/imgs/pdf-footer-zh-CN.svg ./resources/app/out/imgs/pdf-footer-zh-CN.svg.bak
cp ./resources/app/out/imgs/png-watermark-zh-CN.svg ./resources/app/out/imgs/png-watermark-zh-CN.svg.bak
cp ./resources/app/out/imgs/print-watermark-zh-CN.svg ./resources/app/out/imgs/print-watermark-zh-CN.svg.bak


处理:
echo '<?xml version="1.0" encoding="UTF-8"?><svg></svg>' > ./resources/app/out/imgs/pdf-footer-zh-CN.svg
echo '<?xml version="1.0" encoding="UTF-8"?><svg></svg>' > ./resources/app/out/imgs/png-watermark-zh-CN.svg
sed -i "s/opacity=\"0.2/opacity=\"0/g" ./resources/app/out/imgs/print-watermark-zh-CN.svg
添加新评论