Skip to content

Commit

Permalink
Fix not ENOENT when copying android resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Bit Genoma committed Jan 4, 2020
1 parent 121e8b7 commit 6561c27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Empty file modified bin/capacitor-resources
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions src/copy/platforms/android/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ const copyAndroidIcons = async () => {
icons.map(iconPath => {
new Promise((resolve, reject) => {
try {
fs.ensureDirSync(
path.dirname(path.join(androidIconsDestination, iconPath))
)
fs.copyFileSync(
path.join(androidIconsOrigin, iconPath),
path.join(androidIconsDestination, iconPath)
Expand Down

0 comments on commit 6561c27

Please sign in to comment.