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

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

Closed
sudoer opened this Issue Nov 1, 2018 · 3 comments

Comments

2 participants
@sudoer

sudoer commented Nov 1, 2018

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.

@sedwards2009

This comment has been minimized.

Owner

sedwards2009 commented Nov 1, 2018

thanks for reporting this. I'm guessing you are using a different file system or different settings than the mac I tested on. Do you know if the zip for mac works?

@sudoer

This comment has been minimized.

sudoer commented Nov 1, 2018

The zip file produces a similar warning when it gets to the README files.

replace extraterm-0.37.0-darwin-x64/Extraterm.app/Contents/Resources/app/node_modules/colors/README.md? [y]es, [n]o, [A]ll, [N]one, [r]ename:

I am running the default case-insensitive filesystem.

@sedwards2009

This comment has been minimized.

Owner

sedwards2009 commented Nov 1, 2018

Fix has been released in 0.37.1.

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