mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-12-16 13:40:53 +08:00
fix bug
This commit is contained in:
parent
727f18f5b2
commit
32cf0f0b2d
@ -126,7 +126,6 @@ Remove-Item go-cqhttp.zip
|
|||||||
# 下载源码
|
# 下载源码
|
||||||
git clone $LittlePaimongit --depth=1
|
git clone $LittlePaimongit --depth=1
|
||||||
Set-Location LittlePaimon
|
Set-Location LittlePaimon
|
||||||
py -3.8 -m pip install "matplotlib~=3.2.0" -i $pypi
|
|
||||||
py -3.8 -m pip install -r requirements.txt -i $pypi
|
py -3.8 -m pip install -r requirements.txt -i $pypi
|
||||||
Copy-Item -Recurse hoshino\config_example hoshino\config
|
Copy-Item -Recurse hoshino\config_example hoshino\config
|
||||||
Set-Location ..
|
Set-Location ..
|
||||||
@ -286,9 +285,9 @@ MODULES_ON = {
|
|||||||
|
|
||||||
# 写启动程序
|
# 写启动程序
|
||||||
New-Item -Path .\启动.ps1 -ItemType File -Value @"
|
New-Item -Path .\启动.ps1 -ItemType File -Value @"
|
||||||
Start-Process -FilePath py.exe -ArgumentList "-3.8 ${pwd}\LittlePaimon\run.py" -WorkingDirectory .\LittlePaimon
|
Start-Process powershell.exe -ArgumentList "Set-Location .\LittlePaimon ; python run.py"
|
||||||
Set-Location .\go-cqhttp
|
Set-Location .\go-cqhttp
|
||||||
./go-cqhttp.exe
|
./go-cqhttp.exe
|
||||||
"@
|
"@
|
||||||
|
|
||||||
Write-Output '用powershell运行"启动.ps1"来启动机器人吧!'
|
Write-Output '安装完成!用powershell运行"启动.ps1"来启动机器人吧!'
|
@ -107,7 +107,7 @@
|
|||||||
在你想安装的位置打开`powershell`,输入执行:
|
在你想安装的位置打开`powershell`,输入执行:
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
iwr "https://cdn.jsdelivr.net/gh/CMHopeSunshine/LittlePaimon`@master/LittlePaimon-install-windows.ps1" -O .\hinstall.ps1 ; ./hinstall.ps1 ; rm hinstall.ps1
|
iwr "https://cdn.jsdelivr.net/gh/CMHopeSunshine/LittlePaimon`@master/LittlePaimon-install-windows.ps1" -O .\pm.ps1 ; ./pm.ps1 ; Set-Location .. ; rm pm.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Linux
|
#### Linux
|
||||||
|
Loading…
x
Reference in New Issue
Block a user