-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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] Gstreamer issues under Arch Linux when using AppImage #4642
Comments
That said, you don't want to build distributable apps on arch anyway, because these apps can only work on rolling release distros then. "Build your app on the oldest system you want to support", see https://tauri.app/v1/guides/distribution/linux#limitations |
I'm fine with not supporting older versions of operating systems. 🤷🏼 I would have not looked into app images if this wouldn't be a default bundle, and thus I checked both. AppImage wasn't working so I was curious what I did wrong. Maybe the solution would be to remove AppImages altogether as standard bundle? Would be kinda neat if tauri could output PKGBUILD files, so not "arch packages" (which cannot be distributed that easily) but just the build instructions to create tauri apps locally. So kinda like #3728, but just creating the main file from the config file and place everything else necessary as dependency or as files next to it. This way tauri packages can be easily shared on the AUR, with only the need to place binary files, like sidecars (if not possible to put them in a dedicated package) on a server. |
Same issue:
on KDE Neon with Ubuntu 20.04 base. |
@erayerdin it's not the same issue, you just didn't build your app with the mentioned |
it does not work, here is the environment:
{
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"build": {
"beforeBuildCommand": "",
"beforeDevCommand": "",
"devPath": "../dist",
"distDir": "../dist"
},
"package": {
"productName": "taurapp",
"version": "0.1.2-alpha"
},
"tauri": {
"allowlist": {
"all": true
},
"bundle": {
"appimage": {
"bundleMediaFramework": true
},
"active": true,
"category": "DeveloperTool",
"copyright": "",
"deb": {
"depends": []
},
"externalBin": [],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"identifier": "com.erayerdin.taurapp",
"longDescription": "",
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null
},
"resources": [],
"shortDescription": "",
"targets": "all",
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": ""
}
},
"security": {
"csp": null
},
"updater": {
"active": false
},
"windows": [
{
"fullscreen": false,
"height": 600,
"resizable": true,
"title": "TaurApp",
"width": 800
}
],
"systemTray": {
"iconPath": "icons/128x128.png",
"iconAsTemplate": true
}
}
} Runtime environment is KDE Neon with Ubuntu 20.04 base. The project is open source and hosted here. It logs out these on launch:
Whether you set |
@spirityy Can you do below? rm src-tauri/target/release/bundle/appimage/*.AppDir/ -rfv I have just realized that it fails to build similar to your case if |
it works! thx. |
Hi! Just confirming that this is still an issue using Arch and Tauri 1.3
|
Issue persists in the latest 2.0.0 alpha releases
|
Installing the
|
我也遇到这个问题,也是archlinux |
I'm encountering similar issue, but I'm running on Ubuntu-22.04. No idea what the issue is as the logs are not clear.
EDIT: For me it was missing |
Describe the bug
I try to create a simple App which shows a single website. The idea is to replicate the functionality of electron-nativefier. I thought I start with WhatsApp:
https://github.com/RubenKelevra/whatsapp-tauri
When I set
tauri.bundle.appimage.bundleMediaFramework
totrue
, the compilation will fail with this error:When I set it to
false
the build process works fine, but I won't be able to use it: The main window launches but the window-content remains white blank and that's it.On the console the appimage will print the following:
The deb builds fine and does start and render the website. There's also audio playback possible.
The system is ArchLinux with Linux
5.18.8-xanmod1
, I use KDE 5.25.2 and the user session runs on Wayland 1.21.0. Arch Linux already uses pipewire - so maybe there are some incompatibilities? Tauri gets compiled with Rust 1.62.0, and I've just set up the development environment yesterday by running:The release binaries are build with the standard
cargo tauri build
.I've installed the necessary packages from the Readme for Arch Linux:
Reproduction
OR
tauri.bundle.appimage.bundleMediaFramework
set to trueExpected behavior
Build and runs fine, regardless of the flag.
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: