Use versioned apkg filenames.
[doldaconnect.git] / autopackage / guishell.apspec.in
index ca3ec38..1d0b058 100644 (file)
@@ -12,7 +12,7 @@ License: GNU General Public License, Version 2 or later
 SoftwareVersion: @VERSION@
 Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-guishell.xml
 AutopackageTarget: 1.2
-PackageFileName: doldaconnect-guishell.package
+PackageFileName: doldaconnect-guishell-@VERSION@.package
 
 [BuildPrepare]
 prepareBuild --enable-dolconf --enable-guishell --disable-gtk2ui --disable-daemon
@@ -35,6 +35,8 @@ installExe bin/dolcon-launch
 installExe bin/doldacond-shell
 installLocale share/locale
 installIcon share/icons/hicolor
+createBootstrapScript "$PREFIX/bin/dolcon-launch" "$PREFIX/bin/dolcon-launch.apkg"
+sed -i 's/\(Exec *= *dolcon-launch\)/\1.apkg/' share/applications/dolcon.desktop
 installMenuItem "Network/File sharing" share/applications/dolcon.desktop
 
 [Uninstall]