ref: refector

This commit is contained in:
muwoo 2021-08-04 19:36:22 +08:00
parent 1176a0c9b2
commit 01480d9188
6 changed files with 5 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Binary file not shown.

View File

@ -19,7 +19,7 @@
"rebuild_win": "cnpm rebuild --runtime=electron --target=11.4.10 --disturl=https://atom.io/download/atom-shell --abi=85" "rebuild_win": "cnpm rebuild --runtime=electron --target=11.4.10 --disturl=https://atom.io/download/atom-shell --abi=85"
}, },
"build": { "build": {
"asar": false, "asar": true,
"productName": "rubick2", "productName": "rubick2",
"appId": "com.example.yourapp2", "appId": "com.example.yourapp2",
"compression": "maximum", "compression": "maximum",
@ -52,7 +52,10 @@
"target": "pkg" "target": "pkg"
}, },
"win": { "win": {
"icon": "build/icons/icon.ico" "target":[
"nsis",
"msi"
]
}, },
"linux": { "linux": {
"icon": "build/icons" "icon": "build/icons"

View File

@ -13,7 +13,6 @@ if (process.env.NODE_ENV !== 'development') {
} }
// to fix https://github.com/electron/electron/issues/18397 // to fix https://github.com/electron/electron/issues/18397
app.allowRendererProcessReuse = false; app.allowRendererProcessReuse = false;
console.log(process.platform);
if (process.platform === 'darwin') { if (process.platform === 'darwin') {
app.dock.hide(); app.dock.hide();
} }

View File

@ -55,7 +55,6 @@
<div class="title">长按以下设置的毫秒响应</div> <div class="title">长按以下设置的毫秒响应</div>
<a-slider :step="100" v-model:value="config.superPanel.mouseDownTime" :min="200" :max="1000" /> <a-slider :step="100" v-model:value="config.superPanel.mouseDownTime" :min="200" :max="1000" />
</div> </div>
<img width="100%" src="https://static.91jkys.com/upload/202107/02/fa4a5c614234409fb32ddda70cb900aa.jpg" />
</div> </div>
<div v-if="currentSelect[0] === 2"> <div v-if="currentSelect[0] === 2">
<a-collapse> <a-collapse>