ytmdesktop: 2.0.6 -> 2.0.7

Changelog: github.com/ytmdesktop/ytmdesktop/releases/tag/v2.0.7
Closes #383172

Signed-off-by: Ludovico Piero <lewdovico@gnuweeb.org>
This commit is contained in:
Ludovico Piero
2025-02-19 06:09:11 +09:00
parent a283ed4c75
commit d68c3095d2
+3 -3
View File
@@ -12,7 +12,7 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ytmdesktop";
version = "2.0.6";
version = "2.0.7";
desktopItems = [
(makeDesktopItem {
@@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "https://github.com/ytmdesktop/ytmdesktop/releases/download/v${finalAttrs.version}/youtube-music-desktop-app_${finalAttrs.version}_amd64.deb";
hash = "sha256-uLTnVA9ooGlbtmUGoYtrT9IlOhTAJpEXMr1GSs3ae/8=";
hash = "sha256-bdP6vIAUoFYLvEvxtG69tBuL94EQQVwNyeuQibRMMbk=";
};
unpackPhase = ''
@@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
asar extract resources/app.asar patched-asar
# workaround for https://github.com/electron/electron/issues/31121
substituteInPlace patched-asar/.webpack/main/index.js \
substituteInPlace patched-asar/.vite/main/index.js \
--replace-fail "process.resourcesPath" "'$out/lib/resources'"
asar pack patched-asar resources/app.asar