aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src/launcher')
-rw-r--r--src-tauri/src/launcher/launcher.rs1
-rw-r--r--src-tauri/src/launcher/mod.rs7
2 files changed, 0 insertions, 8 deletions
diff --git a/src-tauri/src/launcher/launcher.rs b/src-tauri/src/launcher/launcher.rs
index 22a8881..7b671c9 100644
--- a/src-tauri/src/launcher/launcher.rs
+++ b/src-tauri/src/launcher/launcher.rs
@@ -8,7 +8,6 @@ impl Launcher {
}
pub fn launch(&self) {
- // 启动游戏的逻辑
println!("启动游戏,用户名: {}", self.config.username);
println!(
"分辨率: {}x{}",
diff --git a/src-tauri/src/launcher/mod.rs b/src-tauri/src/launcher/mod.rs
index 100de01..d260703 100644
--- a/src-tauri/src/launcher/mod.rs
+++ b/src-tauri/src/launcher/mod.rs
@@ -5,15 +5,8 @@ pub use config::Config;
pub use launcher::Launcher;
pub fn start() {
- // 启动器的代码
println!("启动器启动中...");
-
- // 创建配置
let config = Config::new("玩家", (1920, 1080));
-
- // 创建启动器
let launcher = Launcher::new(config);
-
- // 启动游戏
launcher.launch();
}