Skip to content

Commit

Permalink
add update information
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonenzo committed Jan 14, 2022
1 parent 0e0e9ce commit 1ad3167
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ RUN chmod 755 $BUILD_DIR/AppDir/AppRun
ADD tmux.desktop $BUILD_DIR/AppDir/tmux.desktop
RUN convert "$REPO_ROOT/logo/favicon.ico" "$REPO_ROOT/logo/favicon.png" && \
cp "$REPO_ROOT/logo/favicon-1.png" "$BUILD_DIR/AppDir/favicon.png"
ENV UPDATE_INFORMATION="gh-releases-zsync|nelsonenzo|tmux-appimage|latest|tmux.appimage.zsync"

WORKDIR $BUILD_DIR
RUN OUTPUT="tmux.appimage" /usr/bin/linuxdeploy --appdir ./AppDir --output appimage \
--icon-file "$REPO_ROOT/logo/favicon.ico" \
--executable "$BUILD_DIR/AppDir/usr/bin/tmux"
--executable "$BUILD_DIR/AppDir/usr/bin/tmux"
11 changes: 11 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

export TMUX_RELEASE_TAG=3.2a
docker build . -t tmux --build-arg TMUX_RELEASE_TAG=$TMUX_RELEASE_TAG

docker rm -f tmuxcontainer
docker create -ti --name tmuxcontainer tmux bash
docker cp tmuxcontainer:/opt/build/tmux.appimage .
docker rm -f tmuxcontainer

zsyncmake -z tmux.appimage

0 comments on commit 1ad3167

Please sign in to comment.