propagate from branch 'i2p.i2p' (head 27ab673e76ed77c38d22c06c807695f792473fb0)

to branch 'i2p.i2p.729' (head d03f39c7afc2214ef8c2f81486d4abc64049e825)
This commit is contained in:
zab2
2013-05-17 16:10:34 +00:00
3 changed files with 22 additions and 3 deletions

View File

@@ -29,7 +29,15 @@
# should have been replaced by the izpack installer.
# If you did not run the installer, replace them with the appropriate paths.
I2P="%INSTALL_PATH"
I2P_CONFIG_DIR="%USER_HOME/.i2p"
if [ "`uname -s`" == "Darwin" ]; then
if [ -d "%USER_HOME/Library/Application Support" ]; then
I2P_CONFIG_DIR="%USER_HOME/Library/Application Support/i2p"
else
I2P_CONFIG_DIR="%USER_HOME/.i2p"
fi
else
I2P_CONFIG_DIR="%USER_HOME/.i2p"
fi
I2PTEMP="%SYSTEM_java_io_tmpdir"
# PORTABLE installation:
# Use the following instead.

View File

@@ -7,9 +7,9 @@
<key>OnDemand</key>
<false/>
<key>StandardOutPath</key>
<string>~/.i2p/wrapper.log</string>
<string>~/Library/Application Support/i2p/wrapper.log</string>
<key>StandardErrorPath</key>
<string>~/.i2p/wrapper.log</string>
<string>~/Library/Application Support/i2p/wrapper.log</string>
<key>ProgramArguments</key>
<array>
<string>COMMAND</string>