mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-30 09:45:56 +00:00
Add beta changelogs
This commit is contained in:
@@ -8,7 +8,7 @@ namespace PckStudio.Classes
|
||||
{
|
||||
public static string Version = "6.4";
|
||||
public static bool Beta = true;
|
||||
public static bool Portable = true;
|
||||
public static bool Portable = false;
|
||||
public static bool NeedsUpdate = false;
|
||||
public static string MainURL = "https://www.pckstudio.xyz/";
|
||||
public static string BackURL = "http://phoenixarc.ddns.net/";
|
||||
|
||||
@@ -1622,11 +1622,23 @@ namespace PckStudio
|
||||
{
|
||||
using (WebClient client = new WebClient())
|
||||
{
|
||||
if(isdebug)
|
||||
File.WriteAllText(appData + "pckStudioChangelog.txt", File.ReadAllText("C:\\WEBSITES\\PCKStudio\\studio\\PCK\\api\\" + ChangeURL.Text));
|
||||
else
|
||||
File.WriteAllText(appData + "pckStudioChangelog.txt", client.DownloadString(basurl + ChangeURL.Text));
|
||||
if (Classes.Network.Beta)
|
||||
{
|
||||
if (isdebug)
|
||||
File.WriteAllText(appData + "pckStudioChangelog.txt", File.ReadAllText("C:\\WEBSITES\\PCKStudio\\studio\\PCK\\api\\" + ChangeURL.Text.Replace("ChangeLog", "BetaChangeLog"))) ;
|
||||
else
|
||||
File.WriteAllText(appData + "pckStudioChangelog.txt", client.DownloadString(basurl + ChangeURL.Text.Replace("ChangeLog", "BetaChangeLog")));
|
||||
richTextBoxChangelog.Text = File.ReadAllText(appData + "pckStudioChangelog.txt");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
if (isdebug)
|
||||
File.WriteAllText(appData + "pckStudioChangelog.txt", File.ReadAllText("C:\\WEBSITES\\PCKStudio\\studio\\PCK\\api\\" + ChangeURL.Text));
|
||||
else
|
||||
File.WriteAllText(appData + "pckStudioChangelog.txt", client.DownloadString(basurl + ChangeURL.Text));
|
||||
richTextBoxChangelog.Text = File.ReadAllText(appData + "pckStudioChangelog.txt");
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<Product Id="*"
|
||||
Name="PCK Studio"
|
||||
Language="1033"
|
||||
Version="6.4.0.0"
|
||||
Version="6.4.0.1"
|
||||
Manufacturer="PhoenixARC"
|
||||
UpgradeCode="0bfb1026-21f2-4552-ad71-ca90aae10a25">
|
||||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perUser" />
|
||||
|
||||
Reference in New Issue
Block a user