mirror of
https://github.com/tauri-apps/verso.git
synced 2026-01-31 00:55:21 +01:00
* Add script to package libs * Install gstreamer on macOS CI * Add cargo packager to macOS * Install cargo-packager on macos * Update version env variable * Move step order * Update artifact path * Add develop installer * Use fallback path instead * Move env variable to build steps instead * Manually export instead * Move dylib to framework instead * Try ad-hoc codesign * Try frameworks * Test custom package script * Update dmg version * Add rpath in build script * Add entitlements * Cleanup * Revert CI condition for packaging
15 lines
503 B
Rust
15 lines
503 B
Rust
fn main() {
|
|
cfg_aliases::cfg_aliases! {
|
|
// Platforms
|
|
android: { target_os = "android" },
|
|
macos: { target_os = "macos" },
|
|
ios: { target_os = "ios" },
|
|
// windows: { target_os = "windows" },
|
|
apple: { any(target_os = "ios", target_os = "macos") },
|
|
linux: { all(unix, not(apple), not(android)) },
|
|
}
|
|
|
|
#[cfg(all(feature = "packager", target_os = "macos"))]
|
|
println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../Resources/lib");
|
|
}
|