alt-tab-macos: refactor updateScript

- Simplify the updateScript

(cherry picked from commit 11967e5d84)
This commit is contained in:
DontEatOreo 2024-06-02 00:59:01 +03:00 committed by github-actions[bot]
parent 0ae35a1396
commit ba98ad17c0

View File

@ -2,7 +2,7 @@
lib,
stdenvNoCC,
fetchurl,
gitUpdater,
nix-update-script,
unzip,
}:
@ -28,10 +28,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.updateScript = gitUpdater {
url = "https://github.com/lwouis/alt-tab-macos";
rev-prefix = "v";
};
passthru.updateScript = nix-update-script { };
meta = {
description = "Windows alt-tab on macOS";