diff --git a/installer/install.xml b/installer/install.xml index 2ee251e7826c4a805428723eb3d36316c20d78c4..7e77951a281f32e45b8d19c4bb26582cb6fe1a90 100644 --- a/installer/install.xml +++ b/installer/install.xml @@ -187,7 +187,7 @@ <executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" /> <args><arg value="$INSTALL_PATH/Start I2P Router.app" /></args></executable> <executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" /> - <args><arg value="$INSTALL_PATH/net.i2p.router.plist" /></args></executable> + <args><arg value="$INSTALL_PATH/net.i2p.router.plist.template" /></args></executable> <executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" /> <args><arg value="$INSTALL_PATH/install_i2p_service_osx.command" /></args></executable> <executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" /> diff --git a/installer/resources/install_i2p_service_osx.command b/installer/resources/install_i2p_service_osx.command index e8d92b0813b94a7c24946a82cd04af14cde93e29..95da7aedc030eddefa81de1a1bf655d5d7d89a2c 100644 --- a/installer/resources/install_i2p_service_osx.command +++ b/installer/resources/install_i2p_service_osx.command @@ -5,7 +5,7 @@ # Author: Meeh cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" shfile="tmp$$.sh" -echo -n 'cat `pwd`/net.i2p.router.plist |' > `pwd`/$shfile +echo -n 'cat `pwd`/net.i2p.router.plist.template |' > `pwd`/$shfile echo -n "sed 's#USERNAME#`whoami`#' " >> `pwd`/$shfile echo -n '| sed "s#COMMAND#`pwd`/i2prouter#" | sed "s#I2PPATH#`pwd`/#" > /Library/LaunchDaemons/net.i2p.router.plist' >> `pwd`/$shfile chmod +x `pwd`/$shfile