Skip to content

Commit 62ab3af

Browse files
authored
Merge pull request #20 from Kerwin-L/fix/coco
fix: Coco categories not the same
2 parents 857ead4 + b55155a commit 62ab3af

File tree

9 files changed

+4737
-65
lines changed

9 files changed

+4737
-65
lines changed

electron/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ipcListen } from './ipcEvent';
22
const electron = require('electron');
33
const platform = require('os').platform(); // 获取平台:https://nodejs.org/api/os.html#os_os_platform
4-
const version = '0.1.1';
4+
const version = '0.1.2';
55

66
// 控制app生命周期.
77
const app = electron.app;

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "labelbee-client",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"private": true,
55
"homepage": "./",
66
"author": "laoluo <[email protected]>",
@@ -103,10 +103,11 @@
103103
},
104104
"scripts": {
105105
"start": "node scripts/start.js",
106-
"build": "npm run build-electron && rm -rf build && node scripts/build.js",
106+
"update:hm": "node scripts/hm/update.js",
107+
"build": "npm run update:hm && npm run build-electron && rm -rf build && node scripts/build.js",
107108
"test": "node scripts/test.js",
108109
"build-electron": "rm -rf electron/dist && tsc -p electron/tsconfig.json",
109-
"electron-dev": "npm run build-electron && ELECTRON_START_URL=http://localhost:3000/ electron electron/dist/electron/main.js",
110+
"electron-dev": "npm run build-electron && ELECTRON_START_URL=http://localhost:8080/ electron electron/dist/electron/main.js",
110111
"packager:mac": "npm run build && rm -rf dist && electron-builder -m",
111112
"packager:win": "npm run build && rm -rf dist && electron-builder -w",
112113
"packager:linux": "npm run build && rm -rf dist && electron-builder -l",

0 commit comments

Comments
 (0)