mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-06-17 06:11:36 +00:00
now only fixes menu stuff on osx so it doesn't break on other oses
This commit is contained in:
@@ -42,6 +42,8 @@ public class Limelight implements NvConnectionListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
|
//fix the menu bar if we are running in osx
|
||||||
|
if (System.getProperty("os.name").contains("Mac OS X")) {
|
||||||
// take the menu bar off the jframe
|
// take the menu bar off the jframe
|
||||||
System.setProperty("apple.laf.useScreenMenuBar", "true");
|
System.setProperty("apple.laf.useScreenMenuBar", "true");
|
||||||
|
|
||||||
@@ -56,7 +58,7 @@ public class Limelight implements NvConnectionListener {
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
MainFrame limeFrame = new MainFrame();
|
MainFrame limeFrame = new MainFrame();
|
||||||
limeFrame.build();
|
limeFrame.build();
|
||||||
|
|||||||
Reference in New Issue
Block a user