feat: 增加视频清单搜索,并在开发期缓存剧目清单
This commit is contained in:
@@ -52,7 +52,11 @@ fn spawn_backend(root: &Path, port: u16) -> Result<Child, String> {
|
||||
.arg("--port")
|
||||
.arg(port.to_string())
|
||||
.env("RAPTD_STATIC", &static_dir)
|
||||
.env("PYTHONUNBUFFERED", "1");
|
||||
.env("PYTHONUNBUFFERED", "1")
|
||||
.env(
|
||||
"RAPTD_CATALOG_CACHE",
|
||||
if cfg!(debug_assertions) { "1" } else { "0" },
|
||||
);
|
||||
#[cfg(all(windows, not(debug_assertions)))]
|
||||
{
|
||||
use std::os::windows::process::CommandExt;
|
||||
|
||||
Reference in New Issue
Block a user