diff --git a/Dockerfile b/Dockerfile index 2c16fc5..b242ad9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,8 @@ RUN sed -e 's/sudo //g' /tmp/tqsl/linux-make-appimage.sh > /tmp/tqsl/linux-appim chmod +x /tmp/tqsl/linux-appimage.sh && \ /tmp/tqsl/linux-appimage.sh RUN mv /tmp/tqsl/tqsl-*.AppImage /tqsl.AppImage +RUN mv /tmp/tqsl/apps/icons/key128.png /TrustedQSL.png FROM scratch COPY --from=builder /tqsl.AppImage /tqsl.AppImage +COPY --from=builder /TrustedQSL.png /TrustedQSL.png diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..385cf05 --- /dev/null +++ b/install.sh @@ -0,0 +1,18 @@ +#!/bin/bash +docker buildx build --output type=local,dest=. . +chmod +x tqsl.AppImage +mkdir -p $HOME/.local/bin $HOME/.local/share/applications $HOME/.local/share/icons/tqsl-app +mv tqsl.AppImage $HOME/.local/bin/tqsl +mv TrustedQSL.png $HOME/.local/share/icons/tqsl-app/TrustedQSL.png +cat < $HOME/.local/share/applications/tqsl.desktop +[Desktop Entry] +Categories=HamRadio;Utility +Comment=Log & Sign contacts to upload to ARRL's Logbook Of The World +Exec=$HOME/.local/bin/tqsl %F +TryExec=$HOME/.local/bin/tqsl +Icon=$HOME/.local/share/icons/tqsl-app/TrustedQSL.png +Name=TrustedQSL +StartupNotify=false +Terminal=false +Type=Application +EOF