Skip to content

Commit

Permalink
try setting env vars, see if that fixes it
Browse files Browse the repository at this point in the history
  • Loading branch information
esimkowitz committed Jan 8, 2025
1 parent 09dd9f4 commit 17f1c3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions electron-builder.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ const config = {
confinement: "classic",
allowNativeWayland: true,
artifactName: "${name}_${version}_${arch}.${ext}",
environment: {
XDG_CONFIG_HOME: "$XDG_CONFIG_HOME",
XDG_DATA_HOME: "$XDG_DATA_HOME",
},
},
publish: {
provider: "generic",
Expand Down
2 changes: 0 additions & 2 deletions emain/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ ipcMain.on("get-config-dir", (event) => {
event.returnValue = getWaveConfigDir();
});

correctSnapXdgVars();

export {
getElectronAppBasePath,
getElectronAppUnpackedBasePath,
Expand Down

0 comments on commit 17f1c3c

Please sign in to comment.