update save config

This commit is contained in:
Admin 2025-09-18 16:13:49 +07:00
parent 6b2d980060
commit 933aa7fbf1
8 changed files with 3 additions and 2 deletions

BIN
build/icon-mac.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -16,7 +16,7 @@ asarUnpack:
- resources/**
win:
target: nsis
target: portable
executableName: ShotcutApp
publisherName: apactech

BIN
resources/icon-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
resources/tray-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

View File

@ -6,6 +6,7 @@ import fs from 'fs'
import path, { join } from 'path'
import ws from 'windows-shortcuts'
import icon from '../../resources/icon.png?asset'
import trayIcon from '../../resources/tray-icon.png?asset'
import { registerGlobalShortcuts, unregisterGlobalShortcuts } from './shotcut'
let mainWindow: null | BrowserWindow = null
@ -88,7 +89,7 @@ function createWindow(): void {
}
function createTray() {
const tray = new Tray(icon)
const tray = new Tray(trayIcon)
const contextMenu = Menu.buildFromTemplate([
{