mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-26 01:34:38 +10:00
82b9912bd0
* refactor: split umu launcher * feat: latest version picker + fixes * feat: frontend latest changes * feat: game update detection w/ setting * feat: fixes and refactor for game update * fix: windows ui * fix: deps * feat: update modifications * feat: missing ui and lock update * fix: create install dir on init * fix: clippy * fix: clippy x2 * feat: add configuration option to toggle updates * feat: uninstall dropdown on partiallyinstalled
20 lines
372 B
Rust
20 lines
372 B
Rust
use serde::Serialize;
|
|
|
|
use crate::{app_status::AppStatus, user::User};
|
|
|
|
#[derive(Clone, Serialize, PartialEq, Eq)]
|
|
pub enum UmuState {
|
|
NotNeeded,
|
|
NotInstalled,
|
|
NoDefault,
|
|
Installed,
|
|
}
|
|
|
|
#[derive(Clone, Serialize)]
|
|
#[serde(rename_all = "camelCase")]
|
|
pub struct AppState {
|
|
pub status: AppStatus,
|
|
pub user: Option<User>,
|
|
pub umu_state: UmuState,
|
|
}
|