add dev rules
This commit is contained in:
parent
6f9c486774
commit
944d8f86c2
9 changed files with 112 additions and 27 deletions
|
|
@ -63,8 +63,7 @@ function buildDesktopEntry(game) {
|
|||
} catch {}
|
||||
if (!icon) {
|
||||
// fall back to the launcher icon so the shortcut is never naked
|
||||
const png = path.resolve(__dirname, '..', 'renderer', 'plwl.png')
|
||||
if (fs.existsSync(png)) icon = png
|
||||
icon = require('./paths').launcherIconPath() || ''
|
||||
}
|
||||
const lines = [
|
||||
'[Desktop Entry]',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue