Skip to content

Commit

Permalink
Added app icon and built distributables
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-best committed Dec 8, 2023
1 parent 37130d4 commit e1acf9e
Show file tree
Hide file tree
Showing 5 changed files with 248 additions and 5 deletions.
2 changes: 2 additions & 0 deletions forge.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module.exports = {
packagerConfig: {
asar: true,
icon: 'src/images/app-icon',
osxSign: {}
},
rebuildConfig: {},
makers: [
Expand Down
244 changes: 242 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "my-app",
"productName": "my-app",
"name": "study-timer",
"productName": "Study Timer",
"version": "1.0.0",
"description": "My Electron application description",
"description": "A timer app for pomodoro studying",
"main": "src/index.js",
"scripts": {
"start": "electron-forge start",
Expand Down
Binary file added src/images/app-icon.icns
Binary file not shown.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ if (require('electron-squirrel-startup')) {
const createWindow = () => {
// Create the browser window.
const mainWindow = new BrowserWindow({
icon: './images/app-icon.icns',
frame: false,
titleBarStyle: 'hidden',
width: 382,
Expand Down

0 comments on commit e1acf9e

Please sign in to comment.