fix Style
parent
ed3f491c98
commit
a00ac5c6aa
|
@ -1,12 +1,12 @@
|
||||||
const childProcess = require('child_process')
|
const childProcess = require('child_process')
|
||||||
const os = require('os')
|
const os = require('os')
|
||||||
|
|
||||||
const _execFile = childProcess.execFile
|
|
||||||
const fixPath = require('fix-path')
|
const fixPath = require('fix-path')
|
||||||
const iconv = require('iconv-lite')
|
const iconv = require('iconv-lite')
|
||||||
const PowerShell = require('node-powershell')
|
const PowerShell = require('node-powershell')
|
||||||
const log = require('../utils/util.log')
|
const log = require('../utils/util.log')
|
||||||
|
|
||||||
|
const _execFile = childProcess.execFile
|
||||||
|
|
||||||
fixPath()
|
fixPath()
|
||||||
|
|
||||||
class SystemShell {
|
class SystemShell {
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"@docmirror/dev-sidecar": "^1.8.9",
|
"@docmirror/dev-sidecar": "^1.8.9",
|
||||||
"@docmirror/mitmproxy": "^1.8.9",
|
"@docmirror/mitmproxy": "^1.8.9",
|
||||||
"@mihomo-party/sysproxy": "^2.0.4",
|
"@mihomo-party/sysproxy": "^2.0.4",
|
||||||
"@natmri/platform-napi": "^0.0.8",
|
"@natmri/platform-napi": "^0.0.7",
|
||||||
"adm-zip": "^0.5.5",
|
"adm-zip": "^0.5.5",
|
||||||
"ant-design-vue": "^1.6.5",
|
"ant-design-vue": "^1.6.5",
|
||||||
"compressing": "^1.5.1",
|
"compressing": "^1.5.1",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import autoStart from './auto-start/front'
|
|
||||||
// import api from './api/front'
|
// import api from './api/front'
|
||||||
|
import autoStart from './auto-start/front'
|
||||||
import error from './error/front'
|
import error from './error/front'
|
||||||
import fileSelector from './file-selector/front'
|
import fileSelector from './file-selector/front'
|
||||||
import onClose from './on-close/front'
|
import onClose from './on-close/front'
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<script>
|
<script>
|
||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
import vueJsonEditor from 'vue-json-editor-fix-cn'
|
import VueJsonEditor from 'vue-json-editor-fix-cn'
|
||||||
import Plugin from '../mixins/plugin'
|
import Plugin from '../mixins/plugin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Server',
|
name: 'Server',
|
||||||
components: {
|
components: {
|
||||||
VueJsonEditor: vueJsonEditor,
|
VueJsonEditor,
|
||||||
},
|
},
|
||||||
mixins: [Plugin],
|
mixins: [Plugin],
|
||||||
data () {
|
data () {
|
||||||
|
|
|
@ -4,7 +4,6 @@ const lodash = require('lodash')
|
||||||
// 替换占位符
|
// 替换占位符
|
||||||
function replacePlaceholder (url, rOptions, matched) {
|
function replacePlaceholder (url, rOptions, matched) {
|
||||||
if (url.includes('${')) {
|
if (url.includes('${')) {
|
||||||
// no-template-curly-in-string
|
|
||||||
// eslint-disable-next-line no-template-curly-in-string
|
// eslint-disable-next-line no-template-curly-in-string
|
||||||
url = url.replace('${host}', rOptions.hostname)
|
url = url.replace('${host}', rOptions.hostname)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue