diff options
| author | MichaelTheShifter <[email protected]> | 2016-05-17 15:37:02 -0400 |
|---|---|---|
| committer | MichaelTheShifter <[email protected]> | 2016-05-17 15:37:02 -0400 |
| commit | a3fc2c45ec2a62684e128ffd7cab88bd101ad917 (patch) | |
| tree | 1dc63efaa4597a28fd901047a714f38954dafa5e /source/WindowsFormsApplication1/Appscape.cs | |
| parent | 0085241d2366f266b5416488dbead174184420b0 (diff) | |
| download | shiftos-c-_theultimatehacker-a3fc2c45ec2a62684e128ffd7cab88bd101ad917.tar.gz shiftos-c-_theultimatehacker-a3fc2c45ec2a62684e128ffd7cab88bd101ad917.tar.bz2 shiftos-c-_theultimatehacker-a3fc2c45ec2a62684e128ffd7cab88bd101ad917.zip | |
Committing all I've got
Committing everything I've got - so that I can take a break for a few
months and work on other things.
Diffstat (limited to 'source/WindowsFormsApplication1/Appscape.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Appscape.cs | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/source/WindowsFormsApplication1/Appscape.cs b/source/WindowsFormsApplication1/Appscape.cs index d4fc945..a482a04 100644 --- a/source/WindowsFormsApplication1/Appscape.cs +++ b/source/WindowsFormsApplication1/Appscape.cs @@ -498,6 +498,10 @@ namespace ShiftOS /// <param name="client">The client to add to.</param> public void GenerateNewDevKey(AppscapeClient client) { + if(client.DevList == null) + { + client.DevList = new Dictionary<string, AppscapeModder>(); + } var rnd = new Random(); int key = rnd.Next(1, 99999999); var dev = new AppscapeModder(); @@ -741,14 +745,14 @@ namespace ShiftOS { if(lvnets.SelectedItems.Count > 0) { - try - { + //try + //{ GenerateNewDevKey((AppscapeClient)lvnets.SelectedItems[0].Tag); - } - catch + /*} + catch (Exception ex) { - API.CreateInfoboxSession("Error", "An error has occurred trying to process the request.", infobox.InfoboxMode.Info); - } + API.CreateInfoboxSession("Error", "An error has occurred trying to process the request: {ex.Message}", infobox.InfoboxMode.Info); + }*/ } } } |
