mzdyl / liteloaderqqnt_install Goto Github PK
View Code? Open in Web Editor NEW针对 LiteLoaderQQNT 的安装脚本
License: BSD 3-Clause "New" or "Revised" License
针对 LiteLoaderQQNT 的安装脚本
License: BSD 3-Clause "New" or "Revised" License
字面意思,我的Documents被移动到了D盘,比如
D:\Users\user_name\Documents
但1.13的安装器会将数据文件夹直接塞入
C:\Users\user_name\Documents
这应该是不符合预期的,因此作为Bug提交
系统:windows 10
install 版本:1.4
运行内容:
QQ 的安装目录为: C:\Program Files\Tencent\QQNT\QQ.exe
未安装过旧版,全新安装
备份文件不存在,无需删除。
PE File Path: C:\Program Files\Tencent\QQNT\QQ.exe
Backup At: C:\Program Files\Tencent\QQNT\QQ.exe.bak
Found at 0x004C06F7
Patched!
临时目录:C:\Users\kmar\AppData\Local\Temp
正在拉取最新版本的仓库...
拉取完成,正在安装LiteLoader...
Moving from: C:\Users\kmar\AppData\Local\Temp\LiteLoader\LiteLoaderQQNT-main
Moving to: C:\Program Files\Tencent\QQNT\resources\app
C:\Program Files\Tencent\QQNT\resources\app\LiteLoaderQQNT-main 不存在,全新安装。
正在修补index.js...
LiteLoaderQQNT安装完成!接下来进行插件商店安装
正在拉取最新版本的插件商店...
An error occurred: <urlopen error [Errno 2] No such file or directory>
Press Enter to exit.
是否可以增加流量统计的功能,用来记录有多少用户使用了改应用,同时还能捕获用户触发的异常信息,以便后台进行分析
事件: 检测到恶意对象
类型: 木马
名称: UDS:Trojan.Win64.Agent.qwkgly
精确度: 确切
威胁级别: 高
对象类型: 文件
对象名称: install_windows.exe
对象的 MD5: 53C3563D4D2BD8197295282C175E2441
原因: 云保护
🤔使用PyInstaller打包的版本没有这样的问题
虽然大概不是程序本身的问题,但是的确有误报的情况产生,这应该不符合“Nuitka版本避免报毒”的预期
因此提交以供参考
另外:卡巴斯基的在线检测也十分肯定这是木马程序……是不是Nuitka打包的参数引起的?
总之也将误报问题提交给了卡巴斯基,以上
更新:卡巴斯基回邮件了,确认是误报,将会被修复,issue关闭
报错 发生错误: missing dependencies for socks support.
.\install_windows.exe
Error loading Python DLL 'C:\Users\ USERNAME \Desktop_internal\python312.dll'.
LoadLibrary: 找不到指定的模块。
看到todo list新增了一项:
- README.md 使用GitHub徽章显示通过自动化 ci 监测 LL 与 QQ 最新版的兼容状态
这个todo的意思是不是如果QQ更新了或者LL更新了,需要触发github Action,从而实现版本的兼容性监控。
如果是这样的话,需要考虑有个程序定时监控QQ和LL的更新,可以选择新建一个仓库,使用Github Action定时触发器完成,也可以服务器部署脚本,检测到更新后,利用Github API,主动触发Action。
商店居然删库了,那怎么手动更新?自己尝试手动多次都报错了·后续还会有商店吗?
手动看起来太累了
而且maybe可以把每个push复用同一prerelease 这样可以是没有github的用户方便的用测试版(?)
刚刚我用zsh执行报错了一下(./install_linux.sh: 8: [: unexpected operator)
我的qq打开某些插件界面不会显示任何东西,插件冲突吗?
发生错误: [Errno 2] No such file or directory: 'C:\Program Files\Tencent\QQNT\resources\app\LiteLoaderQQNT_bak\config.json'
经过我闲得没事干的测试,发现只能按回车键和电源键退出,希望作者可以修改一下提示,或者改成真正的按任意键退出
建议检测发行版,如果是arch的话就提示用户,询问是否使用aur助手安装,或从aur下载并makepkg -si,又或者仍用此脚本安装
发生错误: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/Mzdyl/LiteLoaderQQNT_Install/releases/latest (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))
OS: Windows 11 专业版 22H2/22621.2283
无论是否以管理员身份运行均输出:
Error reading registry key: [WinError 2] 系统找不到指定的文件。
An error occurred: 'NoneType' object has no attribute 'replace'
Press Enter to exit.
是hub.fgit.cf,把python文件里所有的github.com替换成这个,可以作为备用镜像。
装了插件发现有问题只能卸载重装QQNT了吗
估计是我的问题,我总是提示
发生错误: HTTPSConnectionPool(host='mirror.ghproxy.com', port=443): Max retries exceeded with url: /https://github.com/LiteLoaderQQNT/LiteLoaderQQNT/archive/master.zip (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))
我分析了一下,应该是无法验证mirror.ghproxy.com
的SSL证书,我这里是可以使用github原站下载的,也希望可以使用一些其他的镜像站,例如:
https://gh.h233.eu.org/
'https://gh.ddlc.top/
这两个镜像站只需要在后面加上github原本的下载链接即可,比如:
https://gh.h233.eu.org/https://github.com/LiteLoaderQQNT/LiteLoaderQQNT/archive/master.zip
https://gh.ddlc.top/https://github.com/LiteLoaderQQNT/LiteLoaderQQNT/archive/master.zip
QQ.exe
, 在其退出时监测是否有安装进程%appdata%\QQ\packages\full
(其中, appdata
为 AppData 环境变量, 默认为 C:\Users\<username>\AppData\Roaming
) 下, 可以通过遍历+获取最新的可执行文件动态添加劫持项, 在 QQNT 安装程序退出时运行 LiteLoaderQQNTinstall_windows
安装脚本推荐将需求的 Python 版本写在 README.md
, 否则会对二次开发带来麻烦
请说明原因
。
插件列表查看 已实现插件商店的大部分功能了,建议安装时可选预装该插件
这个是我系统的错误么,官方教程安装也是QQ其他是文件损坏
已经管理员启动了
当前已是最新版本,开始安装。
注册表读取失败: [WinError 2] 系统找不到指定的文件。
发生错误: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Release通道
➜ ~ sudo curl -L "https://github.com/Mzdyl/LiteLoaderQQNT_Install/releases/latest/download/install_mac.sh" -o /tmp/install_stable.sh && bash /tmp/install_stable.sh
Password:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3940 100 3940 0 0 5314 0 --:--:-- --:--:-- --:--:-- 5314
请输入您的密码以提升权限:
正在拉取最新版本的仓库...
Cloning into 'LiteLoader'...
remote: Enumerating objects: 1950, done.
remote: Counting objects: 100% (574/574), done.
remote: Compressing objects: 100% (251/251), done.
remote: Total 1950 (delta 355), reused 463 (delta 321), pack-reused 1376
Receiving objects: 100% (1950/1950), 387.78 KiB | 2.12 MiB/s, done.
Resolving deltas: 100% (1066/1066), done.
拉取完成,正在安装LiteLoader...
cp: /Applications/QQ.app/Contents/Resources/app/application/preload.js: Operation not permitted
已将原LiteLoader目录备份为LiteLoader_bak
正在恢复恢复插件数据
PS:由于macOS限制,对Sandbox目录操作预计耗时数分钟左右
已将 LiteLoader_bak 中旧插件Plugins复制到新的 LiteLoader 目录
是否为插件目录创建软连接方便安装插件 (y/N): y
请输入LiteLoader插件目录(默认为/Users/aaa/Downloads/plugins):
插件目录: /Users/aaa/Downloads
已为插件目录创建软连接到 /Users/aaa/Downloads
正在修补index.js...
sed: index.js: Operation not permitted
已修补 index.js。
LiteLoaderQQNT 安装完成!插件商店作者不维护删库了,安装到此结束
脚本将在3秒后退出...
Git通道
➜ ~ curl -L "https://github.com/Mzdyl/LiteLoaderQQNT_Install/raw/main/install_linux_cn.sh" -o /tmp/install_git.sh && bash /tmp/install_git.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 242k 0 242k 0 0 589k 0 --:--:-- --:--:-- --:--:-- 590k
/tmp/install_git.sh: line 7: syntax error near unexpected token `newline'
/tmp/install_git.sh: line 7: `<!DOCTYPE html>'
这台电脑之前用过0.x,最近重装qq(9.9.7.20811)后直接用这个安装工具试图一把梭,安装正常未报错,
但是,启动ntqq后只看得到liteloader却看不到插件商店,liteloader的路径指示如下:
发现商店插件位于上述“本体目录”下的plugins中,后续发现将插件手动移动到“数据目录”下的plugins目录则可以正常载入使用,但此时很容易出现下图这种错误(此时不管打不打开梯子都容易出现,有一次梯子开着,正常下载,不重启qq,关掉梯子,也正常下载):
(猜测与这台电脑的网络情况也有关)
同时我在另一台从未安装过qq与liteloader的电脑上也一把梭,一切正常,但是路径指示如下(没错,是空的,而且点进入目录没反应):
查证文件后,发现此时不存在上面这台电脑中指示的“liteloader数据目录”,但一切正常,不管如何开关梯子,都是正常下载。
综上,确实就是很迷惑的一个情况,
我在第一台出问题的电脑上试图通过everything清空所有带有Tencent、QQ、Liteloader字样的文件及文件夹,似乎也不起作用…
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.