-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
non-English characters confuse rcedit: Unable to load file on windows build (from linux) #384
Comments
When i use non-English characters on build.productName (package.json) I getting this error. |
Thanks for info, I will investigate and fix. |
Could you please provide example (well, I will try to use russian, but just to be sure). |
"build": {
"app-bundle-id": "org.divasoft.otopark",
"app-category-type": "public.app-category.business",
"productName": "Divasoft Kapalı Otopark"
} |
Do you expect that your exe will be named as "Divasoft Kapalı Otopark" or as name in the package.json? |
Yes i am using "divasoft.otopark.kapali" for package.json name but its not understandable for customers so i alter with productName like docs said, i remove "kapalı" and new name is Divasoft OtoparkSetup-1.6.1-ia32.exe (by the way you should prefix "Setup" with a dash "-") |
Why "should"?
As workaround or as really desired name? What I want — I want to understand, should we in this case use safe name, or product name. Well, I am going to to leave product name (not sure, is it legal on Windows). |
Well, you cant use special chars or spaces in package.json name section for known purposes, but when you creating end-user setup file, you want your exe name understandable for everyone. I have seen setup files with Turkish names before, i guess its legal on Windows. "Divasoft OtoparkSetup" is not looking right, "Divasoft Otopark Setup" or "Divasoft Otopark-Setup" is looks better. |
@brendtumi In the next dev |
I have the same problem but in my case there is an Umlaut "ü" in the path. |
@develar Hi, seems rcedit project is not fixing this soon. Do you consider adding a workaround for this? My idea is to rename the exe file with simple characters temporarily and restore the filename back after invoking rcedit. I did this manually. Hope this helps. |
@towertop Well, at first I will try to fix rcedit (oh, win c), and only then I will use ugly workaround (copy to temp file and rename back). |
Is this problem solved? I got the save error output when I build the product with a Chinese name.. Any alternative way for build windows version? |
@changkun Ok, I will try to fix rcedit tomorrow or implement workaround on our side. |
I am getting "Unable to load file" error while
"dist:win": "build --platform win32 --arch all"
The text was updated successfully, but these errors were encountered: