常规更新

old
宇天 2021-06-29 09:57:41 +08:00
parent 1e676357e5
commit 4710f6223c
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "dns-host", "name": "dns-host",
"version": "1.2.1", "version": "1.2.2",
"description": "伪域名解析", "description": "伪域名解析",
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {
@ -26,6 +26,10 @@
"buildResources": "icons", "buildResources": "icons",
"output": "build" "output": "build"
}, },
"electronDownload": {
"version": "9.0.0",
"mirror": "https://npm.taobao.org/mirrors/electron/"
},
"files": ["src/**/*", "node_modules/iofs/*"], "files": ["src/**/*", "node_modules/iofs/*"],
"mac": { "mac": {
"category": "public.app-category.developer-tools", "category": "public.app-category.developer-tools",

View File

@ -13,9 +13,7 @@ import Utils from '/lib/utils.js'
const log = console.log const log = console.log
const { remote, ipcRenderer } = require('electron') const { ipcRenderer } = require('electron')
const WIN = remote.getCurrentWindow()
const $doc = Anot(document) const $doc = Anot(document)