fix: script error

This commit is contained in:
MystiPanda
2024-03-31 16:37:33 +08:00
Unverified
parent 3b06cf8a2a
commit ddab131102
2 changed files with 12 additions and 1 deletions

View File

@@ -361,7 +361,7 @@ const resolveLinuxServicePermission = async () => {
"uninstall-service",
];
const resDir = path.join(cwd, "src-tauri/resources");
for (f of serviceExecutables) {
for (let f of serviceExecutables) {
const targetPath = path.join(resDir, f);
if (await fs.pathExists(targetPath)) {
execSync(`chmod 755 ${targetPath}`);