alt-tab-macos: refactor updateScript

- Simplify the updateScript
This commit is contained in:
DontEatOreo 2024-06-02 00:59:01 +03:00
parent 0ba898546b
commit 11967e5d84
No known key found for this signature in database
GPG Key ID: 0DB5361BEEE530AB

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";