summaryrefslogtreecommitdiff
path: root/src/appimage.rs
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2025-07-29 13:46:43 +0100
committerNaz <ndpm13@ch-naseem.com>2025-07-29 13:46:43 +0100
commitbd8adb9f0193f1482ca866b06cf133ff68fd9a8e (patch)
tree8d29230c9821e0512c207e2415e682a997090d2e /src/appimage.rs
parentf419a08d2861d76dce3d2a8206d6f1eb24bf1f2e (diff)
🔧refactor: remove types.rs
Diffstat (limited to 'src/appimage.rs')
-rw-r--r--src/appimage.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/appimage.rs b/src/appimage.rs
new file mode 100644
index 0000000..5d0f8e5
--- /dev/null
+++ b/src/appimage.rs
@@ -0,0 +1,20 @@
+use serde::{Deserialize, Serialize};
+use std::path::PathBuf;
+
+#[derive(Debug, Serialize, Deserialize)]
+pub struct AppImage {
+ pub file_path: PathBuf,
+ pub executable: String,
+ pub source: Source,
+}
+
+#[derive(Debug, Serialize, Deserialize)]
+pub struct Source {
+ pub identifier: String,
+ pub meta: SourceMetadata,
+}
+
+#[derive(Debug, Serialize, Deserialize)]
+pub struct SourceMetadata {
+ pub url: String,
+}