Skip to content

Systray icon not showing in newest releases #2493

@guillemcordoba

Description

@guillemcordoba

Describe the bug

The systray icon is not shown in cli.js v1.0.0-beta.8 and v1.0.0-beta.9, although it works perfectly fine. I have also been able to reproduce the issue with the example/api from the core tauri repo.

With the same setup, the icon is shown in cli.js v1.0.0-beta.6

To Reproduce

Steps to reproduce the behavior:

  1. Add a systray icon in tauri.conf.json.
  2. Update to cli.js v1.0.0-beta.8.
  3. Run npm run tauri build
  4. Execute the resulting .AppImage

Expected behavior

The icon has to show without issues.

Screenshots

Peek 2021-08-19 18-53

Platform and Versions (required):

Operating System - Ubuntu, version 20.04 X64

Node.js environment
  Node.js - 16.7.0
  @tauri-apps/cli - 1.0.0-beta.7
  @tauri-apps/api - 1.0.0-beta.6

Global packages
  npm - 7.20.3
  yarn - 1.22.5

Rust environment
  rustc - 1.53.0
  cargo - 1.53.0

App directory structure
/node_modules
/scripts
/.git
/.github
/public
/src
/tests
/src-tauri

App
  tauri.rs - 1.0.0-beta.7
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - Set automatically by Vue CLI plugin
  devPath - Set automatically by Vue CLI plugin
  framework - Vue.js (Vue CLI)
  bundler - Webpack

I'm not sure why it says @tauri-apps/cli - 1.0.0-beta.7, I have double checked and the version that is executing is 1.0.0-beta.8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions