本地运行 rsdk
This is not a well supported or tested installation method.
When you have issues, please check the source code for up-to-date runtime dependencies.
We do not answer support questions related to this type of installation.
要本地运行 rsdk,您最好使用 Ubuntu 系统,因为 devcontainer 基于此系统。
请首先在您的系统上安装 devenv 。
可选择安装 direnv,然后在项目文件夹中运行 direnv allow 来启用它。
然后运行 devenv shell 进入开发 shell。这个 shell 将对您的 PATH 变量进行操作,使开发依赖可用。
如果安装了 direnv,就不必在进入项目目录使用 SDK 时运行上述命令。不过,direnv shell 缺少 starship 集成和 rsdk 自动补全,因为它只保存环境变量。
有一些额外的系统配置和软件包 devenv 目前无法管理。它们主要由 rsdk-setup 中的 install_native_dependency 函数负责。