|
|
|
@ -40,7 +40,7 @@ app.post('/createShortcut', (req, res) => {
|
|
|
|
|
// const shortcutFileContent = `[InternetShortcut]\nURL=${shortcutURL}`;
|
|
|
|
|
|
|
|
|
|
// linux下创建快捷方式
|
|
|
|
|
const shortcutFolderPath = path.join(folderPath, shortcutName + 'test'+'.desktop');
|
|
|
|
|
const shortcutFolderPath = path.join(folderPath, shortcutName + 'test.desktop');
|
|
|
|
|
const shortcutFileContent = `[Desktop Entry]
|
|
|
|
|
Type=Application
|
|
|
|
|
Name=${shortcutName}
|
|
|
|
|