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/05 12:06]
nilarjun Removed node.js link
gdevelop5:publishing:windows-macos-linux-with-electron [2019/07/15 15:53]
nilarjun
Line 27: Line 27:
  
 ==== 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”.