mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
依赖管理增加直接强制删除
This commit is contained in:
@@ -37,13 +37,13 @@ export enum DependenceTypes {
|
||||
}
|
||||
|
||||
export enum InstallDependenceCommandTypes {
|
||||
'npm i -g --force',
|
||||
'npm i -g -f --loglevel warn',
|
||||
'pip3 install',
|
||||
'apk add --no-cache -f',
|
||||
}
|
||||
|
||||
export enum unInstallDependenceCommandTypes {
|
||||
'npm uninstall -g --force',
|
||||
'npm uninstall -g -f --loglevel warn',
|
||||
'pip3 uninstall -y',
|
||||
'apk del -f',
|
||||
}
|
||||
|
||||
@@ -13,5 +13,6 @@ export class SockMessage {
|
||||
export type SockMessageType =
|
||||
| 'ping'
|
||||
| 'installDependence'
|
||||
| 'uninstallDependence'
|
||||
| 'updateSystemVersion'
|
||||
| 'manuallyRunScript';
|
||||
|
||||
Reference in New Issue
Block a user