Repository: tauri
Issue: [bug] Icons fail to work under Ubuntu 22.04.1 LTS & Tauri 1.1.1
Labels: type: bug,platform: Linux,status: needs triage

### Describe the bug

A placeholder icon (the gear icon below) shows up instead of the given ones. This happens with a *fresh* new [create-tauri-app](https://github.com/tauri-apps/create-tauri-app) application.

![screenshot](https://user-images.githubusercontent.com/37125/191573240-40e448c1-7964-4d5e-a01e-d01b08e0324a.png)

AFAICT, this wasn't happening with Tauri 1.0.x

### Reproduction

The exact steps are shown below, together with part of the output where applicable.

```console
❯ cd /tmp

❯ npm create tauri-app

✔ Project name · tauri-app
✔ Choose your package manager · npm
✔ Choose your UI template · svelte-ts

Please follow https://tauri.app/v1/guides/getting-started/prerequisites to install the needed prerequisites, if you haven't already.

Done, Now run:
  cd tauri-app
  npm install
  npm run tauri dev

❯ cd tauri-app

❯ npm install

added 94 packages, and audited 95 packages in 18s

12 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

❯ npm run tauri dev

> tauri-app@0.0.0 tauri
> tauri "dev"

     Running BeforeDevCommand (`npm run dev`)

> tauri-app@0.0.0 dev
> vite


  VITE v3.1.3  ready in 293 ms

  ➜  Local:   http://localhost:1420/
  ➜  Network: use --host to expose
        Info Watching /tmp/tauri-app/src-tauri for changes...
    Updating crates.io index
   Compiling proc-macro2 v1.0.43
[...]
   Compiling tao v0.14.0
[...]
   Compiling tauri-runtime v0.11.1
[...]
   Compiling wry v0.21.1
[...]
   Compiling tauri-runtime-wry v0.11.1
[...]
   Compiling tauri v1.1.1
[...]
   Compiling webkit2gtk-sys v0.18.0
[...]
   Compiling tauri-utils v1.1.1
[...]
   Compiling tauri-codegen v1.1.1
   Compiling tauri-build v1.1.1
   Compiling tauri-macros v1.1.1
   Compiling tauri-app v0.0.0 (/tmp/tauri-app/src-tauri)
[...]
   Compiling webkit2gtk v0.18.0
    Finished dev [unoptimized + debuginfo] target(s) in 2m 12s

```

### Expected behavior

The vanilla icons under `tauri-app/src-tauri/icons` to appear, e.g.,

![128x128@2x](https://user-images.githubusercontent.com/37125/191574240-d2196844-81b3-4173-8397-5a43077d38d0.png)


### Platform and versions

```console
❯ npm run tauri info

> tauri-app@0.0.0 tauri
> tauri "info"


Environment
  › OS: Ubuntu 22.04 X64
  › Node.js: 16.14.1
  › npm: 8.5.0
  › pnpm: Not installed!
  › yarn: Not installed!
  › rustup: 1.25.1
  › rustc: 1.63.0
  › cargo: 1.63.0
  › Rust toolchain: stable-x86_64-unknown-linux-gnu

Packages
  › @tauri-apps/cli [NPM]: 1.1.1
  › @tauri-apps/api [NPM]: 1.1.0
  › tauri [RUST]: 1.1.1,
  › tauri-build [RUST]: 1.1.1,
  › tao [RUST]: 0.14.0,
  › wry [RUST]: 0.21.1,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../dist
  › devPath: http://localhost:1420/
  › framework: Svelte

App directory structure
  ├─ node_modules
  ├─ .vscode
  ├─ public
  ├─ src-tauri
  └─ src

❯ neofetch
            .-/+oossssoo+/-.               schneider@apollo14
        `:+ssssssssssssssssss+:`           ------------------
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 22.04.1 LTS x86_64
    .ossssssssssssssssssdMMMNysssso.       Kernel: 5.15.0-48-generic
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Uptime: 4 hours, 1 min
  +ssssssssshmydMMMMMMMNddddyssssssss+     Packages: 3501 (dpkg), 8 (snap)
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Shell: zsh 5.8.1
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Resolution: 1920x1080
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   DE: GNOME
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM Theme: Adwaita
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Theme: Yaru-magenta-dark [GTK2/3]
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Icons: Yaru-magenta [GTK2/3]
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Terminal: tmux
  +sssssssssdmydMMMMMMMMddddyssssssss+     CPU: AMD Ryzen 5 1600 (12) @ 3.200GHz
   /ssssssssssshdmNNNNmyNMMMMhssssss/      GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/5
    .ossssssssssssssssssdMMMNysssso.       Memory: 5213MiB / 15929MiB
      -+sssssssssssssssssyyyssss+-
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.




```

### Stack trace

EDIT: see above, or

```console
❯ npm run tauri dev

> tauri-app@0.0.0 tauri
> tauri "dev"

     Running BeforeDevCommand (`npm run dev`)

> tauri-app@0.0.0 dev
> vite


  VITE v3.1.3  ready in 380 ms

  ➜  Local:   http://localhost:1420/
  ➜  Network: use --host to expose
        Info Watching /tmp/tauri-app/src-tauri for changes...
   Compiling tauri-app v0.0.0 (/tmp/tauri-app/src-tauri)
    Finished dev [unoptimized + debuginfo] target(s) in 14.47s

```


### Additional context

EDIT 2: the built executable (`./src-tauri/target/release/tauri-app`) also doesn't show the correct icon. [build-deb.zip](https://github.com/tauri-apps/tauri/files/9619259/build-deb.zip) contains the generated `.deb` file if that's useful.