add dev rules
This commit is contained in:
parent
6f9c486774
commit
944d8f86c2
9 changed files with 112 additions and 27 deletions
|
|
@ -40,10 +40,7 @@ function createGamesService({ getWindow, onGamesChanged }) {
|
|||
}
|
||||
|
||||
function resolveWine(game) {
|
||||
const system = { id: 'system', type: 'system', label: 'System Wine' }
|
||||
const wanted = game.wine === 'default' ? (library.loadSettings().defaultWine || 'system') : (game.wine || 'system')
|
||||
if (!wanted || wanted === 'system') return system
|
||||
return require('../wines').getWine(wanted) || system
|
||||
return require('../wines').resolveWine(game.wine || 'system')
|
||||
}
|
||||
|
||||
function handleExit(id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue