If you clone the repository and do macOS Finder operations that create .DS_Storeandfull/.DS_Store you get this when you npm start:
What's the name of your application? Lowercase and no spaces, please.: test
Is your app just a tile, or a full application? (tile/full): full
Where is your Urbit pier's desk located? For example, /Users/dev/zod/home: /
(node:74511) UnhandledPromiseRejectionWarning: Error: dest already exists.
at /xxx/create-landscape-app/node_modules/fs-extra/lib/move/move.js:41:31
at /xxx/create-landscape-app/node_modules/universalify/index.js:23:46
The dest is ./.DS_Store. This PR deletes it, if it exists. I tested all 4 combinations of the existence of .DS-Store and full/.DS_Store.
It also simplifies the deHyphenatedName assignment. I tested by creating a full app with a non-hyphenated name, and a tile app with a hyphenated name. I also ran this code:
If you clone the repository and do macOS Finder operations that create
.DS_Store
andfull/.DS_Store
you get this when younpm start
:The
dest
is./.DS_Store
. This PR deletes it, if it exists. I tested all 4 combinations of the existence of.DS-Store
andfull/.DS_Store
.It also simplifies the
deHyphenatedName
assignment. I tested by creating a full app with a non-hyphenated name, and a tile app with a hyphenated name. I also ran this code:I also added an "All done" message to
setupFull()
to matchsetupTile()
.