refactor: moved game-related stuff into the games
folder
This commit is contained in:
parent
4169e90225
commit
7ba4b13c04
45 changed files with 13 additions and 3 deletions
8
src/games/mod.rs
Normal file
8
src/games/mod.rs
Normal 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;
|
|
@ -3,14 +3,16 @@ use std::process::{Command, Stdio};
|
||||||
pub use anime_game_core;
|
pub use anime_game_core;
|
||||||
pub use wincompatlib;
|
pub use wincompatlib;
|
||||||
|
|
||||||
|
mod games;
|
||||||
|
|
||||||
#[cfg(feature = "genshin")]
|
#[cfg(feature = "genshin")]
|
||||||
pub mod genshin;
|
pub use games::genshin;
|
||||||
|
|
||||||
#[cfg(feature = "honkai")]
|
#[cfg(feature = "honkai")]
|
||||||
pub mod honkai;
|
pub use games::honkai;
|
||||||
|
|
||||||
#[cfg(feature = "star-rail")]
|
#[cfg(feature = "star-rail")]
|
||||||
pub mod star_rail;
|
pub use games::star_rail;
|
||||||
|
|
||||||
#[cfg(feature = "config")]
|
#[cfg(feature = "config")]
|
||||||
pub mod config;
|
pub mod config;
|
||||||
|
|
Loading…
Reference in a new issue