update save config
|
After Width: | Height: | Size: 4.2 KiB |
BIN
build/icon.icns
BIN
build/icon.png
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 3.2 KiB |
|
|
@ -16,7 +16,7 @@ asarUnpack:
|
|||
- resources/**
|
||||
|
||||
win:
|
||||
target: nsis
|
||||
target: portable
|
||||
executableName: ShotcutApp
|
||||
publisherName: apactech
|
||||
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 610 B |
|
|
@ -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([
|
||||
{
|
||||
|
|
|
|||