aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index 8c3792d5..485101e6 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -67,6 +67,10 @@ namespace Crow
{
#region CTOR
static Interface(){
+ if (Type.GetType ("Mono.Runtime") == null) {
+ throw new Exception (@"C.R.O.W. run only on Mono, download latest version at: http://www.mono-project.com/download/stable/");
+ }
+
CrowConfigRoot =
System.IO.Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),