Unverified Commit 246736f2 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

wechat: 4.0.6.25-29387 -> 4.1.0.19-29668 for darwin (#435017)

parents 9ae9af3e 3507cf70
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -17,6 +17,11 @@ stdenvNoCC.mkDerivation {

  # dmg is APFS formatted
  nativeBuildInputs = [ _7zz ];
  # ERROR: Dangerous link path was ignored : WeChat.app/Contents/MacOS/WeChatAppEx.app/Contents/Frameworks/WeChatAppEx Framework.framework/Versions/C/Libraries/xfile/libxfile_skia.dylib : ../xeditor/libxeditor_app.dylib
  unpackCmd = ''
    7zz x -snld "$curSrc"
  '';

  sourceRoot = ".";

  installPhase = ''
+2 −2
Original line number Diff line number Diff line
@@ -30,14 +30,14 @@ let
      # https://dldir1.qq.com/weixin/mac/mac-release.xml
      any-darwin =
        let
          version = "4.0.6.25-29387";
          version = "4.1.0.19-29668";
          version' = lib.replaceString "-" "_" version;
        in
        {
          inherit version;
          src = fetchurl {
            url = "https://dldir1v6.qq.com/weixin/Universal/Mac/xWeChatMac_universal_${version'}.dmg";
            hash = "sha256-vdeUUJdbIxT8tX5Xo9QIzbWTwRjtSXwrNoImMwt5xkY=";
            hash = "sha256-EAKfskB3zY4C05MVCoyxzW6wuRw8b2nXIynyEjx8Rvw=";
          };
        };
    in