From 80bf68edbc3e8f58ed9cc0c9d0b43c1556e15e24 Mon Sep 17 00:00:00 2001 From: Sadick Date: Thu, 28 Jan 2021 12:24:23 +0300 Subject: [PATCH] Fix path when copying resource (#21900) When copying resource from `{repositoryRootPath}/resources/win/*` to `{bundledResourcesPath}/cli/*`, omitted the {repositoryRootPath}. Co-authored-by: yoonhyung --- script/lib/package-application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/lib/package-application.js b/script/lib/package-application.js index 84a853aaa..420d12ac0 100644 --- a/script/lib/package-application.js +++ b/script/lib/package-application.js @@ -140,7 +140,7 @@ function copyNonASARResources(packagedAppPath, bundledResourcesPath) { 'folder.ico' ].forEach(file => fs.copySync( - path.join('resources', 'win', file), + path.join(CONFIG.repositoryRootPath, 'resources', 'win', file), path.join(bundledResourcesPath, 'cli', file) ) );