Giter Site home page Giter Site logo

flysoftbeta / qqntim Goto Github PK

View Code? Open in Web Editor NEW
337.0 4.0 16.0 2.23 MB

QQNT-Improved - PC 端 QQNT 插件管理器

License: GNU Lesser General Public License v3.0

TypeScript 78.44% PowerShell 10.72% Shell 7.14% Batchfile 1.37% CSS 2.33%
nodejs plugin-manager qq qqnt hijack works-with-react works-with-liteloader

qqntim's Introduction

Flysoft's GitHub stats
  • ✨ Hi, I’m @FlysoftBeta

  • 👀 I’m interested in coding

  • 🌱 I’m currently a middle school student

qqntim's People

Contributors

cesaryuan avatar dependabot[bot] avatar flysoftbeta avatar fredlin5 avatar rei1mu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

qqntim's Issues

深度修改

通过替换 QQNT 的修改版 Electron 为 Electron 官方版本以恢复被删除的功能。

报错

is not recognized as an internal or external command,
operable program or batch file

尝试恢复 DevTools

QQ 的原生 DevTools 需要补全原版 Electron 的 resources.pak 才能使用 <(`^´)> (仅为猜想,尚未测试)。

QQNTim 未来计划

  • 丰富插件生态,添加更多实用性功能
  • 为插件增加设置界面
  • 制作插件市场,快速安装插件
  • 增加兼容性,努力做到与 LiteLoader 和 BetterQQNT 完全兼容
  • 丰富 NT API

macOS 安装后提示A JavaScript error occurred in the main process

screenshot

如图,在手动安装3.0.0版本后,打开QQ提示上述错误,无法启动QQ

安装方法参照Linux安装脚本,将builtinsnode_modules文件夹和qqntim.jsqqntim-renderer.js文件复制到/Applications/QQ.app/Contents/Resources/app/app_launcher,并package.json文件中index.js替换为qqntim.js,启动后报错

QQNT版本为6.9.17-12118,macOS版本为Ventura 13.4.1 (c)

防撤回目前9.9.0的bug

QQNTim的防撤回功能在QQ界面发送消息会转圈 但是刷新后正常 导致认为消息没发出去发好几条

启动报错

日志
PS E:\QQ_NT> .\QQ.exe
PS E:\QQ_NT> [preload] process type:
[app]module file name: E:\QQ_NT\QQ.exe
[preload] hotupdate base version: 9.9.0-14569
[preload] hotupdate current version: 9.9.0-14619
[preload] install app version: 9.9.0-14569

[preload] succeeded. E:\QQ_NT\resources\app\app_launcher\launcher.node
[preload] succeeded. E:\QQ_NT\resources\app\versions\9.9.0-14619\major.node
[preload] succeeded. E:\QQ_NT\resources\app\versions\9.9.0-14619\wrapper.node
启动信息
image

win安装时出现错误

  • Copy-Item ".\qqntim.js", ".\qqntim-renderer.js" $QQAppLauncher
    Dir -Fo ...
    + CategoryInfo          : ObjectNotFound: (D:\QQ\QQNTim-dev
   \publish\_\qqntim.js:String) [Copy-Item], ItemNotFoundExcep
  tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell
   .Commands.CopyItemCommand

QQNTim Windows 9.9.1-15293 安装失败

下载了最新版的QQNTim,正常安装,然而打开时显示文件已损坏。

根据TX的尿性,估计又加强了加密,麻烦dalao们跟进下。

QQNTim不工作

目前有安装过LiteLoaderQQNT
我是先安装LiteLoaderQQNT后安装QQNTim v2.0.3(脚本安装)
登录后,设置里没有插件管理这按钮。
附图。
image
image
image

完整的 QQNTim(本体)开发指南

列出会踩的坑,例如
无法将“Get-FileHash”项识别为 cmdlet、函数、脚本文件或可运行程序的名称
Error: Cannot find module 'pnpapi'

关于在Windows下安装了QQNT 64位之后的脚本架构判断问题

腾讯自QQNT 9.8.3.13456开始同步提供64位版本,根据正常安装逻辑,64位程序安装时会安装到Program Files而非Program Files(x86)文件夹。但是安装时脚本一旦检测为64位系统就会默认将脚本安装到Program Files(x86),这种逻辑在64位Windows下安装32位NTQQ时没问题,但是在64位NTQQ下尝试安装时会变成这样:

PS C:\Users\mclan\Desktop\qqntim-build> .\install.ps1
Do you want to install QQNTim (y/n)?: y
Killing QQ processes...
Copying files...
Patching entry...
Copy-Item : 找不到路径“C:\Program Files (x86)\Tencent\QQNT\resources\app\app_launcher\index.js”,因为该路径不存在。
所在位置 C:\Users\mclan\Desktop\qqntim-build\install.ps1:42 字符: 5
+     Copy-Item $EntryFile $EntryFileBackup -Force
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Program File...uncher\index.js:String) [Copy-Item], ItemNotFoundExce
   ption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand

打开了脚本文件并稍作修改,再次安装提示成功,希望可以修改下安装逻辑。
附上版本号和截止到目前的最新64位版本下载链接
image

[Bug] 安装脚本的问题(与LiteLoaderQQNT共存)

如果之前安装过LiteLoaderQQNT,安装脚本尝试替换的main键值中的./app_launcher/index.js并不存在(已经在之前被用户手动修改为LiteLoader了),会导致安装后并不启动qqntim。
手动修改后,如果LiteLoaderQQNT的文件夹并不叫LiteLoader(在安装说明中,这个文件夹可以不叫LiteLoader的),也会导致不会加载他。建议加一个配置项,支持自定义文件夹名字(这样还可以支持其他可能存在的js加载器)。

安装出现错误

ntqq版本: 9.9.0-14619 (64位)
[preload] succeeded. E:\1soft\QQNT\resources\app\versions\9.9.0-14619\wrapper.node
[preload] succeeded. E:\1soft\QQNT\resources\app\versions\9.9.0-14619\major.node
[preload] succeeded. E:\1soft\QQNT\resources\app\app_launcher\launcher.node
BetterQQNT: Initializing...
BetterQQNT: Start loading plugins.
BetterQQNT: Found plugin: LiteLoader 閰嶇疆鐣岄潰
BetterQQNT: Found plugin: 鑷畾涔?CSS 鏍峰紡
BetterQQNT: Found plugin: MSpring Theme
BetterQQNT: Found plugin: 鑷畾涔夌Щ闄や晶鏍?BetterQQNT: Found plugin: 闃叉挙鍥?BetterQQNT: Done! 5 plugins loaded!
BetterQQNT: Starting QQNT...
[preload] register done. launcher.node
[20548:0707/172850.215:ERROR:crashpad_client_win.cc(844)] not connected

!![公告]关于暂缓更新的说明!!

最近,我们注意到 QQNT (Windows 9.8.5 版本) 进行了大幅度修改 (例如:修改 Electron 源码完全禁用开发者工具)。
QQNT 可能会在未来使用更严格的代码保护方式。
为了防止前功尽弃,我们将暂缓更新,请见谅。

[BUG?] 安装导致360极速浏览器X无法打开,LiteLoaderQQNT的插件市场无法正常显示插件

QQNTim版本 3.1.3

QQNT版本 9.9.0-14569

与LiteLoaderQQNT(Version 0.4.0)进行了共存

过程描述:

安装过程中经历了一次蓝屏 显示因为虚拟内存的原因 重启过后浏览器就无法开启 打开QQ后LiteLoaderQQNT的插件市场无法正常显示插件 通过uninstall.cmd卸载后 QQ打开无法正常渲染登陆页面
我认为可能就是QQNTIM的原因 因为在安装此补丁之前 安装了LiteLoaderQQNT一切正常并没有什么问题 安装QQNTim才出现这一系列问题 希望开发者能够修复此BUG(?) 也希望能够和LiteLoaderQQNT有更好的兼容

设置 UI

提供易用的插件管理、设置等

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.