Skip to content

Conversation

hydevcode
Copy link

修复问题:
当打包成拓展运行的时候会报以下错误
image
image

添加功能:
根据注册表自动识别env路径,并在用户使用cmd的时候将环境应用到终端上:
如下图所示
image

if (os.platform() === 'win32') {
const regKey = new Registry({
hive: Registry.HKCR,
key: '\\*\\shell\\ConEmu Here'
Copy link
Member

Choose a reason for hiding this comment

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

😢 怎么还会使用ConEmu?Windows下用powershell可以说是完美

Copy link
Author

Choose a reason for hiding this comment

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

确实,那可以做一个选择,让用户自己选,主要也是习惯了RT-Thread配合ConEmu开发,比较方便

Copy link
Member

Choose a reason for hiding this comment

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

这个PR可以拆成两份提交,一份是修复打包问题,另一份是自动识别ENV的吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants