Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display app version dynamically in StatusBar #50

Closed
fmaclen opened this issue Aug 26, 2022 · 0 comments
Closed

Display app version dynamically in StatusBar #50

fmaclen opened this issue Aug 26, 2022 · 0 comments
Labels
Electron Involves Electron's code enhancement New feature or request SvelteKit Involves SvelteKit's code

Comments

@fmaclen
Copy link
Owner

fmaclen commented Aug 26, 2022

If we can't read the app version in SvelteKit from it's package.json we could could use Electrons app.getVersion() and pass it as an environment variable, for example: ELECTRON_APP_VERSION.

@fmaclen fmaclen added enhancement New feature or request Electron Involves Electron's code SvelteKit Involves SvelteKit's code 1.0 labels Aug 26, 2022
fmaclen added a commit that referenced this issue Aug 26, 2022
@fmaclen fmaclen closed this as completed Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Electron Involves Electron's code enhancement New feature or request SvelteKit Involves SvelteKit's code
Projects
None yet
Development

No branches or pull requests

1 participant