Giter Site home page Giter Site logo

my-app's Introduction

Trying electron-forge and electron-builder

This is from https://www.electronjs.org/docs/tutorial/quick-start

Installed electron-builder:

npm i -D electron-builer

Use electron-builder:

  • This one works
  • puts the output in /dist/
npm run dist

Use electron-forge:

  • Doesn't create a dmg file
  • puts the output in /out/
npm run make

Package things

$ npm run dist

develop locally

$ npm run tron

Electron doesn't really have routes, but the routes work in here because we listen for 'click' events and get the href from the link address

my-app's People

Contributors

nichoth avatar

Watchers

James Cloos avatar  avatar  avatar

my-app's Issues

You asked in electron builder

os: [macos-latest, ubuntu-latest, windows-latest]

Should be big Os in mac
os: [macOs-latest, ubuntu-latest, windows-latest]

Its recommended to use V2 rather than v1

  • name: Check out Git repository
    uses: actions/checkout@v2

Change this to something like GH_TOKEN You cant use github as a env name
github_token: ${{ secrets.github_token }}

This wont work for a couple of reasons, for me to get this to work i instead changed it to true
release: ${{ startsWith(github.ref, 'refs/tags/v') }}

release: true

Then if i really want to only build when a new tag has been commited i'll set that in the top section

on: push: tags: # Build on every tag in the form v1.2.3-something.4 - 'v*'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.