mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 11:42:21 +08:00
fix: script error
This commit is contained in:
parent
3b06cf8a2a
commit
ddab131102
|
@ -361,7 +361,7 @@ const resolveLinuxServicePermission = async () => {
|
||||||
"uninstall-service",
|
"uninstall-service",
|
||||||
];
|
];
|
||||||
const resDir = path.join(cwd, "src-tauri/resources");
|
const resDir = path.join(cwd, "src-tauri/resources");
|
||||||
for (f of serviceExecutables) {
|
for (let f of serviceExecutables) {
|
||||||
const targetPath = path.join(resDir, f);
|
const targetPath = path.join(resDir, f);
|
||||||
if (await fs.pathExists(targetPath)) {
|
if (await fs.pathExists(targetPath)) {
|
||||||
execSync(`chmod 755 ${targetPath}`);
|
execSync(`chmod 755 ${targetPath}`);
|
||||||
|
|
11
src-tauri/Cargo.lock
generated
11
src-tauri/Cargo.lock
generated
|
@ -777,6 +777,7 @@ dependencies = [
|
||||||
"tauri",
|
"tauri",
|
||||||
"tauri-build",
|
"tauri-build",
|
||||||
"tokio",
|
"tokio",
|
||||||
|
"users",
|
||||||
"warp",
|
"warp",
|
||||||
"window-shadows",
|
"window-shadows",
|
||||||
"winreg 0.52.0",
|
"winreg 0.52.0",
|
||||||
|
@ -6048,6 +6049,16 @@ dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "users"
|
||||||
|
version = "0.11.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "24cc0f6d6f267b73e5a2cadf007ba8f9bc39c6a6f9666f8cf25ea809a153b032"
|
||||||
|
dependencies = [
|
||||||
|
"libc",
|
||||||
|
"log 0.4.20",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "utf-8"
|
name = "utf-8"
|
||||||
version = "0.7.6"
|
version = "0.7.6"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user