diff --git a/package.json b/package.json index 30c9c206..c28c4d88 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/main/index.ts b/src/main/index.ts index 7035c089..d1bd0258 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -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');