Skip to content

Commit

Permalink
build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jochen-testingbot committed Aug 19, 2024
1 parent ea74f19 commit de6cb4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ module.exports = {
makers: [
{
name: '@electron-forge/maker-squirrel',
config: {},
config: {
options: {
authors: 'TestingBot',
description: 'TestingBot Demo Electro App'
}
},
},
{
name: '@electron-forge/maker-zip',
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
const { app, BrowserWindow } = require('electron');

if (require('electron-squirrel-startup')) app.quit();

function createWindow() {
const win = new BrowserWindow({
width: 360,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "testingbot-electron-demo-app",
"author": "TestingBot",
"description": "This is a demo Electron app built by TestingBot to showcase automated testing against Electron-based apps",
"version": "1.0.0",
"main": "index.js",
Expand Down

0 comments on commit de6cb4e

Please sign in to comment.