From 250f2bf748a76946f0fd41c6b610a426f9309f62 Mon Sep 17 00:00:00 2001 From: Eric Pyle Date: Tue, 16 Jul 2024 13:03:00 -0500 Subject: [PATCH] chore(sltt-app): add quotes for xcopy cmd --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 55de033..b3535f0 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "find:auth0_client_id:target": "findstr /S /M /C:\"REACT_APP_AUTH0_CLIENT_ID:\\\"eTewsjcscudtGHteG3u86YEDwHUTRd6Z\\\"\" out\\client\\static\\js\\main.*.chunk.js", "find:auth0_client_id:source": "findstr /S /M /C:\"REACT_APP_AUTH0_CLIENT_ID:\\\"eTewsjcscudtGHteG3u86YEDwHUTRd6Z\\\"\" %SLTT_CLIENT_DIR%/build/static/js/main.*.chunk.js", "rmdir:build:client": "if exist \".\\out\\client\" rmdir /s /q \".\\out\\client\"", - "copy:build:client": "npm run find:version:source && npm run find:auth0_client_id:source && npm run rmdir:build:client && xcopy %SLTT_CLIENT_DIR%\\build .\\out\\client\\ /s /e /y", + "copy:build:client": "npm run find:version:source && npm run find:auth0_client_id:source && npm run rmdir:build:client && xcopy \"%SLTT_CLIENT_DIR%\\build\" .\\out\\client\\ /s /e /y", "build:win:norelease": "npm run build && electron-builder --win --config --publish never", "build:win:prerelease": "npm run build && electron-builder --win --config --publish onTagOrDraft --prerelease", "build:win:draft": "npm run build && electron-builder --win --config --publish onTagOrDraft",