mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 03:13:44 +08:00
feat: add linux uninstall script
This commit is contained in:
parent
ec14b7c52f
commit
62ddf26150
2
packages/linux/pre-remove.sh
Normal file
2
packages/linux/pre-remove.sh
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
/usr/bin/uninstall-service
|
@ -10,7 +10,8 @@
|
||||
"provides": ["clash-verge"],
|
||||
"conflicts": ["clash-verge"],
|
||||
"replaces": ["clash-verge"],
|
||||
"postInstallScript": "../packages/linux/post-install.sh"
|
||||
"postInstallScript": "../packages/linux/post-install.sh",
|
||||
"preRemoveScript": "../packages/linux/pre-remove.sh"
|
||||
},
|
||||
"rpm": {
|
||||
"depends": ["openssl"],
|
||||
@ -18,7 +19,8 @@
|
||||
"provides": ["clash-verge"],
|
||||
"conflicts": ["clash-verge"],
|
||||
"obsoletes": ["clash-verge"],
|
||||
"postInstallScript": "../packages/linux/post-install.sh"
|
||||
"postInstallScript": "../packages/linux/post-install.sh",
|
||||
"preRemoveScript": "../packages/linux/pre-remove.sh"
|
||||
}
|
||||
},
|
||||
"externalBin": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user