-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
(build.productName に NFC 文字を含むと macOS アプリが起動せずクラッシュする)
-
electron-builder Version
26.0.12 -
Operating System Version
macOS 15.6.1 (24G90)- Only occurs with macOS build apps.
macOS ビルド・アプリでのみ発生する。
- Only occurs with macOS build apps.
-
What arch are you using?
Intel Xeon W -
Expected Behavior
macOS app launches with or without NFC characters in build.productName.
build.productName に NFC 文字を含んでいてもいなくても、macOS アプリが起動する -
Actual Behavior
Application crashes when starting.- In the past there was a bug where it would crash if it contained NFD, but now it doesn't crash, it just crashes if it contains NFC characters.
- 過去に NFD が含まれているとクラッシュする不具合がありましたが、今はクラッシュせず、NFC 文字を含むとクラッシュします。
- electron-userland/electron-builder macOS application crashes if the name contains NFD-normalized characters #7926
- 過去に NFD が含まれているとクラッシュする不具合がありましたが、今はクラッシュせず、NFC 文字を含むとクラッシュします。
- In the past there was a bug where it would crash if it contained NFD, but now it doesn't crash, it just crashes if it contains NFC characters.
-
Test Project
I will attach it.
https://www.dropbox.com/scl/fi/uy7ybac98zvqf18jn2gw4/electron-title.zip?rlkey=wcmj22jhud64sfbbkwkkpzbug&dl=0 -
Steps to Reproduce(再現手順)
- Unzip the test project and run "npm i".
- テストプロジェクトを解凍し、「npm i」。
- Run the "start" task and confirm that a window opens.
- 「start」タスクを実行するとウインドウが開かれるのを確認。
- Run the "PackMac" task and a dmg file will be built in the dist folder.
You can open this and install it, or open the gi.app file generated in the dist/mac folder.- 「PackMac」タスクを実行すると dist フォルダ下に dmg ファイルがビルドされる。
これを開いてインストールしてもよいし、dist/mac フォルダ下に ぎ.app が生成されるので、これを開く。
- 「PackMac」タスクを実行すると dist フォルダ下に dmg ファイルがビルドされる。
- The app crashes.
- アプリがクラッシュする。
- Copy and paste the value of build.productName in the package.json file into the value of productName_NFD_OK and run the "PackMac" task to generate an app that doesn't crash.
- package.json ファイルの build.productName の値を productName_NFD_OK の値にコピー&ペーストし、「PackMac」タスクを実行すると、クラッシュしない app が生成される。
- Unzip the test project and run "npm i".

Metadata
Metadata
Assignees
Labels
No labels