better security

This commit is contained in:
Bitl 2021-09-27 13:53:05 -07:00
parent 141f00843a
commit 1323edc7f5
1 changed files with 37 additions and 34 deletions

View File

@ -640,6 +640,8 @@ public class GlobalFuncs
FileFormat.ClientInfo DefaultClientInfo = new FileFormat.ClientInfo(); FileFormat.ClientInfo DefaultClientInfo = new FileFormat.ClientInfo();
bool placeholder = false; bool placeholder = false;
if (GlobalVars.AdminMode)
{
string ClientName = ""; string ClientName = "";
if (File.Exists(path + "\\RobloxApp_client.exe")) if (File.Exists(path + "\\RobloxApp_client.exe"))
@ -680,6 +682,7 @@ public class GlobalFuncs
IOException clientNotFoundEX = new IOException("Could not find script file for MD5 generation."); IOException clientNotFoundEX = new IOException("Could not find script file for MD5 generation.");
throw clientNotFoundEX; throw clientNotFoundEX;
} }
}
string desc = "This client information file for '" + GlobalVars.UserConfiguration.SelectedClient + string desc = "This client information file for '" + GlobalVars.UserConfiguration.SelectedClient +
"' was pre-generated by Novetus for your convienence. If you experience any issues with the default settings, load this clientinfo.nov file into the Client SDK."; "' was pre-generated by Novetus for your convienence. If you experience any issues with the default settings, load this clientinfo.nov file into the Client SDK.";