提交 968e101b authored 作者: Thomas Mueller's avatar Thomas Mueller

H2 Console: support the Midori browser (for Debian / Raspberry Pi)

上级 d3c66116
...@@ -18,7 +18,8 @@ Change Log ...@@ -18,7 +18,8 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>When opening a remote session, don't open a temporary file if the trace level is set to zero <ul><li>H2 Console: support the Midori browser (for Debian / Raspberry Pi)
</li><li>When opening a remote session, don't open a temporary file if the trace level is set to zero
</li></ul> </li></ul>
<h2>Version 1.3.167 (2012-05-23)</h2> <h2>Version 1.3.167 (2012-05-23)</h2>
...@@ -46,7 +47,7 @@ Change Log ...@@ -46,7 +47,7 @@ Change Log
</li><li>Terrence Huang has translated the error messages to Chinese. Thanks a lot! </li><li>Terrence Huang has translated the error messages to Chinese. Thanks a lot!
</li><li>TRUNC was added as an alias for TRUNCATE. </li><li>TRUNC was added as an alias for TRUNCATE.
</li><li>Small optimisation for accessing result values by column name. </li><li>Small optimisation for accessing result values by column name.
</li><li>Fix for bug in Statement#getMoreResults(int) </li><li>Fix for bug in Statement.getMoreResults(int)
</li><li>The SCRIPT statements now supports filtering by schema and table. Thanks a lot to Jacob Qvortrup for providing the patch! </li><li>The SCRIPT statements now supports filtering by schema and table. Thanks a lot to Jacob Qvortrup for providing the patch!
</li></ul> </li></ul>
......
...@@ -626,7 +626,7 @@ public class Server extends Tool implements Runnable, ShutdownHandler { ...@@ -626,7 +626,7 @@ public class Server extends Tool implements Runnable, ShutdownHandler {
// Mac OS: to open a page with Safari, use "open -a Safari" // Mac OS: to open a page with Safari, use "open -a Safari"
Runtime.getRuntime().exec(new String[] { "open", url }); Runtime.getRuntime().exec(new String[] { "open", url });
} else { } else {
String[] browsers = { "google-chrome", "firefox", "mozilla-firefox", "mozilla", "konqueror", "netscape", "opera" }; String[] browsers = { "google-chrome", "firefox", "mozilla-firefox", "mozilla", "konqueror", "netscape", "opera", "midori" };
boolean ok = false; boolean ok = false;
for (String b : browsers) { for (String b : browsers) {
try { try {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论