diff options
| author | MichaelTheShifter <[email protected]> | 2016-05-26 19:11:01 -0400 |
|---|---|---|
| committer | MichaelTheShifter <[email protected]> | 2016-05-26 19:11:01 -0400 |
| commit | ef09525b70c0e5000deee3ae8a101d387bf989a3 (patch) | |
| tree | 254cb38ab6fcb914b6a10e6d268535d104e1530e /source/WindowsFormsApplication1/API.cs | |
| parent | c43d82eebd5e71ff5860fb2797bc4ebaa90e541e (diff) | |
| download | shiftos-c-_theultimatehacker-ef09525b70c0e5000deee3ae8a101d387bf989a3.tar.gz shiftos-c-_theultimatehacker-ef09525b70c0e5000deee3ae8a101d387bf989a3.tar.bz2 shiftos-c-_theultimatehacker-ef09525b70c0e5000deee3ae8a101d387bf989a3.zip | |
0.1.1 was released - time to update the repo.
Diffstat (limited to 'source/WindowsFormsApplication1/API.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/API.cs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/source/WindowsFormsApplication1/API.cs b/source/WindowsFormsApplication1/API.cs index f90532f..b99f98f 100644 --- a/source/WindowsFormsApplication1/API.cs +++ b/source/WindowsFormsApplication1/API.cs @@ -83,7 +83,7 @@ namespace ShiftOS /// to test new features or to bring in lots of codepoints. This is why /// Developer mode should ALWAYS be off in non-dev releases, to prevent cheating. /// </summary> - public static bool DeveloperMode = true; + public static bool DeveloperMode = false; /// <summary> /// If this is true, only certain applications will open and only @@ -1120,9 +1120,16 @@ namespace ShiftOS /// </summary> public static void UpdateWindows() { - foreach (WindowBorder brdr in BordersToUpdate) + try { - brdr.setupall(); + foreach (WindowBorder brdr in BordersToUpdate) + { + brdr.setupall(); + } + } + catch + { + } } |
