From 72d7934489e47a3c924f4c59f972d8e5f1fbd41e Mon Sep 17 00:00:00 2001 From: benfry Date: Wed, 31 Jul 2002 01:54:11 +0000 Subject: [PATCH] tweaks for linux --- processing/app/PdeBase.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/processing/app/PdeBase.java b/processing/app/PdeBase.java index 0c8817043..1c8eae262 100644 --- a/processing/app/PdeBase.java +++ b/processing/app/PdeBase.java @@ -58,9 +58,13 @@ public class PdeBase implements ActionListener { //System.out.println("osname is " + osname); if (osname.indexOf("Windows") != -1) { platform = WINDOWS; + + } else if (osname.equals("Linux")) { // true for the ibm vm + platform = LINUX; + } else { + platform = WINDOWS; // probably safest System.out.println("unhandled osname: " + osname); - System.exit(1); } } }