Skip to content

[bug] wrong language code in allowlist for msi bundle #4437

@dolsup

Description

@dolsup

Describe the bug

Legitimate BCP 47 Code for Korean is ko-KR.
but ko-KO is specified in the file which is used as allowlist.

So, bundling Windows msi fails when tauri.bundle.windows.wix.language in tauri.conf.json is ko-KR.

thread '<unnamed>' panicked at 'Language ko-KR not found. It must be one of et-EE, he-IL, hr-HR, tr-TR, de-DE, pl-PL, sr-Latn-CS, it-IT, eu-ES, da-DK, hu-HU, jp-JP, fi-FI, en-US, es-ES, ca-ES, sk-SK, ro-RO, zh-TW, lt-LT, ru-RU, sv-SE, th-TH, ar-SA, uk-UA, nb-NO, zh-CN, bg-BG, nl-NL, ko-KO, el-GR, sl-SI, vi-VN, lv-LV, cs-CZ, pt-PT, fr-FR, pt-BR', D:\a\tauri\tauri\tooling\bundler\src\bundle\windows\msi\wix.rs:636:7

Reproduction

No response

Expected behavior

ko-KR should be valid language code for the config

Platform and versions

GitHub Actions

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: bundlerThe bundler used in our cli to make installerstype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions