mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-08-27 11:11:26 -04:00
19 lines
1.2 KiB
Batchfile
19 lines
1.2 KiB
Batchfile
::This script copies the runtimes files ( i.e: the javascript files located into the Runtime
|
|
::folder and in the Extensions folder ) to the Game Develop folder ( See below )
|
|
|
|
@echo off
|
|
set destDir="..\..\Binaries\Output\RelWithDebInfo_Windows\JsPlatform"
|
|
xcopy ..\Runtime\* %destDir%\Runtime\* /S /E /D /Y
|
|
xcopy ..\..\Extensions\*.js %destDir%\Runtime\Extensions\*.js /S /E /D /Y /EXCLUDE:FilesExcludedFromCopy
|
|
set destDir="..\..\Binaries\Output\Release_Windows\JsPlatform"
|
|
xcopy ..\Runtime\* %destDir%\Runtime\* /S /E /D /Y
|
|
xcopy ..\..\Extensions\*.js %destDir%\Runtime\Extensions\*.js /S /E /D /Y /EXCLUDE:FilesExcludedFromCopy
|
|
set destDir="..\..\Binaries\Output\Debug_Windows\JsPlatform"
|
|
xcopy ..\Runtime\* %destDir%\Runtime\* /S /E /D /Y
|
|
xcopy ..\..\Extensions\*.js %destDir%\Runtime\Extensions\*.js /S /E /D /Y /EXCLUDE:FilesExcludedFromCopy
|
|
|
|
::You may want to change this or add new similar lines to copy the runtime and the extensions
|
|
::to your Game Develop directory.
|
|
set destDir="C:\Users\Florian\AppData\Local\Temp\GDTemporaries\JSPreview"
|
|
xcopy ..\Runtime\*.js %destDir%\*.js /S /E /D /Y
|
|
xcopy ..\..\Extensions\*.js %destDir%\Extensions\*.js /S /E /D /Y /EXCLUDE:FilesExcludedFromCopy |