From d43dc445a647f8f653a20bfd4472dd1c0a0c7ab8 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 4 Aug 2014 18:31:19 +0100 Subject: [PATCH] capture runtime arguements, just testing at the moment (see shortcut in debug folder) --- Saviour Backup System/setup.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Saviour Backup System/setup.cs b/Saviour Backup System/setup.cs index f63e90d..99ed5bf 100644 --- a/Saviour Backup System/setup.cs +++ b/Saviour Backup System/setup.cs @@ -18,8 +18,9 @@ namespace Saviour_Backup_System internal static ContextMenu contextMenu; static string databaseName = databaseTools.databaseName; - internal static void initProgram() + internal static void initProgram(string[] args) { + MessageBox.Show(args.Length.ToString()); //if (!File.Exists(databaseName)) { setupDatabase(); } // If the program has been run before, then the database will exist, so use that to test it. notificationIcon.init(); }