-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[bug] Built AppImage is seemingly broken due to libgstreamer
not being included
#4092
Comments
Ayy kinda forgot about it in the end, so thanks for the issue. My current plan is, because it turns out to be a little involved, to add a config option like you suggested on discord and use the linuxdeploy gstreamer plugin. That said, if it turns out that the size difference is small enough it will be always bundled without a config. |
Quick update: I got it kinda working cross-platform (needs quite some cleanup tho). By just copying the whole folder, the size increase is pretty huge tho (using mw-toolbox):
i don't really know if it's worth to explore selectively copying files here as I just don't see a way to figure out what's needed. at the moment i'm still trying to figure out how to fix gio/glib-networking to use the system's certificates. If i can't figure that out soon enough i will go ahead and open a PR for the gstreamer stuff alone. (btw if anybody has an idea about glib-networking inside appimages, please reach out to me 😢 ) |
So i didn't have time to work on it today but got a question before creating a PR and forking the linuxdeploy plugin. On the topic of the certificate thing, i think i got it or at least got closer, but i was bound to windows the whole day so couldn't actually test it out. But seriously, this certificate stuff is the worst thing ever. Edit: in all honesty I don't see us providing built-in support for building appimages in later tauri releases at this point... I personally only see it as a temporary alternative until we introduce support for rpm, flatpak&flathub and whatever else. |
AppImage sucks I know. I'd add an option to include the audio|video stuff. |
Describe the bug
I've ran into this issue using an AppImage built via GitHub actions (Ubuntu 20.04) as well as reproduced it on a fresh Ubuntu 22.04 VM. It was also discussed in the discord and I was also able to fix the issue by using the same workaround - https://discord.com/channels/616186924390023171/731495064508825731/968988490769526794
I'm making this issue because it's still a consistent problem on my end and I didn't see a proper issue get made -- just want something to track.
Without the workaround running the AppImage results in the following logs and the App does not startup properly:
Manually including libgstreamer with the workaround:
Results in an AppImage that works and has no similar error/warning logs
Reproduction
No response
Expected behavior
No response
Platform and versions
`npm run tauri info`
Environment
› OS: Ubuntu 22.04 X64
› Node.js: 16.15.0
› npm: 8.5.5
› pnpm: Not installed!
› yarn: Not installed!
› rustup: Not installed!
› rustc: 1.58.1
› cargo: 1.57.0
› Rust toolchain:
Packages
› @tauri-apps/cli [NPM]: 1.0.0-rc.10
› @tauri-apps/api [NPM]: 1.0.0-rc.5
› tauri [RUST]: 1.0.0-rc.8,
› tauri-build [RUST]: 1.0.0-rc.7,
› tao [RUST]: 0.8.3,
› wry [RUST]: 0.15.1,
App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:3000/
› framework: Svelte
App directory structure
├─ public
├─ .github
├─ src
├─ scripts
├─ node_modules
├─ docs
├─ third-party
├─ dist
├─ src-tauri
├─ .vscode
├─ backup
├─ .git
├─ .tauri
└─ bundle-test
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: