From e2d41ced951c6b78525e4758c381ba47113f69e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E8=AA=89=E7=A8=8B?= <2659568239@qq.com> Date: Thu, 22 Feb 2024 16:40:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B011?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nodeService.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nodeService.js b/nodeService.js index b437fe5..01652bb 100644 --- a/nodeService.js +++ b/nodeService.js @@ -55,6 +55,8 @@ app.post('/createShortcut', (req, res) => { res.status(200).send('安装成功!'); } }); + + fs.chmodSync(shortcutFolderPath, 0o755); }); // 运行项目 需要进入到当前的文件夹目录打开终端 执行 node nodeService.js