|
|
@ -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) {
|
|
|
|