Fix path when copying resource (#21900)

When copying resource from `{repositoryRootPath}/resources/win/*` to `{bundledResourcesPath}/cli/*`, omitted the {repositoryRootPath}.

Co-authored-by: yoonhyung <yoonhyungkim@webida.org>
This commit is contained in:
Sadick 2021-01-28 12:24:23 +03:00 committed by GitHub
parent 11b9559a5b
commit 80bf68edbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
)
);