Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
refactor: reorganize platform module imports and maintain conditional compilation for non-Android platforms
Tonhof6d6d8c68169
diff --git a/src-tauri/src/platforms/mod.rs b/src-tauri/src/platforms/mod.rsindex 4053fafa..0d47dbe2 100644--- a/src-tauri/src/platforms/mod.rs+++ b/src-tauri/src/platforms/mod.rs@@ -1,16 +1,24 @@pub use omniget_core::platforms::traits;-pub mod hotmart;-pub mod instagram;+pub use omniget_core::platforms::Platform;+pub mod pinterest;pub mod tiktok;pub mod twitter;pub mod twitch;pub mod bluesky;+pub mod telegram;++#[cfg(not(target_os = "android"))]+pub mod hotmart;+#[cfg(not(target_os = "android"))]+pub mod instagram;+#[cfg(not(target_os = "android"))]pub mod reddit;+#[cfg(not(target_os = "android"))]pub mod youtube;-pub mod telegram;+#[cfg(not(target_os = "android"))]pub mod vimeo;+#[cfg(not(target_os = "android"))]pub mod generic_ytdlp;+#[cfg(not(target_os = "android"))]pub mod udemy;--pub use omniget_core::platforms::Platform;