more cleaning
This commit is contained in:
parent
d64d05c01a
commit
d67336bf9f
|
|
@ -90,6 +90,8 @@ namespace NovetusCMD
|
||||||
|
|
||||||
Parameter = null;
|
Parameter = null;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// In case a parameter is still waiting
|
// In case a parameter is still waiting
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,10 @@ using System.IO;
|
||||||
|
|
||||||
class Downloader
|
class Downloader
|
||||||
{
|
{
|
||||||
private string fileURL;
|
private readonly string fileURL;
|
||||||
private string fileName;
|
private readonly string fileName;
|
||||||
private string fileFilter;
|
private readonly string fileFilter;
|
||||||
private string downloadOutcome;
|
private string downloadOutcome;
|
||||||
private string downloadOutcomeAddText;
|
|
||||||
private static string downloadOutcomeException;
|
private static string downloadOutcomeException;
|
||||||
|
|
||||||
public Downloader(string url, string name, string filter)
|
public Downloader(string url, string name, string filter)
|
||||||
|
|
@ -38,7 +37,7 @@ class Downloader
|
||||||
|
|
||||||
public void InitDownload(string path, string fileext, string additionalText = "")
|
public void InitDownload(string path, string fileext, string additionalText = "")
|
||||||
{
|
{
|
||||||
downloadOutcomeAddText = additionalText;
|
string downloadOutcomeAddText = additionalText;
|
||||||
|
|
||||||
string outputfilename = fileName + fileext;
|
string outputfilename = fileName + fileext;
|
||||||
string fullpath = path + "\\" + outputfilename;
|
string fullpath = path + "\\" + outputfilename;
|
||||||
|
|
@ -56,7 +55,7 @@ class Downloader
|
||||||
|
|
||||||
public void InitDownload(string additionalText = "")
|
public void InitDownload(string additionalText = "")
|
||||||
{
|
{
|
||||||
downloadOutcomeAddText = additionalText;
|
string downloadOutcomeAddText = additionalText;
|
||||||
|
|
||||||
SaveFileDialog saveFileDialog1 = new SaveFileDialog()
|
SaveFileDialog saveFileDialog1 = new SaveFileDialog()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -26,10 +26,6 @@ using System.Text.RegularExpressions;
|
||||||
|
|
||||||
public class ScriptGenerator
|
public class ScriptGenerator
|
||||||
{
|
{
|
||||||
public ScriptGenerator()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum ScriptType
|
public enum ScriptType
|
||||||
{
|
{
|
||||||
Client = 0,
|
Client = 0,
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@ namespace NovetusLauncher
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class ItemMaker : Form
|
public partial class ItemMaker : Form
|
||||||
{
|
{
|
||||||
private static string url = "http://www.roblox.com/asset?id=";
|
private string url = "http://www.roblox.com/asset?id=";
|
||||||
private static bool isWebSite = false;
|
private bool isWebSite = false;
|
||||||
|
|
||||||
public ItemMaker()
|
public ItemMaker()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -53,16 +53,6 @@ namespace NovetusLauncher
|
||||||
GlobalVars.Version = version;
|
GlobalVars.Version = version;
|
||||||
|
|
||||||
ReadConfigValues();
|
ReadConfigValues();
|
||||||
|
|
||||||
string rbxexe = "";
|
|
||||||
if (GlobalVars.LegacyMode == true)
|
|
||||||
{
|
|
||||||
rbxexe = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\clients\\" + GlobalVars.SelectedClient + @"\\RobloxApp.exe";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
rbxexe = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\clients\\" + GlobalVars.SelectedClient + @"\\RobloxApp_client.exe";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ReadConfigValues()
|
void ReadConfigValues()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue