Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #33
添加了npm有关文件
package.json。添加了用于辅助多平台运行程序的
cli.js。添加了 GitHub Actions 构建文件,需要作者启用 GitHub Actions,需要作者将自己的NPM_TOKEN填入仓库的机密中,此工作流将在提交tag时执行,此工作流将构建各平台的文件,并发布包至npm,npm包需要作者提前创建。
修改了
.gitignore使其排除dist文件夹而不是排除文件。修改了
README.md添加使用npm安装部分。鉴于经验不足,如有不当之处,恳请斧正。