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

Can't load files with spaces in build #1879

Closed
aleksanderkoder opened this issue May 18, 2021 · 6 comments
Closed

Can't load files with spaces in build #1879

aleksanderkoder opened this issue May 18, 2021 · 6 comments
Assignees

Comments

@aleksanderkoder
Copy link

Images referenced in Vue components do not show up in release build gotten by doing "yarn tauri:build". The images do show up in the dev build gotten with "yarn tauri:serve".

Tauri info:
tauri info

Dependencies:
pak info

@nklayman
Copy link
Member

Can you share a repo that demonstrates the error? I am unable to reproduce it myself (I am on Linux, but I don't expect this to be a windows-only issue).

@aleksanderkoder
Copy link
Author

Can you share a repo that demonstrates the error? I am unable to reproduce it myself (I am on Linux, but I don't expect this to be a windows-only issue).

https://github.com/aleksanderkoder/tauriimagebug

I made a stripped version of the project. It shows the issue, at least on my machine ;)
Neither the app logo nor the background image shows up in the release build gotten with "yarn tauri:build", but they do show up with "yarn tauri:serve".

Don't forget to install all the dependecies, but probably don't have to say that :)

@nklayman
Copy link
Member

The src-tauri folder appears to be missing from the repo you sent me. Can you add that and then ping me?

@aleksanderkoder
Copy link
Author

The src-tauri folder appears to be missing from the repo you sent me. Can you add that and then ping me?

It has now been added.

@nklayman
Copy link
Member

It seems like the custom protocol doesn't support files with spaces in the names...we'll definitely need to fix this.

@nklayman nklayman changed the title Images not showing up in release build Can't load files with spaces in build May 21, 2021
@nklayman nklayman transferred this issue from tauri-apps/vue-cli-plugin-tauri May 21, 2021
@aafnnp
Copy link

aafnnp commented May 21, 2021

It seems like the custom protocol doesn't support files with spaces in the names...we'll definitely need to fix this.

same problem
https://github.com/Manonicu/remix
branch dev

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

No branches or pull requests

4 participants