Skip to content

Commit

Permalink
Merge pull request #189 from clubcapra/Add-icon
Browse files Browse the repository at this point in the history
Add an icon
  • Loading branch information
Leuchak authored Mar 2, 2024
2 parents ae0b81a + 9af909f commit 9149077
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"artifactName": "capra_web_ui_setup.${ext}",
"extends": "electron-snowpack/config/electron-builder.js",
"extraFiles": [
"script/**"
"script/**",
"./public/assets/images/icon/*"
]
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function createWindow() {
preload: path.join(__dirname, 'preload.js'),
webSecurity: false, // TODO figure out CORS policy for robot_description server
},
icon: './public/assets/images/icon/192x192.png',
});
log.info('Window created');

Expand Down

0 comments on commit 9149077

Please sign in to comment.