aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Appscape.cs
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-05-17 15:37:02 -0400
committerMichaelTheShifter <[email protected]>2016-05-17 15:37:02 -0400
commita3fc2c45ec2a62684e128ffd7cab88bd101ad917 (patch)
tree1dc63efaa4597a28fd901047a714f38954dafa5e /source/WindowsFormsApplication1/Appscape.cs
parent0085241d2366f266b5416488dbead174184420b0 (diff)
downloadshiftos-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.cs16
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);
+ }*/
}
}
}