Skip to content
This repository has been archived by the owner on Sep 2, 2019. It is now read-only.

Commit

Permalink
change OverlayProc repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZCube committed Aug 14, 2017
1 parent f26f34f commit 2500df4
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions ACTWebSocket.Core/ACTWebSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2881,8 +2881,11 @@ public void CheckUpdate()

string extractDir = pluginDirectory + "/overlay_proc";
string revisionFile = extractDir + "/.revision";
string baseurl = "https://static.zcube.kr/publish/OverlayProc/"+comboBoxOverlayProcType.Text.Trim()+"/";
string infourl = baseurl + "info.json";

//string baseurl = "https://static.zcube.kr/publish/OverlayProc/" + comboBoxOverlayProcType.Text.Trim() + "/";
//string infourl = baseurl + "info.json";
string baseurl = "https://github.com/ZCube/ACTWebSocket/releases/download/init/";
string infourl = "https://github.com/ZCube/ACTWebSocket/releases/download/init/OverlayProc_" + comboBoxOverlayProcType.Text.Trim() + "_info.json";
byte[] info = webClient.DownloadData(infourl);
String infotext = System.Text.Encoding.UTF8.GetString(info);
JObject jobject = JObject.Parse(infotext);
Expand Down Expand Up @@ -2989,8 +2992,10 @@ private void buttonDownload_Click(object sender, EventArgs e)
string extractDir = pluginDirectory + "/overlay_proc";
string revisionFile = extractDir + "/.revision";

string baseurl = "https://static.zcube.kr/publish/OverlayProc/"+ comboBoxOverlayProcType.Text.Trim() +"/";
string infourl = baseurl + "info.json";
//string baseurl = "https://static.zcube.kr/publish/OverlayProc/"+ comboBoxOverlayProcType.Text.Trim() +"/";
//string infourl = baseurl + "info.json";
string baseurl = "https://github.com/ZCube/ACTWebSocket/releases/download/init/";
string infourl = "https://github.com/ZCube/ACTWebSocket/releases/download/init/OverlayProc_" + comboBoxOverlayProcType.Text.Trim() + "_info.json";
byte[] info = webClient.DownloadData(infourl);
String infotext = System.Text.Encoding.UTF8.GetString(info);
JObject jobject = JObject.Parse(infotext);
Expand Down

0 comments on commit 2500df4

Please sign in to comment.