Skip to content
Permalink
Browse files
add linux as a support platform for the badge
  • Loading branch information
justinmclean committed Aug 7, 2013
1 parent 1d72d07 commit 91aee9302bdffa4a19383983fb02590d1dd1fcd7
Showing 1 changed file with 3 additions and 0 deletions.
@@ -35,6 +35,7 @@ public class Tools

private static const PLATFORM_MAC:String = "Mac";
private static const PLATFORM_WIN:String = "Windows";
private static const PLATFORM_LINUX:String = "Linux";

//--------------------------------------------------------------------------
//
@@ -74,6 +75,8 @@ public class Tools
return Constants.APPLICATION_EXTENSION_WIN;
else if (platform == PLATFORM_MAC)
return Constants.APPLICATION_EXTENSION_MAC;
else if (platform == PLATFORM_LINUX)
return Constants.APPLICATION_EXTENSION_LINUX;
else
throw(new Error("PlatformNotSupported"));
}

0 comments on commit 91aee93

Please sign in to comment.