autoStart/linux: tweak desktop file

This commit is contained in:
Ducko 2023-03-23 20:53:23 +00:00
parent 40b27dd1b8
commit 3279282c96
1 changed files with 1 additions and 4 deletions

View File

@ -13,12 +13,9 @@ const exec = app.getPath('exe');
const desktopContent = `[Desktop Entry] const desktopContent = `[Desktop Entry]
Type=Application Type=Application
Exec=${exec} Exec=${exec}
Hidden=false
NoDisplay=false
Name=${basename(process.execPath)} Name=${basename(process.execPath)}
Icon=${join(global.systemElectron ? '/usr/share/pixmaps' : dirname(exec), 'discord.png')} Icon=${join(global.systemElectron ? '/usr/share/pixmaps' : dirname(exec), 'discord.png')}
Comment=Text and voice chat for gamers. Comment=Text and voice chat for gamers.`;
X-GNOME-Autostart-enabled=true`;
exports.install = (cb) => { exports.install = (cb) => {
try { try {