Browse Source

Use rawgit CDN URLs for MSU packages

Rather than downloading from Github directly.

Closes gh-68
Thomas Kluyver 8 years ago
parent
commit
8e7e4655af
1 changed files with 8 additions and 8 deletions
  1. 8 8
      nsist/pyapp_msvcrt.nsi

+ 8 - 8
nsist/pyapp_msvcrt.nsi

@@ -12,23 +12,23 @@ Section "-msvcrt"
 
 
   ${If} ${RunningX64}
   ${If} ${RunningX64}
     ${If} $R0 == "8.1"
     ${If} $R0 == "8.1"
-      StrCpy $0 "https://github.com/takluyver/pynsist/raw/msvcrt-2015-msus/x64/Windows8.1-KB2999226-x64.msu"
+      StrCpy $0 "https://cdn.rawgit.com/takluyver/pynsist/msvcrt-tag1/x64/Windows8.1-KB2999226-x64.msu"
     ${ElseIf} $R0 == "8"
     ${ElseIf} $R0 == "8"
-      StrCpy $0 "https://github.com/takluyver/pynsist/raw/msvcrt-2015-msus/x64/Windows8-RT-KB2999226-x64.msu"
+      StrCpy $0 "https://cdn.rawgit.com/takluyver/pynsist/msvcrt-tag1/x64/Windows8-RT-KB2999226-x64.msu"
     ${ElseIf} $R0 == "7"
     ${ElseIf} $R0 == "7"
-      StrCpy $0 "https://github.com/takluyver/pynsist/raw/msvcrt-2015-msus/x64/Windows6.1-KB2999226-x64.msu"
+      StrCpy $0 "https://cdn.rawgit.com/takluyver/pynsist/msvcrt-tag1/x64/Windows6.1-KB2999226-x64.msu"
     ${ElseIf} $R0 == "Vista"
     ${ElseIf} $R0 == "Vista"
-      StrCpy $0 "https://github.com/takluyver/pynsist/raw/msvcrt-2015-msus/x64/Windows6-KB2999226-x64.msu"
+      StrCpy $0 "https://cdn.rawgit.com/takluyver/pynsist/msvcrt-tag1/x64/Windows6-KB2999226-x64.msu"
     ${EndIf}
     ${EndIf}
   ${Else}
   ${Else}
     ${If} $R0 == "8.1"
     ${If} $R0 == "8.1"
-      StrCpy $0 "https://github.com/takluyver/pynsist/raw/msvcrt-2015-msus/x86/Windows8.1-KB2999226-x86.msu"
+      StrCpy $0 "https://cdn.rawgit.com/takluyver/pynsist/msvcrt-tag1/x86/Windows8.1-KB2999226-x86.msu"
     ${ElseIf} $R0 == "8"
     ${ElseIf} $R0 == "8"
-      StrCpy $0 "https://github.com/takluyver/pynsist/raw/msvcrt-2015-msus/x86/Windows8-RT-KB2999226-x86.msu"
+      StrCpy $0 "https://cdn.rawgit.com/takluyver/pynsist/msvcrt-tag1/x86/Windows8-RT-KB2999226-x86.msu"
     ${ElseIf} $R0 == "7"
     ${ElseIf} $R0 == "7"
-      StrCpy $0 "https://github.com/takluyver/pynsist/raw/msvcrt-2015-msus/x86/Windows6.1-KB2999226-x86.msu"
+      StrCpy $0 "https://cdn.rawgit.com/takluyver/pynsist/msvcrt-tag1/x86/Windows6.1-KB2999226-x86.msu"
     ${ElseIf} $R0 == "Vista"
     ${ElseIf} $R0 == "Vista"
-      StrCpy $0 "https://github.com/takluyver/pynsist/raw/msvcrt-2015-msus/x86/Windows6-KB2999226-x86.msu"
+      StrCpy $0 "https://cdn.rawgit.com/takluyver/pynsist/msvcrt-tag1/x86/Windows6-KB2999226-x86.msu"
     ${EndIf}
     ${EndIf}
   ${EndIf}
   ${EndIf}