Skip to content

Commit

Permalink
GITBOOK-6: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
neila-a authored and gitbook-bot committed Jan 26, 2024
1 parent 95f046a commit 8b8516e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/bian-yi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,16 @@ Verkfi的扩展工具文件后缀是“VXT”,意为“Verkfi eXtended Tool”

要想将工具打包为VXT,只需用asar打包工具将其打包起来即可。

```bash
npm install @electron/asar -g
# foo为要打包的整个目录,bar为文件名(可以相同)
asar pack foo bar.vxt
```

或者

<pre class="language-bash"><code class="lang-bash"><strong># foo为要打包的整个目录,bar为文件名(可以相同)
</strong><strong>npx @electron/asar pack foo bar.vxt
</strong></code></pre>

就这样,我们的第一个Verkfi工具制作成功了!

1 comment on commit 8b8516e

@vercel
Copy link

@vercel vercel bot commented on 8b8516e Jan 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.