更新图标
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 67 KiB |
BIN
icons/app.icns
Before Width: | Height: | Size: 17 KiB |
|
@ -9,7 +9,7 @@ const { BrowserWindow } = require('electron')
|
||||||
/**
|
/**
|
||||||
* 应用主窗口
|
* 应用主窗口
|
||||||
*/
|
*/
|
||||||
exports.createMainWindow = function (icon) {
|
exports.createMainWindow = function(icon) {
|
||||||
// 创建浏览器窗口
|
// 创建浏览器窗口
|
||||||
let win = new BrowserWindow({
|
let win = new BrowserWindow({
|
||||||
title: 'sonist',
|
title: 'sonist',
|
||||||
|
@ -52,7 +52,7 @@ exports.createMainWindow = function (icon) {
|
||||||
/**
|
/**
|
||||||
* 应用迷你窗口
|
* 应用迷你窗口
|
||||||
*/
|
*/
|
||||||
exports.createMiniWindow = function (screen) {
|
exports.createMiniWindow = function(screen) {
|
||||||
let win = new BrowserWindow({
|
let win = new BrowserWindow({
|
||||||
title: '',
|
title: '',
|
||||||
width: 320,
|
width: 320,
|
||||||
|
|