added version number so appimage
This commit is contained in:
parent
8759413a66
commit
188609e849
@ -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";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user