added validation to see if args is empty
This commit is contained in:
parent
9db8544a67
commit
38d84788ce
1 changed files with 5 additions and 2 deletions
|
@ -16,8 +16,11 @@ namespace Saviour_Backup_System
|
|||
|
||||
public mainWindow() {
|
||||
InitializeComponent();
|
||||
try
|
||||
{
|
||||
if (setup.runtimeArguements[0] == "STARTUP") { this.removeDisplay(); }
|
||||
else { this.showDisplay(); }
|
||||
} catch { }
|
||||
}
|
||||
|
||||
internal void removeDisplay() {
|
||||
|
|
Reference in a new issue