aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/launcher
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-13 17:54:42 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-13 17:54:42 +0800
commit50f4725c657c6583452d9c85f9b934c3cf2a0f70 (patch)
tree8d8de216b134a04507d68dd2dc7516b8dbe433bd /src-tauri/src/launcher
parentf7cabe5a0388518be50eb225500b7b4800109274 (diff)
downloadDropOut-50f4725c657c6583452d9c85f9b934c3cf2a0f70.tar.gz
DropOut-50f4725c657c6583452d9c85f9b934c3cf2a0f70.zip
chore(style): format code
Diffstat (limited to 'src-tauri/src/launcher')
-rw-r--r--src-tauri/src/launcher/config.rs2
-rw-r--r--src-tauri/src/launcher/launcher.rs7
-rw-r--r--src-tauri/src/launcher/mod.rs2
3 files changed, 7 insertions, 4 deletions
diff --git a/src-tauri/src/launcher/config.rs b/src-tauri/src/launcher/config.rs
index fafc229..7637268 100644
--- a/src-tauri/src/launcher/config.rs
+++ b/src-tauri/src/launcher/config.rs
@@ -10,4 +10,4 @@ impl Config {
resolution,
}
}
-} \ No newline at end of file
+}
diff --git a/src-tauri/src/launcher/launcher.rs b/src-tauri/src/launcher/launcher.rs
index 5ccf443..22a8881 100644
--- a/src-tauri/src/launcher/launcher.rs
+++ b/src-tauri/src/launcher/launcher.rs
@@ -10,6 +10,9 @@ impl Launcher {
pub fn launch(&self) {
// 启动游戏的逻辑
println!("启动游戏,用户名: {}", self.config.username);
- println!("分辨率: {}x{}", self.config.resolution.0, self.config.resolution.1);
+ println!(
+ "分辨率: {}x{}",
+ self.config.resolution.0, self.config.resolution.1
+ );
}
-} \ No newline at end of file
+}
diff --git a/src-tauri/src/launcher/mod.rs b/src-tauri/src/launcher/mod.rs
index 0359d3e..100de01 100644
--- a/src-tauri/src/launcher/mod.rs
+++ b/src-tauri/src/launcher/mod.rs
@@ -16,4 +16,4 @@ pub fn start() {
// 启动游戏
launcher.launch();
-} \ No newline at end of file
+}