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

[bug] On the Linux system, the product name does not support Chinese #5860

Closed
luoffei opened this issue Dec 19, 2022 · 0 comments
Closed

[bug] On the Linux system, the product name does not support Chinese #5860

luoffei opened this issue Dec 19, 2022 · 0 comments
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@luoffei
Copy link
Contributor

luoffei commented Dec 19, 2022

Describe the bug

thread '<unnamed>' panicked at 'failed to rename app: failed to rename `/root/example/target/debug/example` to `/root/example/target/debug`

Caused by:
    Directory not empty (os error 39)', src/interface/rust/desktop.rs:42:58

let product_name = product_name.to_kebab_case();

Reproduction

  1. Configure Chinese name in productName in tauri.conf.json
  2. Execute cargo tauri dev or cargo tauri build on the Linux system

Expected behavior

No response

Platform and versions

Environment
  › OS: Manjaro 22.0.0 X64
  › Node.js: 14.20.1
  › npm: 6.14.17
  › pnpm: Not installed!
  › yarn: Not installed!
  › rustup: 1.25.1
  › rustc: 1.65.0
  › cargo: 1.65.0
  › Rust toolchain: 1.65-x86_64-unknown-linux-gnu 

Packages
WARNING: no lock files found, defaulting to npm
  › @tauri-apps/cli [NPM]: 1.2.2
  › @tauri-apps/api [NPM]: Not installed!
  › tauri [RUST]: git+https://github.com/luoffei/tauri.git?branch=1.2.2#bb16b0343aa6c3a15dff3ce14a1ff1c8f36f5c12 (1.2.2),
  › tauri-build [RUST]: git+https://github.com/luoffei/tauri.git?branch=1.2.2#bb16b0343aa6c3a15dff3ce14a1ff1c8f36f5c12 (1.2.1),
  › tao [RUST]: 0.15.7,
  › wry [RUST]: git+https://github.com/luoffei/wry.git?branch=wry-v0.23.3#15e480d03864622deb9d7c3352a64d0a4b03d708 (0.23.3),

Stack trace

No response

Additional context

When adding dependent crate heck, specify the feature unicode
image

@luoffei luoffei added status: needs triage This issue needs to triage, applied to new issues type: bug labels Dec 19, 2022
@luoffei luoffei changed the title On the Linux system, the product name does not support Chinese [bug] On the Linux system, the product name does not support Chinese Dec 19, 2022
luoffei pushed a commit to luoffei/tauri that referenced this issue Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

1 participant