chore: APM桌面快捷方式补丁修正权限0755 -> 0644

This commit is contained in:
MarcusPy827
2026-06-30 03:44:57 +08:00
parent 51d7e1870c
commit 2efea67a60
+1 -1
View File
@@ -142,7 +142,7 @@ const createApmDesktopShortcut = async (
const content = await fsp.readFile(srcPath, "utf-8"); const content = await fsp.readFile(srcPath, "utf-8");
// 写入用户桌面,顺带处理一下权限问题 // 写入用户桌面,顺带处理一下权限问题
await fsp.writeFile(destPath, content, { mode: 0o755 }); await fsp.writeFile(destPath, content, { mode: 0o644 });
sendLog(`Wrote desktop shortcut: ${file}`); sendLog(`Wrote desktop shortcut: ${file}`);
logger.info(`Wrote shortcut ${destPath} for ${pkgname}.`); logger.info(`Wrote shortcut ${destPath} for ${pkgname}.`);
return; return;