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

Presentation: Unable to find assets when the app is running from an archive #5973

Closed
grigasp opened this issue Sep 12, 2023 · 0 comments · Fixed by iTwin/imodel-native#467 or #6031
Closed
Assignees
Labels
bug Something isn't working presentation Issues related to presentation library
Milestone

Comments

@grigasp
Copy link
Member

grigasp commented Sep 12, 2023

We're loading our backend assets from native library, which makes it not possible to find them when the app is running from an ASAR archive (https://www.electronjs.org/docs/latest/tutorial/asar-archives).

One solution is for the application to extract assets from the archive and configure the paths when initializing presentation backend, but that's far from ideal. Needs investigation.

@grigasp grigasp added bug Something isn't working presentation Issues related to presentation library labels Sep 12, 2023
@grigasp grigasp transferred this issue from iTwin/presentation Sep 12, 2023
@grigasp grigasp changed the title Unable to find assets when the app is running from an archive Presentation: Unable to find assets when the app is running from an archive Sep 12, 2023
@grigasp grigasp added this to the iTwin.js 4.2 milestone Sep 12, 2023
@grigasp grigasp self-assigned this Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment