Skip to content

fix: allow dots in app names for Windows/macOS#1215

Open
yumingyuan2 wants to merge 1 commit into
tw93:mainfrom
yumingyuan2:master
Open

fix: allow dots in app names for Windows/macOS#1215
yumingyuan2 wants to merge 1 commit into
tw93:mainfrom
yumingyuan2:master

Conversation

@yumingyuan2
Copy link
Copy Markdown

  • Add '.' to isValidName regex for non-Linux platforms
  • Preserve dots in resolveLocalAppName normalization
  • Update error message to reflect dots are allowed
  • Fix .gitignore order so !dist/cli.js negation takes effect

- Add '.' to isValidName regex for non-Linux platforms
- Preserve dots in resolveLocalAppName normalization
- Update error message to reflect dots are allowed
- Fix .gitignore order so !dist/cli.js negation takes effect

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@yumingyuan2
Copy link
Copy Markdown
Author

yumingyuan2 commented Jun 6, 2026

For most websites, this is a harmless fix, but for applications with official names containing ., it helps maintain naming consistency more effectively.

@tw93
Copy link
Copy Markdown
Owner

tw93 commented Jun 7, 2026

@yumingyuan2 thanks for the PR.

I kept the intended behavior and shipped it in V3.11.8 via df62f18: macOS and Windows app names now allow dots inside names, local file names preserve dots, Linux package names stay strict, and regression tests were added.

I did not take the .gitignore change because dist/cli.js is already tracked while dist/ stays ignored. Maintainers should keep regenerating it with pnpm run cli:build and stage it explicitly when needed.

This PR is now covered by the maintainer patch on main.

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.

2 participants