Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.43k stars 3.4k forks source link

Plugins install manually #7346

Open Zhao-Wilson opened 2 years ago

Zhao-Wilson commented 2 years ago

Describe the problem: [A clear and concise description of what the bug is.] When there is no Internet, I can't install plugins manually.

To Reproduce: [Steps to reproduce the behavior]

  1. Click Settings
  2. Click Plugins
  3. Click Plugins directory
  4. If there is no internet, I can't install plugins manually even if I have download the plugins from github and tar -zxvf in the directory
Zhao-Wilson commented 2 years ago

Tabby无法手动安装插件 在插件目录中,即使我下载了插件的安装包从github上,并且解压到插件目录中,也无法安装插件

Issues-translate-bot commented 2 years ago

The translator bot has detected that this issue body's language is not English, and has translated it automatically.


Tabby cannot manually install plugins In the plugin directory, even if I downloaded the plugin's installation package from github and unzipped it into the plugin directory, the plugin could not be installed

xk12138 commented 2 years ago

我也遇到了这个问题。但是我发现 https://github.com/Eugeny/tabby/blob/master/HACKING.md 这个文档里提到要解压到插件目录中,并且要有package.json,package.json中还要包含tabby-plugin的关键字才行。 例如我下载的quick-cmds,我最终将插件目录修改为了:

plugins
    |-node_modules
        |-tabby-quick-cmds(在pakcage.json中的name)
            |-dist
            |-package.json

修改之后完全退出Tabby重新打开,发现已经有了这个插件了。

GitHub
tabby/HACKING.md at master · Eugeny/tabby
A terminal for a more modern age. Contribute to Eugeny/tabby development by creating an account on GitHub.