mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-23 02:25:52 -04:00
0987ca8b3e
Fix xcopy crashes with an "Invalid number of parameters" error
15 lines
585 B
Batchfile
15 lines
585 B
Batchfile
::This script copies the runtimes files (i.e: the javascript files located into the Runtime
|
|
::folder and in the Extensions folder) to the GDevelop folder.
|
|
|
|
@echo off
|
|
cd /d %~dp0
|
|
|
|
set destDir=%1
|
|
if "%destDir%"=="" set destDir="..\..\Binaries\Output\Release_Windows\JsPlatform\Runtime"
|
|
|
|
echo Copying GDJS and extensions runtime files (*.js) to %destDir%...
|
|
xcopy "..\Runtime"\* "%destDir%"\* /S /E /D /Y /Q
|
|
xcopy "..\..\Extensions"\*.js "%destDir%\Extensions"\*.js /S /E /D /Y /Q /EXCLUDE:FilesExcludedFromCopy
|
|
|
|
echo ✅ Copied GDJS and extensions runtime files (*.js) to '%destDir%'.
|