[fix] game launch panic + adjust select-none styles
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user