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] Packaging Chinese Error Messages on Windows #7089

Closed
JCAlways opened this issue May 31, 2023 · 1 comment
Closed

[bug] Packaging Chinese Error Messages on Windows #7089

JCAlways opened this issue May 31, 2023 · 1 comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@JCAlways
Copy link

JCAlways commented May 31, 2023

Describe the bug

ProductName cannot be packaged when in Chinese

tauri.conf.json

  "package": {
    "productName": "智慧浩翔",
    "version": "0.2.0"
  },

use yarn tauri build

PS D:\Code\Test\tauri-template> yarn tauri build
yarn run v1.22.19
warning package.json: No license field
$ D:\Code\Test\tauri-template\node_modules\.bin\tauri build
   Compiling app v0.1.5 (D:\Code\Test\tauri-template\src-tauri)
    Finished release [optimized] target(s) in 33.65s
        Info Target: x64
 Downloading https://go.microsoft.com/fwlink/p/?LinkId=2124703
     Running candle for "main.wxs"
     Running light to produce D:\Code\Test\tauri-template\src-tauri\target\release\bundle\msi\智慧浩翔_0.2.0_x64_zh-CN.msi
        Info Target: x64
 Downloading https://go.microsoft.com/fwlink/p/?LinkId=2124703
     Running makensis.exe to produce D:\Code\Test\tauri-template\src-tauri\target\release\bundle\nsis\智慧浩翔_0.2.0_x64-setup.exe
File: "D:\Code\Test\tauri-template\src-tauri\target\release\鏅烘収娴╃繑.exe" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "D:\Code\Test\tauri-template\src-tauri\target\release\nsis\x64\installer.nsi" on line 425 -- aborting creation process
       Error failed to bundle project: `系统找不到指定的文件。 (os error 2)`
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Reproduction

No response

Expected behavior

No response

Platform and versions

[✔] Environment
    - OS: Windows 10.0.25375 X64
    ✔ WebView2: 113.0.1774.57
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.69.0 (84c898d65 2023-04-16)
    ✔ Cargo: 1.69.0 (6e9a83356 2023-04-12)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 16.16.0
    - yarn: 1.22.19
    - npm: 8.11.0

[-] Packages
    - tauri [RUST]: 1.3.0
    - tauri-build [RUST]: 1.3.0
    - wry [RUST]: 0.24.3
    - tao [RUST]: 0.16.2
    - @tauri-apps/api [NPM]: not installed!
    - @tauri-apps/cli [NPM]: 1.3.1

[-] App
    - build-type: bundle
    - CSP: default-src 'self'; img-src 'self' asset: https://asset.localhost
    - distDir: https://oa.haoxianggroup.cn/
    - devPath: https://oa.haoxianggroup.cn/

Stack trace

No response

Additional context

No response

@JCAlways JCAlways added status: needs triage This issue needs to triage, applied to new issues type: bug labels May 31, 2023
@FabianLars
Copy link
Member

Duplicate of #7036. This should be fixed in the next release, thanks for the report :)

@FabianLars FabianLars closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2023
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

2 participants