Add install script for the local user
This commit is contained in:
@@ -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 && \
|
chmod +x /tmp/tqsl/linux-appimage.sh && \
|
||||||
/tmp/tqsl/linux-appimage.sh
|
/tmp/tqsl/linux-appimage.sh
|
||||||
RUN mv /tmp/tqsl/tqsl-*.AppImage /tqsl.AppImage
|
RUN mv /tmp/tqsl/tqsl-*.AppImage /tqsl.AppImage
|
||||||
|
RUN mv /tmp/tqsl/apps/icons/key128.png /TrustedQSL.png
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=builder /tqsl.AppImage /tqsl.AppImage
|
COPY --from=builder /tqsl.AppImage /tqsl.AppImage
|
||||||
|
COPY --from=builder /TrustedQSL.png /TrustedQSL.png
|
||||||
|
|||||||
Executable
+18
@@ -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 <<EOF > $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
|
||||||
Reference in New Issue
Block a user