Compare commits

...

2 Commits

Author SHA1 Message Date
Kendall Garner a2cdce66bc chore(github): update bug report template 2026-05-27 21:20:08 -07:00
Jonathan Grotelüschen 7454832663 fix: set RESOURCES_PATH relative to app.getAppPath() (#2064)
When running the app with system electron, process.resourcesPath points
to the resources folder of the system electron, not the one from
feishin.
2026-05-27 20:01:54 -07:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ body:
- type: checkboxes - type: checkboxes
id: check-duplicate id: check-duplicate
attributes: attributes:
label: I have already checked through the existing bug reports and found no duplicates label: I have already checked through the existing (both open AND closed) bug reports and found no duplicates
options: options:
- label: 'Yes' - label: 'Yes'
required: true required: true
+1 -1
View File
@@ -335,7 +335,7 @@ if (isDevelopment) {
} }
const RESOURCES_PATH = app.isPackaged const RESOURCES_PATH = app.isPackaged
? path.join(process.resourcesPath, 'assets') ? path.join(path.dirname(app.getAppPath()), 'assets')
: path.join(__dirname, '../../assets'); : path.join(__dirname, '../../assets');
const getAssetPath = (...paths: string[]): string => { const getAssetPath = (...paths: string[]): string => {