Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T02:56:50.450Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

build.rs

24 lines · 772 B · rust
1#![allow(clippy::disallowed_methods, reason = "build scripts are exempt")]
2
3fn main() {
4    println!("cargo::rustc-check-cfg=cfg(gles)");
5
6    let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default();
7
8    if target_os == "windows" {
9        #[cfg(feature = "windows-manifest")]
10        embed_resource();
11    }
12}
13
14#[cfg(feature = "windows-manifest")]
15fn embed_resource() {
16    let manifest = std::path::Path::new("resources/windows/gpui.manifest.xml");
17    let rc_file = std::path::Path::new("resources/windows/gpui.rc");
18    println!("cargo:rerun-if-changed={}", manifest.display());
19    println!("cargo:rerun-if-changed={}", rc_file.display());
20    embed_resource::compile(rc_file, embed_resource::NONE)
21        .manifest_required()
22        .unwrap();
23}
24
Served at tenant.openagents/omega Member data and write actions are omitted.