feat: update snap packaging paths and improve asset configuration in Cargo.toml

This commit is contained in:
2026-05-28 16:10:28 +08:00
parent f431c3d018
commit 7bc571ea27
3 changed files with 10 additions and 5 deletions

View File

@@ -29,8 +29,9 @@ description = """
Cargo-like utility to manage C/C++ projects.
"""
[package.metadata.generate-rpm.files]
"/usr/bin/dcr" = { source = "target/release/dcr", mode = "755" }
assets = [
{ source = "target/release/dcr", dest = "/usr/bin/dcr", mode = "755" }
]
[dependencies]
glob = "0.3"