master
鲁誉程 9 months ago
parent 184422b0c0
commit 26597a470e

@ -45,7 +45,7 @@ app.post('/createShortcut', (req, res) => {
Type=Application Type=Application
Name=${shortcutName} Name=${shortcutName}
Exec=xdg-open ${shortcutURL} Exec=xdg-open ${shortcutURL}
Icon=application-icon`; Icon=chromium-browser`;
fs.writeFile(shortcutFolderPath, shortcutFileContent, (err) => { fs.writeFile(shortcutFolderPath, shortcutFileContent, (err) => {
if (err) { if (err) {

Loading…
Cancel
Save