diff --git a/packages/core/src/shell/shell.js b/packages/core/src/shell/shell.js index 0c4dd1a..0c06d6d 100644 --- a/packages/core/src/shell/shell.js +++ b/packages/core/src/shell/shell.js @@ -1,12 +1,12 @@ const childProcess = require('child_process') const os = require('os') - -const _execFile = childProcess.execFile const fixPath = require('fix-path') const iconv = require('iconv-lite') const PowerShell = require('node-powershell') const log = require('../utils/util.log') +const _execFile = childProcess.execFile + fixPath() class SystemShell { diff --git a/packages/gui/package.json b/packages/gui/package.json index 464917a..c897fca 100644 --- a/packages/gui/package.json +++ b/packages/gui/package.json @@ -24,7 +24,7 @@ "@docmirror/dev-sidecar": "^1.8.9", "@docmirror/mitmproxy": "^1.8.9", "@mihomo-party/sysproxy": "^2.0.4", - "@natmri/platform-napi": "^0.0.8", + "@natmri/platform-napi": "^0.0.7", "adm-zip": "^0.5.5", "ant-design-vue": "^1.6.5", "compressing": "^1.5.1", diff --git a/packages/gui/src/bridge/front.js b/packages/gui/src/bridge/front.js index 8e6f51d..c52a2e7 100644 --- a/packages/gui/src/bridge/front.js +++ b/packages/gui/src/bridge/front.js @@ -1,5 +1,5 @@ -import autoStart from './auto-start/front' // import api from './api/front' +import autoStart from './auto-start/front' import error from './error/front' import fileSelector from './file-selector/front' import onClose from './on-close/front' diff --git a/packages/gui/src/view/pages/server.vue b/packages/gui/src/view/pages/server.vue index a094000..1562f84 100644 --- a/packages/gui/src/view/pages/server.vue +++ b/packages/gui/src/view/pages/server.vue @@ -1,12 +1,12 @@