desktop: remote OPENCODE_SQLITE env (#13545)

This commit is contained in:
Brendan Allan
2026-02-14 12:20:09 +08:00
committed by GitHub
parent afb04ed5d4
commit 7d46872775
2 changed files with 1 additions and 9 deletions

View File

@@ -1,10 +1,3 @@
fn main() {
if let Ok(git_ref) = std::env::var("GITHUB_REF") {
let branch = git_ref.strip_prefix("refs/heads/").unwrap_or(&git_ref);
if branch == "beta" {
println!("cargo:rustc-env=OPENCODE_SQLITE=1");
}
}
tauri_build::build()
}