mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
修改版本更新执行命令
This commit is contained in:
1 parent
ec0deeff06
commit
a652e1e190
2 files changed
+5
-5
No files matched your search
@@ -411,7 +411,7 @@ export default class UserService {
|
||||
}
|
||||
|
||||
public async updateSystem() {
|
||||
const cp = spawn('ql update', { shell: '/bin/bash' });
|
||||
const cp = spawn('ql -l update', { shell: '/bin/bash' });
|
||||
|
||||
cp.stdout.on('data', (data) => {
|
||||
this.sockService.sendMessage(data.toString());
|
||||
|
||||
Reference in new issue
Block a user