Commit a6d0ad89 authored by Neyts Zupan's avatar Neyts Zupan
Browse files

paretosecurity: 0.2.13 -> 0.2.14

Also, improve the URL handler test
parent 7aa5920a
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -117,15 +117,17 @@
    xfce.succeed("xdotool click 1")
    xfce.wait_for_text("Run Checks")

    # Test 5: paretosecurity:// URL handler is registered
    xfce.succeed("su - alice -c 'xdg-open paretosecurity://foo'")

    # Test 6: Desktop entry
    # Test 5: Desktop entry
    xfce.succeed("xdotool mousemove 10 10")
    xfce.succeed("xdotool click 1")  # hide the tray icon window
    xfce.succeed("xdotool click 1")  # show the Applications menu
    xfce.succeed("xdotool mousemove 10 200")
    xfce.succeed("xdotool click 1")
    xfce.wait_for_text("Pareto Security")

    # Test 6: paretosecurity:// URL handler is registered
    xfce.execute("su - alice -c 'xdg-open paretosecurity://foo >/dev/null &'")
    xfce.wait_for_text("Failed to add device")

  '';
}
+2 −2
Original line number Diff line number Diff line
@@ -17,13 +17,13 @@ buildGoModule (finalAttrs: {
    webkitgtk_4_1
  ];
  pname = "paretosecurity";
  version = "0.2.13";
  version = "0.2.14";

  src = fetchFromGitHub {
    owner = "ParetoSecurity";
    repo = "agent";
    rev = finalAttrs.version;
    hash = "sha256-G2An1Br/NJcIEKaM/pPEGkJazD9UFypRZ/KLmqkNUTo=";
    hash = "sha256-/3TTSaio24cuXmPvPVRZE4JqddWYezyAFCqYJRiMG7M=";
  };

  vendorHash = "sha256-YnyACP/hJYxi4AWMwr0We4YUTbWwahKAIYN6RnHmzls=";