mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-25 19:15:38 +01:00
Fix crash when loading if the installer was updated from an older version
This commit is contained in:
parent
1639e74b98
commit
6845ed9ad7
@ -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 New Issue
Block a user