Merge pull request #278174 from YvesStraten/iina-fix

iina: add wrapper for iina-cli
This commit is contained in:
Weijia Wang 2024-01-04 22:43:51 +01:00 committed by GitHub
commit 9ee30b1b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,8 +19,9 @@ stdenv.mkDerivation rec {
sourceRoot = "IINA.app";
installPhase = ''
mkdir -p "$out/Applications/IINA.app"
mkdir -p $out/{bin,Applications/IINA.app}
cp -R . "$out/Applications/IINA.app"
ln -s "$out/Applications/IINA.app/Contents/MacOS/iina-cli" "$out/bin/iina"
'';
passthru.updateScript = nix-update-script { };