Skip to content

Commit c9c4989

Browse files
[FIX] Update nile to not use XDG_CONFIG_HOME (#3074)
[FIX] Update nile to not using XDG_CONFIG_HOME
1 parent 2017f97 commit c9c4989

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

public/bin/darwin/nile

6.33 KB
Binary file not shown.

public/bin/linux/nile

7.01 KB
Binary file not shown.

public/bin/win32/nile.exe

100644100755
8.35 KB
Binary file not shown.

src/backend/storeManagers/nile/library.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -465,15 +465,15 @@ export async function runRunnerCommand(
465465
): Promise<ExecResult> {
466466
const { dir, bin } = getNileBin()
467467

468-
// Set XDG_CONFIG_HOME to a custom, Heroic-specific location so user-made
469-
// changes to Legendary's main config file don't affect us
468+
// Set NILE_CONFIG_PATH to a custom, Heroic-specific location so user-made
469+
// changes to Nile's main config file don't affect us
470470
if (!options) {
471471
options = {}
472472
}
473473
if (!options.env) {
474474
options.env = {}
475475
}
476-
options.env.XDG_CONFIG_HOME = dirname(nileConfigPath)
476+
options.env.NILE_CONFIG_PATH = dirname(nileConfigPath)
477477

478478
return callRunner(
479479
commandParts,

0 commit comments

Comments
 (0)