Skip to content

[bug] config mainBinaryName of tauri is incorrect after compilation on Windows 10 #13420

@muwoo

Description

@muwoo

Describe the bug

My configuration is this:

{
  "mainBinaryName": "test3.0"
}

The compiled product specifies the nsis installation package, but the binary name after installation is test3.exe. It seems that the .0 is cut off.

The format I want should be test3.0.exe

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.19045 x86_64 (X64)
    ✔ WebView2: 136.0.3240.50
    ✔ MSVC: Visual Studio 生成工具 2022
    ✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
    ✔ cargo: 1.77.2 (e52e36006 2024-03-26)
    ✔ rustup: 1.28.1 (f9edccde0 2025-03-05)
    ✔ Rust toolchain: 1.77.2-x86_64-pc-windows-msvc (default)
    - node: 20.11.1
    - pnpm: 7.33.7
    - yarn: 1.22.22
    - npm: 10.9.2

[-] Packages
    - tauri 🦀: 2.2.3, (outdated, latest: 2.5.1)
    - tauri-build 🦀: No version detected
    - wry 🦀: 0.48.1, (outdated, latest: 0.51.2)
    - tao 🦀: 0.31.1, (outdated, latest: 0.33.0)
    - @tauri-apps/api : 2.5.0
    - @tauri-apps/cli : 2.5.0

[-] Plugins
    - tauri-plugin-opener 🦀: 2.2.6
    - @tauri-apps/plugin-opener : 2.2.6

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite
Done in 24.32s.

Stack trace


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions