Skip to content

沙盒不可使用 #328

Description

@baifachuan

App Version

3.3.1

Platform

macOS

Bug Description

我测试使用了沙盒,发现如下几个问题:

直接下载DMG进行安装,能够识别到沙盒,但是执行环境一直是原始,而使用npm run dev的开发模式下,则模式是:Lima VM,导致沙盒无法使用。

npm run dev的开发模式下,新开会话后,会显示文件同步到了沙盒,能看到在沙盒执行,但是一直会报错:

Working directory does not exist: /workspace
Cannot execute bash commands.

总是会去找 /workspace 导致丢到对话里面的文件无法找到。

所以沙盒一直无法正常使用。

Steps to Reproduce

创建lima虚拟机。
修改配置文件开启沙盒。
打开DMG安装的软件。

Expected Behaviour

DMG安装的包无法切换到沙盒。

Image

使用npm run dev启动后可以使用沙盒,但是会出现目录的问题。

Actual Behaviour

能正确使用沙盒。

Relevant Logs or Error Output


Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingplatform:macosmacOS-specific issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions