Open
Conversation
- 将 prepackage 中的 sed 命令替换为 Node.js 脚本 - 将 postpackage 中的 mv 命令替换为 fs.renameSync() - 使用纯 JavaScript 实现,避免了系统命令在不同平台上的差异 - 确保在 Windows、macOS 和 Linux 上都能正常工作
e6248de to
26bf5e2
Compare
Owner
|
我嘞个豆啊 太长了吧 实际上这个这么写也是不得已而为之 问题出在 vsix的README不能写svg xml 代码 避免引发安全问题 那我就傻眼了 这玩意刚好只提供svg |
Author
暂时先这样吧 感觉要根本上解决的话,得和 awesome.re 域名持有者协商,然后向 microsoft/vscode-vsce 提 Issue 和 pr, 并联系 VSCode Marketplace 团队,申请添加 awesome.re 至白名单 |
Owner
看了引用代码 才知道原来还有这回事 学到了 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Uh oh!
There was an error while loading. Please reload this page.