Use multiple strings to represent the name
Search before asking
Motivation
I use a Mac for my daily work. Most apps I used have spaces between their names (aka a normal, no-symbol name). Can we specify the name with spaces before building?
For example, I want to wrap Google Translate with Pake, and I can specify its name as "Google Translate" rather than "GoogleTranslate" or "Google-Translate".
Solution
I took an investigation and found https://github.com/tj/commander.js#variadic-option. Using the variadic option can take multiple strings into an array, then we can turn this array into a string with spaces with the .join() method.
Alternatives
No response
Anything else?
But I'm not sure if it can be set the application name to a normal name on Windows or Linux? I haven't used these platforms for a long time.
Are you willing to submit a PR?
- [X] I'm willing to submit a PR!
Great, your idea is quite good. Feel free to submit a PR, and I'll merge the code.
Great, your idea is quite good. Feel free to submit a PR, and I'll merge the code.
I have completed the modification. You can check the PR for a detailed description. 😃
i set name: youtube to mp4 in windows(used npm to install pake) but name of app is changed to youtube
i set name: youtube to mp4 in windows(used npm to install pake) but name of app is changed to youtube
@gokulcoder7 After the PR is merged, it will work.