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

BIN
plugin/logo/applescript.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 826 B

BIN
plugin/logo/c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
plugin/logo/cmd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
plugin/logo/csharp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
plugin/logo/custom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
plugin/logo/go.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
plugin/logo/javascript.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
plugin/logo/lua.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
plugin/logo/perl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
plugin/logo/php.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

BIN
plugin/logo/powershell.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
plugin/logo/python.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
plugin/logo/quickpanel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
plugin/logo/ruby.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
plugin/logo/shell.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

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)}`,

View File

@ -10,7 +10,7 @@ const programs = {
argv: "",
ext: "",
color: "primary",
icon: require("../../assets/logo/quickcommand.png"),
icon: "logo/quickcommand.png",
},
shell: {
name: "shell",
@ -18,7 +18,7 @@ const programs = {
argv: "",
ext: "sh",
color: "green-6",
icon: require("../../assets/logo/shell.png"),
icon: "logo/shell.png",
},
applescript: {
name: "applescript",
@ -26,7 +26,7 @@ const programs = {
argv: "",
ext: "scpt",
color: "cyan-10",
icon: require("../../assets/logo/applescript.png"),
icon: "logo/applescript.png",
},
cmd: {
name: "cmd",
@ -35,7 +35,7 @@ const programs = {
argv: "",
ext: "bat",
color: "orange-10",
icon: require("../../assets/logo/cmd.png"),
icon: "logo/cmd.png",
},
powershell: {
name: "powershell",
@ -43,7 +43,7 @@ const programs = {
argv: "-NoProfile -File",
ext: "ps1",
color: "amber-14",
icon: require("../../assets/logo/powershell.png"),
icon: "logo/powershell.png",
},
python: {
name: "python",
@ -51,7 +51,7 @@ const programs = {
argv: "-u",
ext: "py",
color: "light-blue-10",
icon: require("../../assets/logo/python.png"),
icon: "logo/python.png",
},
javascript: {
name: "javascript",
@ -59,7 +59,7 @@ const programs = {
argv: "",
ext: "js",
color: "teal",
icon: require("../../assets/logo/javascript.png"),
icon: "logo/javascript.png",
},
ruby: {
name: "ruby",
@ -67,7 +67,7 @@ const programs = {
argv: "",
ext: "rb",
color: "red-10",
icon: require("../../assets/logo/ruby.png"),
icon: "logo/ruby.png",
},
php: {
name: "php",
@ -75,7 +75,7 @@ const programs = {
argv: "",
ext: "php",
color: "deep-purple",
icon: require("../../assets/logo/php.png"),
icon: "logo/php.png",
},
c: {
name: "c",
@ -83,7 +83,7 @@ const programs = {
argv: "-o",
ext: "c",
color: "blue-7",
icon: require("../../assets/logo/c.png"),
icon: "logo/c.png",
},
csharp: {
name: "csharp",
@ -91,7 +91,7 @@ const programs = {
argv: "/Nologo",
ext: "cs",
color: "light-blue-13",
icon: require("../../assets/logo/csharp.png"),
icon: "logo/csharp.png",
},
lua: {
name: "lua",
@ -99,7 +99,7 @@ const programs = {
argv: "",
ext: "lua",
color: "light-green-8",
icon: require("../../assets/logo/lua.png"),
icon: "logo/lua.png",
},
perl: {
name: "perl",
@ -107,7 +107,7 @@ const programs = {
argv: "",
ext: "pl",
color: "purple",
icon: require("../../assets/logo/perl.png")
icon: "logo/perl.png"
},
custom: {
name: "custom",
@ -115,7 +115,7 @@ const programs = {
argv: "",
ext: "",
color: "indigo-6",
icon: require("../../assets/logo/custom.png"),
icon: "logo/custom.png",
},
};
export default programs