Skip to content

Package: All Platforms

Parallax Git Administrator edited this page Aug 15, 2017 · 21 revisions

These steps need to be performed on a pre-configured development system every time a new installation package is desired.

Packaging (All Platforms)

  • Build Parallax IDE
    • Use the steps shown in the repository's readme.md file
  • Remove "Update" message (which doesn't work properly wrapped in NW.js)
    • Remove the ...runtime.onInstalled... function from the background.js file
      chrome.runtime.onInstalled.addListener(function(evt){
        chrome.storage.local.set({newVersion: 'newVersion'});
      });
      
  • Package Parallax IDE for Window, Macintosh, and Linux
    • $ ./node_modules/.bin/build --chrome-app --win --x64 ./src
    • This will create a dist folder containing a subfolder for the platform target(s)
  • Clean Up
    • An apparent bug in nwjs-builder-phoenix mangles the icon resources. Use the application ResourceHacker to remove the icon resources from the windows target Parallax IDE.exe executable and replace them with the icon.ico resource.
  • Test

Possible installer (unfinished) * Run InnoSetup * File > Open the .spec file: C:\Users{username}\PycharmProjects\BlocklyPropClient\package\blocklypropclient-installer.iss * Select Build > Compile * Now the installer executable will be in the ./dist subfolder.

Clone this wiki locally