refactor: moved game-related stuff into the games folder

This commit is contained in:
Observer KRypt0n_ 2023-05-05 11:41:24 +02:00
parent 4169e90225
commit 7ba4b13c04
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
45 changed files with 13 additions and 3 deletions

8
src/games/mod.rs Normal file
View file

@ -0,0 +1,8 @@
#[cfg(feature = "genshin")]
pub mod genshin;
#[cfg(feature = "honkai")]
pub mod honkai;
#[cfg(feature = "star-rail")]
pub mod star_rail;

View file

@ -3,14 +3,16 @@ use std::process::{Command, Stdio};
pub use anime_game_core;
pub use wincompatlib;
mod games;
#[cfg(feature = "genshin")]
pub mod genshin;
pub use games::genshin;
#[cfg(feature = "honkai")]
pub mod honkai;
pub use games::honkai;
#[cfg(feature = "star-rail")]
pub mod star_rail;
pub use games::star_rail;
#[cfg(feature = "config")]
pub mod config;