aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml16
1 files changed, 13 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index df3b9fe..b441a2a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,13 +29,23 @@ panic = "abort"
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/map", dest = "/usr/bin/map", mode = "755" },
- # missing all the other files in resources
+ { source = "resources/logo.svg", dest = "/usr/share/icons/hicolor/scalable/apps/systems.tranquil.Map.svg", mode = "644" },
+ { source = "resources/systems.tranquil.Map.desktop", dest = "/usr/share/applications/systems.tranquil.Map.desktop", mode = "644" },
+ { source = "resources/systems.tranquil.Map.metainfo.xml", dest = "/usr/share/metainfo/systems.tranquil.Map.metainfo.xml", mode = "644" },
+ { source = "resources/systems.tranquil.Map.service", dest = "/usr/share/dbus-1/services/systems.tranquil.Map.service", mode = "644" },
+ { source = "resources/wmap.lang", dest = "/usr/share/gtksourceview-5/language-specs/wmap.lang", mode = "644" },
+ { source = "po/en_US/LC_MESSAGES/systems.tranquil.Map.mo", dest = "/usr/share/locale/en_US/LC_MESSAGES/systems.tranquil.Map.mo", mode = "644" },
]
[package.metadata.deb]
assets = [
- ["target/release/map", "/usr/bin/map", "755" ],
- # missing all the other files in resources
+ ["target/release/map", "/usr/bin/map", "755"],
+ ["resources/logo.svg", "/usr/share/icons/hicolor/scalable/apps/systems.tranquil.Map.svg", "644"],
+ ["resources/systems.tranquil.Map.desktop", "/usr/share/applications/systems.tranquil.Map.desktop", "644"],
+ ["resources/systems.tranquil.Map.metainfo.xml", "/usr/share/metainfo/systems.tranquil.Map.metainfo.xml", "644"],
+ ["resources/systems.tranquil.Map.service", "/usr/share/dbus-1/services/systems.tranquil.Map.service", "644"],
+ ["resources/wmap.lang", "/usr/share/gtksourceview-5/language-specs/wmap.lang", "644"],
+ ["po/en_US/LC_MESSAGES/systems.tranquil.Map.mo", "/usr/share/locale/en_US/LC_MESSAGES/systems.tranquil.Map.mo", "644"],
]
[lints.clippy]