Skip to content

packaging for Mac should not put 2 cases of README in case-insensitive filesystem #130

Description

@sudoer

When trying to copy Extraterm.app from the packaged DMG file to my Mac, I get an error because there are two node modules that includes two README files with different capitalizations, and the Mac filesystem (by default) is case-insensitive.

ls -l Extraterm.app/Contents/Resources/app/node_modules/colors/R* Extraterm.app/Contents/Resources/app/node_modules/ms/{READ,read}*.md
-rw-r--r--  1 alanporter  staff  3980 Oct 19 16:02 Extraterm.app/Contents/Resources/app/node_modules/colors/README.md
-rw-r--r--  1 alanporter  staff  3190 Oct 19 16:02 Extraterm.app/Contents/Resources/app/node_modules/colors/ReadMe.md
-rw-r--r--  1 alanporter  staff   933 Oct 19 16:02 Extraterm.app/Contents/Resources/app/node_modules/ms/README.md
-rw-r--r--  1 alanporter  staff  1721 Oct 19 16:02 Extraterm.app/Contents/Resources/app/node_modules/ms/readme.md

Dragging the file to the Applications folder causes this error:

You can’t copy “Extraterm.app” because it has the same name as another item on the destination volume, and that volume doesn’t distinguish between upper- and lowercase letters in filenames.

Work-around: use rsync to copy the Extraterm.app folder into /Applications. It will simply overwrite the other readme files when it encounters the conflict.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions