Skip to content

Commit c989536

Browse files
committed
[Updates] Point to stable repository for updates
1 parent 54c9a35 commit c989536

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

MainForm.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13155,7 +13155,7 @@ Public Class MainForm
1315513155
DynaLog.LogMessage("Downloading " & Quote & "update.exe" & Quote & " from DISMTools repository...")
1315613156
Using client As New WebClient()
1315713157
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
13158-
client.DownloadFile("https://github.com/CodingWonders/DISMTools/raw/" & dtBranch & "/Updater/DISMTools-UCS/update-bin/update.exe", Application.StartupPath & "\update.exe")
13158+
client.DownloadFile("https://github.com/CodingWonders/DISMTools/raw/stable/Updater/DISMTools-UCS/update-bin/update.exe", Application.StartupPath & "\update.exe")
1315913159
End Using
1316013160
Catch ex As WebException
1316113161
DynaLog.LogMessage("Could not get updater. Error message: " & ex.Status.ToString())

Panels/Exe_Ops/PrgAbout.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ Public Class PrgAbout
599599
Try
600600
Using client As New WebClient()
601601
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
602-
client.DownloadFile("https://github.com/CodingWonders/DISMTools/raw/" & MainForm.dtBranch & "/Updater/DISMTools-UCS/update-bin/update.exe", Application.StartupPath & "\update.exe")
602+
client.DownloadFile("https://github.com/CodingWonders/DISMTools/raw/stable/Updater/DISMTools-UCS/update-bin/update.exe", Application.StartupPath & "\update.exe")
603603
End Using
604604
Catch ex As WebException
605605
Select Case MainForm.Language

Panels/FirstUse/PrgSetup.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ Public Class PrgSetup
845845
DynaLog.LogMessage("Downloading " & Quote & "update.exe" & Quote & " from DISMTools repository...")
846846
Using client As New WebClient()
847847
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
848-
client.DownloadFile("https://github.com/CodingWonders/DISMTools/raw/" & MainForm.dtBranch & "/Updater/DISMTools-UCS/update-bin/update.exe", Application.StartupPath & "\update.exe")
848+
client.DownloadFile("https://github.com/CodingWonders/DISMTools/raw/stable/Updater/DISMTools-UCS/update-bin/update.exe", Application.StartupPath & "\update.exe")
849849
End Using
850850
Catch ex As WebException
851851
DynaLog.LogMessage("Could not get updater. Error message: " & ex.Status.ToString())

0 commit comments

Comments
 (0)