From 918dcd2c37506e82f612cfafd5a2123457e31b7e Mon Sep 17 00:00:00 2001 From: Nelson Hernandez Date: Fri, 13 Mar 2020 22:26:13 +0700 Subject: [PATCH] update readme --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b89c01b..391c110 100644 --- a/README.md +++ b/README.md @@ -17,18 +17,17 @@ git clone https://github.com/nelsonenzo/tmux-appimage.git ## compile tmux from source by building container docker build . -t tmux -## make appimage by running container -docker run -it -v "$PWD"/opt:/opt tmux - -## expected output: -./opt/releases/tmux-3.0a-x86_64.AppImage +## extract the appimage file +docker create -ti --name tmuxcontainer tmux bash +docker cp tmuxcontainer:/opt/releases/tmux-3.0a-x86_64.AppImage . +docker rm -f tmuxcontainer ``` ## To use AppImage move appimage to executable location in your $PATH ``` -mv ./opt/releases/tmux.*AppImage /usr/bin/tmux +mv tmux.*AppImage /usr/local/bin/tmux tmux ```