mirror of
https://github.com/wownero/i2p-zero.git
synced 2026-10-19 16:18:33 +02:00
linux .desktop launch file added, allowing double click launch of GUI from file browser
This commit is contained in:
@@ -53,17 +53,18 @@ the jlink tool to build zero-dependency platform-specific launchers.
|
||||
To run the Linux router, type:
|
||||
|
||||
`dist/linux/router/bin/launch.sh`
|
||||
or `dist/linux/router/bin/launch-gui.sh`
|
||||
or `dist/linux-gui/router/bin/launch-gui.sh`
|
||||
or double click the `dist/linux-gui/router/i2p-zero.desktop' file
|
||||
|
||||
To run the MacOS router, type:
|
||||
|
||||
`dist/mac/router/bin/launch.sh`
|
||||
or run the app located in `dist/mac/router/i2p-zero.app`
|
||||
or run the app located in `dist/mac-gui/router/i2p-zero.app`
|
||||
|
||||
For Windows, run:
|
||||
|
||||
`dist/windows/router/bin/launch.bat`
|
||||
or `dist/windows/router/bin/launch-gui.bat`
|
||||
or `dist/windows-gui/router/bin/launch-gui.bat`
|
||||
|
||||
Note that for the Windows GUI to run, you may need to install the latest <a href="https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads">Microsoft Visual C++ Redistributable</a>
|
||||
|
||||
|
||||
@@ -80,6 +80,9 @@ cp -R $basedir/resources/i2p-zero.app $basedir/dist/mac-gui/router/
|
||||
mv $basedir/dist/mac-gui/router-tmp/* $basedir/dist/mac-gui/router/i2p-zero.app/Contents/MacOS/
|
||||
rm -fr $basedir/dist/mac-gui/router-tmp
|
||||
|
||||
# specify .desktop file so linux-gui can be launched via double-click
|
||||
cp $basedir/resources/i2p-zero.desktop $basedir/dist/linux-gui/router/
|
||||
|
||||
du -sk dist/* | awk '{printf "%.1f MB %s\n",$1/1024,$2}'
|
||||
|
||||
echo "*** Done ***"
|
||||
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=i2p-zero
|
||||
Exec=/bin/bash -c 'cd "$(dirname "$0")"; ./bin/launch-gui.sh' %k
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Utility;
|
||||
Reference in New Issue
Block a user