Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gdevelop5:publishing:windows-macos-linux-with-electron [2019/07/04 15:26]
nilarjun Fixed Main Title
gdevelop5:publishing:windows-macos-linux-with-electron [2019/07/15 15:53]
nilarjun
Line 24: Line 24:
 ==== Download and Install Yarn ==== ==== Download and Install Yarn ====
 {{:​gdevelop5:​publishing:​untitlewweewrwered-1.jpg?​nolink |}} {{:​gdevelop5:​publishing:​untitlewweewrwered-1.jpg?​nolink |}}
-We will be using **Yarn**. Download the latest build of Yarn [[https://​yarnpkg.com/​en/​docs/​install| here]]. You can install Yarn using any method provided on that page. Download and install the [[https://​nodejs.org/​|node.js]] package.+We will be using **Yarn**. Download the latest build of Yarn [[https://​yarnpkg.com/​en/​docs/​install| here]]. You can install Yarn using any method provided on that page.
  
 ==== Building the Package ==== ==== Building the Package ====
-Start up Command Prompt (CMD) with administrator rights. Change directory (cd) to the directory of the folder of your exported game (or navigate to that folder using Explorer and press Shift + Right Click -> Open Command Prompt/​Powershell for Windows)+  * Start up Command Prompt (CMD) with administrator rights. Change directory (cd) to the directory of the folder of your exported game (or navigate to that folder using Explorer and press Shift + Right Click -> Open Command Prompt/​Powershell for Windows)
  
-In the Command Prompt (CMD), write:+  * In the Command Prompt (CMD), write:
  
 <​code>​yarn add electron-builder --dev</​code>​ <​code>​yarn add electron-builder --dev</​code>​
  
-After the ''​electron-builder''​ installation is complete, in the Command Prompt (CMD) write:+  * After the ''​electron-builder''​ installation is complete, in the Command Prompt (CMD) write:
  
-<​code>​npx build .</​code>​+<​code>​yarn electron-builder ​build</​code>​
  
 **Note:** If your custom icon doesn’t show up, just rename buildResources to “build”. **Note:** If your custom icon doesn’t show up, just rename buildResources to “build”.