Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

feat(desktop): give the app the extension's icon

Luis Ortiz7e40600f8a58
diff --git a/apps/desktop/resources/icon.ico b/apps/desktop/resources/icon.ico
new file mode 100644
index 0000000..208cb42
Binary files /dev/null and b/apps/desktop/resources/icon.ico differ
diff --git a/apps/desktop/resources/icon.png b/apps/desktop/resources/icon.png
new file mode 100644
index 0000000..d1a1d9a
Binary files /dev/null and b/apps/desktop/resources/icon.png differ
diff --git a/apps/desktop/src/main/index.ts b/apps/desktop/src/main/index.ts
index 620ce00..a769bd0 100644
--- a/apps/desktop/src/main/index.ts
+++ b/apps/desktop/src/main/index.ts
@@ -132,6 +132,7 @@ function createWindow(): void {
minHeight: 480,
show: false,
autoHideMenuBar: true,
+ icon: resource(process.platform === 'win32' ? 'icon.ico' : 'icon.png'),
backgroundColor: '#EEF2FF',
webPreferences: {
preload: join(__dirname, '../preload/index.cjs'),