Skip to content
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

feat: allow names with spaces (Windows & macOS) #876

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

g1eny0ung
Copy link

@g1eny0ung g1eny0ung commented Dec 24, 2024

Close #873

This PR updates the name option to accept names with spaces. For example, you can use the below command to generate the app:

pake https://translate.google.com/ --name Google Translate --hide-title-bar

However, I didn't update the Linux platform's name pattern because I saw some specific rules (only lowercase letters) in the regex. @tw93 Can the Linux app name contain spaces?

@tw93
Copy link
Owner

tw93 commented Dec 26, 2024

Linux only supports lowercase, similar to com-123-xxx, 123pan, pan123, weread, we-read. I'm wondering how to transform it into something like we-read. Could you update this PR to support it more comprehensively?

@g1eny0ung
Copy link
Author

g1eny0ung commented Dec 26, 2024

Linux only supports lowercase, similar to com-123-xxx, 123pan, pan123, weread, we-read. I'm wondering how to transform it into something like we-read. Could you update this PR to support it more comprehensively?

I guess you mean, let's say the user types in Google Translate, then we automatically convert it to google-translate in the Linux platform?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use multiple strings to represent the name
2 participants