mirror of
https://github.com/yuzu-emu/liftinstall
synced 2024-11-23 10:43:37 +00:00
Fix crash when loading if the installer was updated from an older version
This commit is contained in:
parent
1639e74b98
commit
6845ed9ad7
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,7 @@ pub enum InstallMessage {
|
|||
EOF,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
#[derive(Serialize, Deserialize, Default, Clone)]
|
||||
pub struct Credentials {
|
||||
#[serde(default)]
|
||||
pub username: String,
|
||||
|
@ -67,6 +67,7 @@ pub struct Credentials {
|
|||
pub struct InstallationDatabase {
|
||||
pub packages: Vec<LocalInstallation>,
|
||||
pub shortcuts: Vec<String>,
|
||||
#[serde(default)]
|
||||
pub credentials: Credentials,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue