logo 移至 plugin 目录

This commit is contained in:
fofolee
2022-04-16 13:11:58 +08:00
parent e5af0ae63a
commit f3d6b72273
20 changed files with 19 additions and 18 deletions

View File

@@ -2,7 +2,7 @@
<q-card>
<q-card-section class="q-gutter-md flex items-center">
<q-avatar square size="48px">
<img :src="require('../assets/logo/quickcommand.png')" />
<img src="logo/quickcommand.png" />
</q-avatar>
<span class="text-h5"
>{{ pluginInfo.pluginName }} v{{ pluginInfo.version }}</span

View File

@@ -328,7 +328,8 @@ export default {
this.platformVerify();
},
setIcon(language) {
this.currentCommand.features.icon = this.$programmings[language].icon;
this.currentCommand.features.icon?.slice(0, 10) === "data:image" ||
(this.currentCommand.features.icon = this.$programmings[language].icon);
},
getCommandType() {
let data = { type: "key", match: [] };

View File

@@ -59,7 +59,7 @@ export default {
return {
features: {
explain: `进入${this.currentTag}的面板视图`,
icon: require("../assets/logo/quickcommand.png"),
icon: "logo/quickcommand.png",
cmds: [this.currentTag],
platform: ["win32", "darwin", "linux"],
code: `panel_${window.hexEncode(this.currentTag)}`,