From 2fe560d2e71a65efac92ed418634d0ce2a2598ca 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 15:22:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B07?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nodeService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodeService.js b/nodeService.js index f721deb..652b7cd 100644 --- a/nodeService.js +++ b/nodeService.js @@ -40,7 +40,7 @@ app.post('/createShortcut', (req, res) => { // const shortcutFileContent = `[InternetShortcut]\nURL=${shortcutURL}`; // linux下创建快捷方式 - const shortcutFolderPath = path.join(folderPath, shortcutName + '.desktop'); + const shortcutFolderPath = path.join(folderPath, shortcutName + 'test'+'.desktop'); const shortcutFileContent = `[Desktop Entry] Type=Application Name=${shortcutName}