Skip to content

Commit 17f96ec

Browse files
authored
Merge pull request #244 from prixe/improve-linux-build
Improve linux build
2 parents d0e4967 + caa549d commit 17f96ec

File tree

11 files changed

+12
-2
lines changed

11 files changed

+12
-2
lines changed

electron-builder.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
"CHANGELOG.md",
1313
"LICENCE"
1414
],
15+
"extraResources": [
16+
{
17+
"from": "resources/icon.png",
18+
"to": "icon.png"
19+
}
20+
],
1521
"win": {
1622
"icon": "resources/icon.ico",
1723
"target": [
@@ -60,7 +66,8 @@
6066
"linux": {
6167
"executableName": "Lindo",
6268
"description": "Lindo Client for Linux",
63-
"icon": "resources/icon.png",
69+
"icon": "resources/icons",
70+
"desktop": "resources/lindo.desktop",
6471
"target": [
6572
{
6673
"target": "AppImage",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"private": true,
55
"version": "3.0.0-rc.3",
66
"description": "Play Dofus Touch on Linux/OS X/Window",
7+
"homepage": "https://github.com/prixe/lindo",
78
"author": "Zenoxs <[email protected]>",
89
"license": "GPL-3.0",
910
"main": "dist/main/index.cjs",

packages/main/windows/game-window.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { generateUserArgent } from '../utils'
88
import { logger } from '../logger'
99
import { observe } from 'mobx'
1010
import { electronLocalshortcut } from '@hfelix/electron-localshortcut'
11+
import { platform } from 'os'
1112

1213
type GameWindowEvents = {
1314
close: (event: Event) => void
@@ -57,6 +58,7 @@ export class GameWindow extends (EventEmitter as new () => TypedEmitter<GameWind
5758
this._win = new BrowserWindow({
5859
show: false,
5960
resizable: true,
61+
frame: platform() !== 'linux',
6062
title: 'Lindo',
6163
fullscreenable: true,
6264
fullscreen: this._store.optionStore.window.fullScreen,

resources/icons/1024x1024.png

874 KB
Loading

resources/icons/128x128.png

22.7 KB
Loading

resources/icons/16x16.png

1.36 KB
Loading

resources/icons/256x256.png

70.6 KB
Loading

resources/icons/32x32.png

3.06 KB
Loading

resources/icons/512x512.png

237 KB
Loading

resources/icons/64x64.png

7.82 KB
Loading

0 commit comments

Comments
 (0)