@ -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')
fixPath()
class SystemShell {
@ -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",
@ -1,5 +1,5 @@
import autoStart from './auto-start/front'
// import api from './api/front'
import error from './error/front'
import fileSelector from './file-selector/front'
import onClose from './on-close/front'
<script>
import _ from 'lodash'
import vueJsonEditor from 'vue-json-editor-fix-cn'
import VueJsonEditor from 'vue-json-editor-fix-cn'
import Plugin from '../mixins/plugin'
export default {
name: 'Server',
components: {
VueJsonEditor: vueJsonEditor,
VueJsonEditor,
},
mixins: [Plugin],
data () {
@ -4,7 +4,6 @@ const lodash = require('lodash')
// 替换占位符
function replacePlaceholder (url, rOptions, matched) {
if (url.includes('${')) {
// no-template-curly-in-string
// eslint-disable-next-line no-template-curly-in-string
url = url.replace('${host}', rOptions.hostname)