feat: set docker icon

This commit is contained in:
DIYgod
2024-05-01 12:44:57 +08:00
parent fe8a129550
commit 620a6fe5bf
6 changed files with 5 additions and 0 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Executable → Regular
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

+3
View File
@@ -0,0 +1,3 @@
<svg width="215" height="215" viewBox="0 0 215 215" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="107.5" cy="107.5" r="107.5" fill="#FF8F50"/>
</svg>

After

Width:  |  Height:  |  Size: 164 B

+2
View File
@@ -14,6 +14,8 @@ if (process.defaultApp) {
app.setAsDefaultProtocolClient("readok")
}
app.dock.setIcon(path.join(__dirname, "../../resources/icon.png"))
// This method will be called when Electron has finished
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.