diff --git a/hardening/bwraps/wechat.nix b/hardening/bwraps/wechat.nix index 19562120..46ef61a7 100644 --- a/hardening/bwraps/wechat.nix +++ b/hardening/bwraps/wechat.nix @@ -15,17 +15,20 @@ let pname = "wechat"; # https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/we/wechat/package.nix sources = { + # use https://web.archive.org/save to archive the Linux versions + # add `if_` at the end of timestamps to avoid toolbar insertion + # for a more complicated guide, see https://en.wikipedia.org/wiki/Help:Using_the_Wayback_Machine aarch64-linux = { - version = "4.1.0.13"; + version = "4.1.1.4"; src = fetchurl { - url = "https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_arm64.AppImage"; + url = "https://web.archive.org/web/20260311102559if_/https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_arm64.AppImage"; hash = "sha256-YlWJxT62tXDaNwYVpsPMC5elFH8fsbI1HjTQn6ePiPo="; }; }; x86_64-linux = { - version = "4.1.0.13"; + version = "4.1.1.4"; src = fetchurl { - url = "https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_x86_64.AppImage"; + url = "https://web.archive.org/web/20260311102439if_/https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_x86_64.AppImage"; hash = "sha256-XxAvFnlljqurGPDgRr+DnuCKbdVvgXBPh02DLHY3Oz8="; }; };