This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { app, BrowserWindow } = require('electron'); | |
const freeport = require('freeport'); | |
const spawn = require('child_process').spawn; | |
const waitOn = require('wait-on'); | |
const timeout = 10000; // Time to wait for Threepenny server, milliseconds | |
// Assign a random port to run on. | |
freeport((err, port) => { | |
if (err) throw err; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dependencies": { | |
"electron": "^1.4.15", | |
"freeport": "^1.0.5", | |
"wait-on": "^2.0.2" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python CircleCI 2.0 configuration file | |
# | |
# Check https://circleci.com/docs/2.0/language-python/ for more details | |
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/python:3.7.5 | |
environment: |