Skip to content

possible819/RunPy

Repository files navigation

RunPy

Version License: MIT

Python runner

Scripts for running application

# Build render process via webpack with watch on it & launch electron
$ yarn start

# Clean dist directory
$ yarn clean

# Build render process sources via webpack for production env
$ yarn build

# Build render process sources via webpack for development env
$ yarn build:dev

Above scripts will generate each pacakges under ./packages

Scripts for creating installer via electron-forge

$ yarn make

The script will generate an installer based on platform of running this script. Electron-forge will detect what current running platform is.

Configure packaging

{
  ...
  "config": {
    "forge": {
      "packagerConfig": {
        "asar": true
      },
      "makers": [
        {
          "name": "@electron-forge/maker-squirrel",
          "config": {}
        },
        {
          "name": "@electron-forge/maker-dmg",
          "config": {
            "format": "ULFO"
          }
        },
        {
          "name": "@electron-forge/maker-deb",
          "config": {}
        }
      ]
    }
  },
  ...
}

By editing config block inside of package.json, you can customize packaging configuration.

pacakgeConfig is block to customize electron-package step all the options are passed to electron-package task. (FYI out (distribution path) can't be overriden cause electron-forge is specifying the path inner side of sources)

Authors

Jay Lee jaylee.possible@gmail.com 🏠

Gincheong gincheong2@gmail.com 🏠

Releases

No releases published

Packages

No packages published