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

关于clash for Windows 更新和去广告 #21

Closed
MrE819 opened this issue Feb 16, 2022 · 19 comments
Closed

关于clash for Windows 更新和去广告 #21

MrE819 opened this issue Feb 16, 2022 · 19 comments

Comments

@MrE819
Copy link

MrE819 commented Feb 16, 2022

已按照教程安装好所需软件,下图所示是用什么软件打开的
附件一

@MrE819
Copy link
Author

MrE819 commented Feb 16, 2022

@ender-zhao

@Z-Siqi
Copy link
Owner

Z-Siqi commented Feb 16, 2022

Notepad++

@Z-Siqi
Copy link
Owner

Z-Siqi commented Feb 16, 2022

推荐的格式化js代码网站: https://www.strerr.com/js-format.html

@Z-Siqi Z-Siqi closed this as completed Feb 16, 2022
@MrE819
Copy link
Author

MrE819 commented Feb 17, 2022

Notepad++

使用这个软件编辑哪个文件?教程写的有些含糊

@Z-Siqi
Copy link
Owner

Z-Siqi commented Feb 17, 2022

修改renderer.js文件

@MrE819
Copy link
Author

MrE819 commented Feb 17, 2022

大佬在更新一下教程的文档呗 Thanks ♪(・ω・)ノ;
教程里面似乎没有写到修改后的asar文件如何重新打包

@Z-Siqi
Copy link
Owner

Z-Siqi commented Feb 17, 2022

asar安装教程中是有关于打包的说明的

@MrE819
Copy link
Author

MrE819 commented Feb 17, 2022

asar安装教程中是有关于打包的说明的

打开之后搜索没有找到 [e._v("广告")]

@Z-Siqi
Copy link
Owner

Z-Siqi commented Feb 17, 2022

你正在编译的是汉化过的app.asar还是没汉化过的app.asar?

@MrE819
Copy link
Author

MrE819 commented Feb 17, 2022

你正在编译的是汉化过的app.asar还是没汉化过的app.asar?

正在编译app.asar

@MrE819
Copy link
Author

MrE819 commented Feb 17, 2022

重新打包后将app.asar文件复制到\resources目录打开软件一片空白

@Z-Siqi
Copy link
Owner

Z-Siqi commented Feb 17, 2022

那就是改错东西了

@MrE819
Copy link
Author

MrE819 commented Feb 17, 2022

没有啊 按照你的教程来,去除广告

@Z-Siqi
Copy link
Owner

Z-Siqi commented Feb 17, 2022

你就这么想移除广告吗?

@MrE819
Copy link
Author

MrE819 commented Feb 17, 2022

作为开发者当然不希望少了广告收入 用户用着越干净简单越好 看着舒服

@Z-Siqi
Copy link
Owner

Z-Siqi commented Feb 17, 2022

好吧,给你个已经改好的文件: 下载
你可以参考一下哪里你没改对

@MrE819
Copy link
Author

MrE819 commented Feb 21, 2022

好吧,给你个已经改好的文件: 下载 你可以参考一下哪里你没改对

怎么赶脚我的文件打开后和你的区别很大,位置错了吗;\dist\electron\rederer.js

@Z-Siqi
Copy link
Owner

Z-Siqi commented Feb 21, 2022

位置没错

@Z-Siqi
Copy link
Owner

Z-Siqi commented Feb 21, 2022

你看到的代码是不是只有7行?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants