mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-04 19:58:11 +08:00
WIP
This commit is contained in:
Generated
+4
@@ -2411,6 +2411,10 @@ dependencies = [
|
|||||||
"winres",
|
"winres",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "graphite-desktop-update"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "graphite-desktop-wrapper"
|
name = "graphite-desktop-wrapper"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ members = [
|
|||||||
"desktop",
|
"desktop",
|
||||||
"desktop/wrapper",
|
"desktop/wrapper",
|
||||||
"desktop/embedded-resources",
|
"desktop/embedded-resources",
|
||||||
|
"desktop/update",
|
||||||
"desktop/bundle",
|
"desktop/bundle",
|
||||||
"desktop/platform/linux",
|
"desktop/platform/linux",
|
||||||
"desktop/platform/mac",
|
"desktop/platform/mac",
|
||||||
|
|||||||
@@ -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]
|
||||||
@@ -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,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user