fix: skins count display when no skins are in the skins directory

This commit is contained in:
2025-07-21 22:54:21 +02:00
parent fd4d911075
commit 2549b18e8c
5 changed files with 24 additions and 24 deletions

View File

@@ -308,6 +308,11 @@ pub async fn is_net8_installed() -> bool {
}
}
#[cfg(not(windows))]
pub fn encrypt_password(password: &str, _entropy: &str) -> Result<String, String> {
Ok(password.to_string())
}
#[cfg(windows)]
pub fn encrypt_password(password: &str, entropy: &str) -> Result<String, String> {
use base64::{Engine as _, engine::general_purpose};