mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-08-06 10:23:57 +08:00
chore: APM桌面快捷方式补丁修正权限0755 -> 0644
This commit is contained in:
@@ -142,7 +142,7 @@ const createApmDesktopShortcut = async (
|
||||
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}`);
|
||||
logger.info(`Wrote shortcut ${destPath} for ${pkgname}.`);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user