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 🏠

About

Python runner

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy