added version number so appimage

This commit is contained in:
Kristian Krsnik 2024-02-04 17:11:20 +01:00
parent 8759413a66
commit 188609e849
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85

View File

@ -15,6 +15,7 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
name = "scannedImageExtractor"; name = "scannedImageExtractor";
version = "0.2.7-beta";
in { in {
packages.${system} = { packages.${system} = {
default = let default = let
@ -80,7 +81,7 @@
apps.${system} = { apps.${system} = {
appImage = { appImage = {
program = "${pkgs.writeShellScript "scannedImageExtractor" '' program = "${pkgs.writeShellScript "scannedImageExtractor" ''
${pkgs.appimage-run}/bin/appimage-run ${self.packages.${system}.appImage}/${name}.AppImage ${pkgs.appimage-run}/bin/appimage-run ${self.packages.${system}.appImage}/${name}-v${version}.AppImage
''}"; ''}";
type = "app"; type = "app";
}; };