summarylogtreecommitdiffstats
path: root/duelyst_linux.diff
blob: 28d32d1d289bdefa1c3ebfb3442929254766ec58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
58a59,60
>   argv.token = '32432543254'
> 
62,74d63
<   if (pkgJson.name === 'duelyst' && argv.token === undefined) {
<     dialog.showMessageBox({
<       type: 'error',
<       title: 'ERROR',
<       message: 'Please use the launcher to start Duelyst',
<       detail: 'You cannot start the Duelyst executable directly.',
<       buttons: []
<     }, app.quit)
<     return
<   }
< 
< 	// if using steam, attempt to initialize steamworks api
< 	// otherwise display dialog erroring out
94c83
<   if (process.platform === 'win32') setupWin32Shortcuts()
---
>   if (process.platform === 'win32' || process.platform === 'linux') setupWin32Shortcuts()