fix windows url launcher
This commit is contained in:
@ -74,7 +74,11 @@ public class UrlLauncher {
|
||||
bufferedReader = new BufferedReader(new InputStreamReader(new FileInputStream("browser.reg"), "UTF-16"));
|
||||
for (String line; (line = bufferedReader.readLine()) != null; ) {
|
||||
if (line.startsWith("@=")) {
|
||||
browserString = "\"" + line.substring(3, line.toLowerCase().indexOf(".exe") + 4) + "\"";
|
||||
// we should really use the whole line and replace %1 with the url
|
||||
browserString = line.substring(3, line.toLowerCase().indexOf(".exe") + 4);
|
||||
if (browserString.startsWith("\\\""))
|
||||
browserString = browserString.substring(2);
|
||||
browserString = "\"" + browserString + "\"";
|
||||
}
|
||||
}
|
||||
try {
|
||||
|
@ -332,6 +332,8 @@
|
||||
<copy file="build/BOB.jar" todir="pkg-temp/lib/" />
|
||||
<copy file="build/sam.jar" todir="pkg-temp/lib/" />
|
||||
<copy file="build/i2psnark.jar" todir="pkg-temp/lib" />
|
||||
<!-- include systray fixes in 0.6.5 -->
|
||||
<copy file="build/systray.jar" todir="pkg-temp/lib/" />
|
||||
<copy file="build/susimail.war" todir="pkg-temp/webapps/" />
|
||||
<copy file="build/susidns.war" todir="pkg-temp/webapps/" />
|
||||
<copy file="build/i2psnark.war" todir="pkg-temp/webapps/" />
|
||||
|
@ -1,3 +1,6 @@
|
||||
2008-11-26 zzz
|
||||
* Fix Windows UrlLauncher
|
||||
|
||||
2008-11-21 zzz
|
||||
* Cache DNS and negative DNS for 5m (was 1m and forever)
|
||||
* Delay shitlist cleaner at startup
|
||||
|
@ -27,7 +27,7 @@ clientApp.3.startOnLoad=true
|
||||
# load a browser pointing at the web console whenever we start up
|
||||
clientApp.4.main=net.i2p.apps.systray.UrlLauncher
|
||||
clientApp.4.name=consoleBrowser
|
||||
clientApp.4.args=http://localhost:7657/
|
||||
clientApp.4.args=http://localhost:7657/index.jsp
|
||||
clientApp.4.delay=5
|
||||
clientApp.4.startOnLoad=true
|
||||
|
||||
|
Reference in New Issue
Block a user