mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-01 07:19:03 +08:00
Introduces the napcat-develop package with its own package.json and tsconfig.json. Updates build and dev scripts in the root package.json, modifies loadNapCat.cjs to adjust paths and output directories, and updates nodeTest.ps1 to use the correct script path.
9 lines
388 B
PowerShell
9 lines
388 B
PowerShell
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
$regPath = 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\QQ'
|
|
$uninstall = (Get-ItemProperty -Path $regPath -Name UninstallString -ErrorAction Stop).UninstallString
|
|
$uninstall = $uninstall.Trim('"')
|
|
$qqPath = Split-Path $uninstall -Parent
|
|
|
|
Write-Host "QQPath: $qqPath"
|
|
node.exe "./loadNapCat.cjs" "$qqPath"
|