diff --git a/FyneApp.toml b/FyneApp.toml index 06f4f7a..218b07a 100644 --- a/FyneApp.toml +++ b/FyneApp.toml @@ -4,4 +4,5 @@ Website = "https://github.com/qbit/traygent" Icon = "traygent.png" Name = "traygent" ID = "dev.suah.traygent" - Version = "1.0.8" \ No newline at end of file + Version = "1.0.8" + Build = 1 diff --git a/flake.nix b/flake.nix index 1c883e2..402442b 100644 --- a/flake.nix +++ b/flake.nix @@ -5,6 +5,8 @@ outputs = { self, nixpkgs }: let + inherit (builtins) readFile fromTOML; + verStr = fromTOML (readFile ./FyneApp.toml); supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; forAllSystems = nixpkgs.lib.genAttrs supportedSystems; @@ -17,7 +19,7 @@ traygent = with pkgs; buildGoModule rec { pname = "traygent"; - version = "v1.0.8"; + version = "v${verStr}"; src = ./.; vendorHash = "sha256-rYLUBRX0m9sCihu6EhakiC1jAzp6NAY7oLaSSKwNqhU="; @@ -46,7 +48,7 @@ # No wayland yet, it opens a second window buildPhase = '' - ${fyne}/bin/fyne package + ${fyne}/bin/fyne package --release ''; installPhase = ''