chore(packaging): add cargo packager config file
@@ -20,4 +20,5 @@ result
|
||||
# misc
|
||||
docs-gpui-components
|
||||
src-svelte
|
||||
gpui-component
|
||||
gpui-component
|
||||
packaging
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "picoforge"
|
||||
version = "0.4.0"
|
||||
description = "An open source commissioning tool for Pico FIDO security keys. Developed with Rust, Tauri, and Svelte."
|
||||
description = "An open source commissioning tool for Pico FIDO security keys. Developed with Rust and GPUI."
|
||||
authors = ["Suyog Tandel", "PicoForge Contributers"]
|
||||
license = "AGPL-3.0"
|
||||
edition = "2024"
|
||||
@@ -43,3 +43,6 @@ lto = true # Enables link-time-optimizations however is not stable.
|
||||
opt-level = 3 # Prioritizes speed. Use `z` if you prefer small binary size.
|
||||
# panic = "abort" # Higher performance by disabling panic handlers.
|
||||
strip = true # Ensures debug symbols are removed.
|
||||
|
||||
[package.metadata.packager]
|
||||
before-packaging-command = "cargo build --release"
|
||||
@@ -0,0 +1,45 @@
|
||||
name = "picoforge"
|
||||
productName = "picoforge"
|
||||
description = "An open source commissioning tool for Pico FIDO security keys. Developed with Rust and GPUI."
|
||||
category = "Utility"
|
||||
version = "0.4.0"
|
||||
authors = ["Suyog Tandel", "PicoForge Contributers"]
|
||||
identifier = "in.suyogtandel.picoforge"
|
||||
license_file = "LICENSE"
|
||||
|
||||
icons = [
|
||||
"./static/appIcons/in.suyogtandel.picoforge.svg",
|
||||
"./static/appIcons/icon.png",
|
||||
"./static/appIcons/icon.ico",
|
||||
"./static/appIcons/icon.icns",
|
||||
"./static/appIcons/32x32.png",
|
||||
"./static/appIcons/64x64.png",
|
||||
"./static/appIcons/128x128.png",
|
||||
"./static/appIcons/128x128@2x.png",
|
||||
"./static/appIcons/Square30x30Logo.png",
|
||||
"./static/appIcons/Square44x44Logo.png",
|
||||
"./static/appIcons/Square71x71Logo.png",
|
||||
"./static/appIcons/Square89x89Logo.png",
|
||||
"./static/appIcons/Square107x107Logo.png",
|
||||
"./static/appIcons/Square142x142Logo.png",
|
||||
"./static/appIcons/Square150x150Logo.png",
|
||||
"./static/appIcons/Square284x284Logo.png",
|
||||
"./static/appIcons/Square310x310Logo.png",
|
||||
"./static/appIcons/StoreLogo.png",
|
||||
]
|
||||
|
||||
beforePackagingCommand = "cargo build --release"
|
||||
|
||||
binaries = [{ main = true, path = "../../target/release/picoforge" }]
|
||||
outDir = "packaging/cargoPackager"
|
||||
|
||||
[linux]
|
||||
generateDesktopEntry = false
|
||||
|
||||
[appimage]
|
||||
excludedLibs = ["libpcsclite*.so*"]
|
||||
files = { "data/in.suyogtandel.picoforge.desktop" = "usr/share/applications/in.suyogtandel.picoforge.desktop", "static/appIcons/in.suyogtandel.picoforge-symbolic.svg" = "usr/share/icons/hicolor/symbolic/apps/in.suyogtandel.picoforge-symbolic.svg", "static/appIcons/in.suyogtandel.picoforge.svg" = "usr/share/icons/hicolor/scalable/apps/in.suyogtandel.picoforge.svg" }
|
||||
|
||||
# NOTE: The paths for .deb packages needs to be verified not sure about these.
|
||||
[deb]
|
||||
files = { "data/in.suyogtandel.picoforge.desktop" = "usr/share/applications/in.suyogtandel.picoforge.desktop", "static/appIcons/in.suyogtandel.picoforge-symbolic.svg" = "usr/share/icons/hicolor/symbolic/apps/in.suyogtandel.picoforge-symbolic.svg", "static/appIcons/in.suyogtandel.picoforge.svg" = "usr/share/icons/hicolor/scalable/apps/in.suyogtandel.picoforge.svg" }
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 420 B After Width: | Height: | Size: 517 B |
|
Before Width: | Height: | Size: 690 B After Width: | Height: | Size: 819 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 516 B After Width: | Height: | Size: 696 B |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 826 B |
|
Before Width: | Height: | Size: 889 B After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 947 B |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 5.3 KiB |