Browse Source

Optimize: clash install use short url if exists

develop
CareyWong 5 years ago
parent
commit
8ab15efd77
  1. 3
      src/views/Subconverter.vue

3
src/views/Subconverter.vue

@ -6,6 +6,7 @@
<div slot="header">
Subscription Converter
<svg-icon icon-class="github" style="margin-left: 20px" @click="goToProject" />
<i class="el-icon-s-promotion" />
<div style="display: inline-block; position:absolute; right: 20px">{{ backendVersion }}</div>
</div>
@ -366,7 +367,7 @@ export default {
}
const url = "clash://install-config?url=";
window.open(url + encodeURIComponent(this.customSubUrl));
window.open(url + encodeURIComponent(this.curtomShortSubUrl !== '' ? this.curtomShortSubUrl : this.customSubUrl));
},
surgeInstall() {
if (this.customSubUrl === "") {

Loading…
Cancel
Save