mirror of
https://github.com/yuzu-emu/liftinstall
synced 2024-11-23 13:53:36 +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,
|
EOF,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Clone)]
|
#[derive(Serialize, Deserialize, Default, Clone)]
|
||||||
pub struct Credentials {
|
pub struct Credentials {
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub username: String,
|
pub username: String,
|
||||||
|
@ -67,6 +67,7 @@ pub struct Credentials {
|
||||||
pub struct InstallationDatabase {
|
pub struct InstallationDatabase {
|
||||||
pub packages: Vec<LocalInstallation>,
|
pub packages: Vec<LocalInstallation>,
|
||||||
pub shortcuts: Vec<String>,
|
pub shortcuts: Vec<String>,
|
||||||
|
#[serde(default)]
|
||||||
pub credentials: Credentials,
|
pub credentials: Credentials,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue