| 166 | |
| 167 | # VERSION= Set the version of the appimage (e.g |
| 168 | # ARCH = probably not needed, usually auto-detected |
| 169 | |
| 170 | # Some other variables can be used but I couldn't find the docs for them. |
| 171 | # They're shown in the code here: |
| 172 | # https://github.com/AppImage/AppImageKit/blob/master/src/appimagetool.c |
| 173 | |
| 174 | # Get a copy of 'linuxdeploy' (you can use `wget` to get the desired release/arch). |
| 175 | # https://github.com/linuxdeploy/linuxdeploy/releases |
| 176 | |
| 177 | # In a docker container, you'll get an error if trying to run an appimage. |
| 178 | # |
| 179 | # dlopen(): error loading libfuse.so.2 |
| 180 | # AppImages require FUSE to run. |
| 181 | # |
| 182 | # You can enter `./linuxdeploy-x86_64.AppImage --appimage-extract` to |
| 183 | # extract the image. It will extract to a directory named 'squashfs-root'. |
| 184 | # You can then execute linuxdeploy and all required arguments by using |
| 185 | # <path-to>/squashfs-root/AppRun [args] |
| 186 | |
| 187 | if [ -z ${ARCH} ]; then |
| 188 | echo "ARCH must be set" |
| 189 | exit 1 |
| 190 | fi |
| 191 | |
| 192 | wget -c "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-${ARCH}.AppImage" |
| 193 | chmod +x linuxdeploy-${ARCH}.AppImage |
| 194 | |
| 195 | # The linuxdeploy gtk plugin is required for Atlas to work |
| 196 | wget -c "https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh" |
| 197 | chmod +x linuxdeploy-plugin-gtk.sh |
235 | | # Get a copy of 'linuxdeploy' (you can use `wget` to get the desired release/arch). |
236 | | # https://github.com/linuxdeploy/linuxdeploy/releases |
237 | | |
238 | | # In a docker container, you'll get an error if trying to run an appimage. |
239 | | # |
240 | | # dlopen(): error loading libfuse.so.2 |
241 | | # AppImages require FUSE to run. |
242 | | # |
243 | | # You can enter `./linuxdeploy-x86_64.AppImage --appimage-extract` to |
244 | | # extract the image. It will extract to a directory named 'squashfs-root'. |
245 | | # You can then execute linuxdeploy and all required arguments by using |
246 | | # <path-to>/squashfs-root/AppRun [args] |
247 | | |
248 | | # The linuxdeploy gtk plugin is required for Atlas to work |
249 | | # View the simple directions at |
250 | | # https://github.com/linuxdeploy/linuxdeploy-plugin-gtk |
251 | | |