Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] 将项目的绝对路径传入入口文件workspaceDir参数,进入codefuse打开项目后使用IWindowService打开新窗口失败 #4282

Open
chenshuangctrl opened this issue Dec 29, 2024 · 2 comments
Labels
💬 question Further information is requested

Comments

@chenshuangctrl
Copy link

描述你的问题(Describe you question here)
codefuse自定义启动页后,将项目的绝对路径传给入口文件renderApp中opts的workspaceDir参数,进入codefuse并打开项目后,使用IWindowService再次打开IDE窗口失败

1,自定义启动页,workspaceDir传入项目绝对路径
11111
2,自定义模块中使用IWindowService服务中的openWorkspace打开新窗口失败,在自定义模块中打印electronEnv.metadata.workspace的值是‘ / ’,不是传入的项目路径
image

@chenshuangctrl chenshuangctrl added the 💬 question Further information is requested label Dec 29, 2024
@chenshuangctrl chenshuangctrl changed the title [Question] 将项目的绝对路径传入入口文件workspaceDir参数,进入IDE打开项目后,使用IWindowService再次打开IDE窗口失败 [Question] 将项目的绝对路径传入入口文件workspaceDir参数,进入codefuse打开项目后使用IWindowService再次打开新窗口失败 Dec 29, 2024
@chenshuangctrl chenshuangctrl changed the title [Question] 将项目的绝对路径传入入口文件workspaceDir参数,进入codefuse打开项目后使用IWindowService再次打开新窗口失败 [Question] 将项目的绝对路径传入入口文件workspaceDir参数,进入codefuse打开项目后使用IWindowService打开新窗口失败 Dec 29, 2024
@hacke2
Copy link
Member

hacke2 commented Dec 30, 2024

有没有可以复现的 demo?

@chenshuangctrl
Copy link
Author

demo.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💬 question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants