✨ icon 替换
@ -2,7 +2,7 @@ English | [简体中文](./README.zh-CN.md)
|
|||||||
|
|
||||||
|
|
||||||
<div align= "center">
|
<div align= "center">
|
||||||
<img align="center" width=200 src="https://user-images.githubusercontent.com/21073039/128333805-73e086f0-5523-46a3-a096-cba80b904c46.png" />
|
<img align="center" width=200 src="./public/logo.png" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,10 +2,9 @@
|
|||||||
|
|
||||||
|
|
||||||
<div align= "center">
|
<div align= "center">
|
||||||
<img align="center" width=200 src="https://user-images.githubusercontent.com/21073039/128333805-73e086f0-5523-46a3-a096-cba80b904c46.png" />
|
<img align="center" width=200 src="./public/logo.png" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div align= "center">
|
<div align= "center">
|
||||||
<h1>Rubick</h1>
|
<h1>Rubick</h1>
|
||||||
|
|
||||||
@ -14,7 +13,7 @@
|
|||||||
<img alt="release" src="https://img.shields.io/github/package-json/v/rubickCenter/rubick" />
|
<img alt="release" src="https://img.shields.io/github/package-json/v/rubickCenter/rubick" />
|
||||||
</a>
|
</a>
|
||||||
<a href="https://github.com/rubickCenter/rubick/actions">
|
<a href="https://github.com/rubickCenter/rubick/actions">
|
||||||
<img alt=building src=https://img.shields.io/github/workflow/status/rubickCenter/rubick/Build>
|
<img alt=building src=https://img.shields.io/github/actions/workflow/status/rubickCenter/rubick/main.yml>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://github.com/rubickCenter/rubick/blob/master/LICENSE">
|
<a href="https://github.com/rubickCenter/rubick/blob/master/LICENSE">
|
||||||
<img alt="npm" src="https://img.shields.io/github/license/rubickCenter/rubick" />
|
<img alt="npm" src="https://img.shields.io/github/license/rubickCenter/rubick" />
|
||||||
|
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
@ -3,7 +3,7 @@
|
|||||||
"pluginName": "系统菜单",
|
"pluginName": "系统菜单",
|
||||||
"description": "系统菜单",
|
"description": "系统菜单",
|
||||||
"main": "index.html",
|
"main": "index.html",
|
||||||
"logo": "https://pic1.zhimg.com/80/v2-c09780808301668a82e6646cb42f0806_720w.png",
|
"logo": "https://pic1.zhimg.com/80/v2-29152fe716010751db835adf591421f8_720w.png",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"preload":"preload.js",
|
"preload":"preload.js",
|
||||||
"pluginType": "ui",
|
"pluginType": "ui",
|
||||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 17 KiB |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "rubick",
|
"name": "rubick",
|
||||||
"version": "4.1.7",
|
"version": "4.2.0-beta.1",
|
||||||
"author": "muwoo <2424880409@qq.com>",
|
"author": "muwoo <2424880409@qq.com>",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"pluginName": "系统菜单",
|
"pluginName": "系统菜单",
|
||||||
"description": "系统菜单",
|
"description": "系统菜单",
|
||||||
"main": "index.html",
|
"main": "index.html",
|
||||||
"logo": "https://pic1.zhimg.com/80/v2-c09780808301668a82e6646cb42f0806_720w.png",
|
"logo": "https://pic1.zhimg.com/80/v2-29152fe716010751db835adf591421f8_720w.png",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"preload":"preload.js",
|
"preload":"preload.js",
|
||||||
"pluginType": "ui",
|
"pluginType": "ui",
|
||||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 3.2 KiB |
BIN
public/icons/iconTemplate@2x.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
public/logo.png
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 17 KiB |
@ -1,5 +1,5 @@
|
|||||||
export default {
|
export default {
|
||||||
version: 4,
|
version: 6,
|
||||||
perf: {
|
perf: {
|
||||||
custom: {
|
custom: {
|
||||||
theme: 'SPRING',
|
theme: 'SPRING',
|
||||||
|
@ -9,7 +9,7 @@ function createTray(window: BrowserWindow): Promise<Tray> {
|
|||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
let icon;
|
let icon;
|
||||||
if (commonConst.macOS()) {
|
if (commonConst.macOS()) {
|
||||||
icon = './icons/icon@3x.png';
|
icon = './icons/iconTemplate@2x.png';
|
||||||
} else if (commonConst.windows()) {
|
} else if (commonConst.windows()) {
|
||||||
icon =
|
icon =
|
||||||
parseInt(os.release()) < 10
|
parseInt(os.release()) < 10
|
||||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 17 KiB |
@ -102,7 +102,9 @@ module.exports = {
|
|||||||
include: 'public/installer.nsh',
|
include: 'public/installer.nsh',
|
||||||
},
|
},
|
||||||
linux: {
|
linux: {
|
||||||
icon: 'build/icons/',
|
icon: 'public/icons/',
|
||||||
|
publish: ['github'],
|
||||||
|
target: 'deb',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|