[TEST] selective sync
This commit is contained in:
parent
be4f67fb60
commit
aee4d3d1f2
15 changed files with 1228 additions and 182 deletions
|
|
@ -10,7 +10,7 @@ const os = require('os')
|
|||
const path = require('path')
|
||||
const { DIRS, readJson, writeJson } = require('./paths')
|
||||
const { prefixPath, prefixLinuxRoot } = require('./prefixes')
|
||||
const { prefixNameForGame, loadSettings } = require('./library')
|
||||
const { prefixNameForGame, loadSettings, appFolder } = require('./library')
|
||||
const i18n = require('./i18n')
|
||||
const { spawnTracked, parseArgs } = require('./runner')
|
||||
const { buildBwrapArgs, SHARE_ROOT, FS_ROOT } = require('./sandbox')
|
||||
|
|
@ -46,7 +46,7 @@ function appShapes(game) {
|
|||
}
|
||||
|
||||
function writableAppDir(game) {
|
||||
const dir = (game && (game.path || (game.exePath && path.dirname(game.exePath)))) || ''
|
||||
const dir = appFolder(game)
|
||||
// realpathSync('') would answer with the cwd - never hand that out
|
||||
if (!dir) return ''
|
||||
let real
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue