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

AppImage requires a 256x256 icon #749

Closed
lucasfernog opened this issue Jul 4, 2020 · 4 comments
Closed

AppImage requires a 256x256 icon #749

lucasfernog opened this issue Jul 4, 2020 · 4 comments

Comments

@lucasfernog
Copy link
Member

This line of code assumes that a 256x256 icon is built:

cp usr/share/icons/hicolor/256x256/apps/{{app_name}}.png {{app_name}}.png

Tauri by default ships a 128x128@2x icon so it always works under our template, but we should fix that.

@nothingismagick
Copy link
Member

@lucasfernog - did we ever resolve this?

@lucasfernog
Copy link
Member Author

I'll be updating the bundler config soon and will make sure this is fixed.

@TomaszWaszczyk
Copy link

I still got the error:

thread 'main' panicked at /home/tomek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-bundler-1.2.1/src/bundle/linux/appimage.rs:73:6:
couldn't find a square icon to use as AppImage icon
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@ekkolon
Copy link

ekkolon commented Oct 23, 2024

I also encountered this error when trying to build my Tauri v2 app without specifying an icon in the bundle.icons field of the tauri.conf.json file.

Example

BEFORE

{
    ...
    "bundle": {
        "icons": []
    }
}

AFTER

{
    ...
    "bundle": {
        "icons": ["icons/Square310x310.png"]
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants