This commit is contained in:
Timon
2026-02-13 16:24:20 +00:00
parent e606efd008
commit 5bb5b16552
4 changed files with 53 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
[package]
name = "graphite-desktop-update"
version = "0.0.0"
description = "Graphite Desktop Update"
authors = ["Graphite Authors <contact@graphite.art>"]
license = "Apache-2.0"
repository = ""
edition = "2024"
rust-version = "1.87"
[dependencies]
+37
View File
@@ -0,0 +1,37 @@
pub struct Info {
pub commit: Commit,
pub system: System,
pub package: Package,
pub version: Version,
}
pub struct Commit {
pub hash: String,
pub time: u64,
}
pub struct System {
pub os: Os,
pub arch: Arch,
}
pub enum Os {
Linux,
Mac,
Windows,
}
pub enum Arch {
X86_64,
Aarch64,
}
pub struct Version {
pub major: u64,
pub minor: u64,
pub patch: u64,
}
pub struct Package {
pub url: String,
}