mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Add a build and run Windows batch script in /scripts folder (#611)
This commit is contained in:

committed by
Florian Rival

parent
a95a6eb128
commit
e9bf8ff309
@@ -47,6 +47,13 @@ node node_modules\electron\cli.js app
|
||||
./node_modules/electron/dist/electron app
|
||||
```
|
||||
|
||||
### Quick Install and Run
|
||||
|
||||
There is a script file that automates cloning this repository, building the newIde and running it
|
||||
|
||||
* For Windows: You can download the batch script [here](https://raw.githubusercontent.com/4ian/GD/master/scripts/gitCloneAndBuildGD.bat) and save it to where you want GD to be cloned to, then simply run it.
|
||||
|
||||
|
||||
### Development of UI components
|
||||
|
||||
You can run a [storybook](https://github.com/storybooks/storybook) that is used as a playground for rapid UI component development and testing:
|
||||
|
23
scripts/gitCloneAndBuildGD.bat
Normal file
23
scripts/gitCloneAndBuildGD.bat
Normal file
@@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
|
||||
REM ===============================================================
|
||||
REM This Windows batch script downloads Gdevelop from the master branch, builds the newIde and launches it.
|
||||
REM
|
||||
REM It still requires git, nodejs and electron to be installed.
|
||||
REM If Gdevelop is already built, the script will simply launch it.
|
||||
REM ===============================================================
|
||||
echo This will clone, install, and launch GDevelop development version. Please make sure you have git and Node.js installed.
|
||||
|
||||
SET fork=4ian
|
||||
|
||||
call git clone https://github.com/%fork%/GD.git
|
||||
cd GD/newIDE/app
|
||||
call npm install
|
||||
cd ../electron-app
|
||||
call npm install
|
||||
|
||||
cd ../app
|
||||
start cmd /k npm start
|
||||
cd ../electron-app
|
||||
TIMEOUT /T 40
|
||||
call node node_modules\electron\cli.js app
|
Reference in New Issue
Block a user