Skip to content

fix __dirname is not defined#6716

Closed
zanesq wants to merge 1 commit intokeyboard-shortcut-settingsfrom
zane/keyboard-shortcut-settings
Closed

fix __dirname is not defined#6716
zanesq wants to merge 1 commit intokeyboard-shortcut-settingsfrom
zane/keyboard-shortcut-settings

Conversation

@zanesq
Copy link
Collaborator

@zanesq zanesq commented Jan 26, 2026

Follow for #6711 to fix

08:45:24.213 › from renderer: [ERROR] ReferenceError: __dirname is not defined

    at Lazy (<anonymous>)
    at ErrorBoundary (http://localhost:5173/src/components/ErrorBoundary.tsx:89:5)
    at ConfigProvider (http://localhost:5173/src/components/ConfigContext.tsx:24:34)
    at Suspense (<anonymous>)

@zanesq zanesq mentioned this pull request Jan 26, 2026
@DOsinga
Copy link
Collaborator

DOsinga commented Jan 26, 2026

thanks for diving on to this. I guess this was the original reason why getSettings returned an unknown then :)

I am not sure this is the way. shouldn't we make it so that everything is importable, except for main.ts? or maybe we should have an electron folder? I just think we need to keep the electron stuff nice and separated.

@zanesq zanesq closed this Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants