mirror of https://github.com/quasar/Quasar.git
Set file attributes on startup
This commit is contained in:
parent
bdedaf5324
commit
bdfe0543f5
|
@ -159,6 +159,17 @@ namespace xClient
|
|||
ClientData.AddToStartupFailed = true;
|
||||
}
|
||||
|
||||
if (Settings.INSTALL && Settings.HIDEFILE)
|
||||
{
|
||||
try
|
||||
{
|
||||
File.SetAttributes(ClientData.InstallPath, FileAttributes.Hidden);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
InitializeClient();
|
||||
|
||||
if (Settings.ENABLELOGGER)
|
||||
|
|
Loading…
Reference in New Issue