[fix] game launch panic + adjust select-none styles

This commit is contained in:
Purp1e
2025-03-13 02:55:56 +08:00
parent bfcf519894
commit 103e700a17
7 changed files with 11 additions and 11 deletions

View File

@@ -13,7 +13,7 @@ pub fn launch_game(
server: &str,
) -> Result<(), Box<dyn Error>> {
// 判断路径是否存在
if !std::path::Path::new("/etc/hosts").exists() {
if !std::path::Path::new(steam_path).exists() {
return Err(Box::new(std::io::Error::new(
std::io::ErrorKind::NotFound,
"Steam path not found",