mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
ytdownloader: disable updates
This commit is contained in:
parent
c9cc328009
commit
ed75226cdf
@ -49,6 +49,9 @@ buildNpmPackage rec {
|
||||
--replace-fail $\{__dirname}/../ffmpeg '${lib.getExe ffmpeg}' \
|
||||
--replace-fail 'path.join(os.homedir(), ".ytDownloader", "ytdlp")' '`${lib.getExe yt-dlp}`' \
|
||||
--replace-fail '!!localStorage.getItem("fullYtdlpBinPresent")' 'true'
|
||||
# Disable auto-updates
|
||||
substituteInPlace src/preferences.js \
|
||||
--replace-warn 'const autoUpdateDisabled = getId("autoUpdateDisabled");' 'const autoUpdateDisabled = "true";'
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
Loading…
Reference in New Issue
Block a user