diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b361b8c6fac977dcbcdf17bf8b0a442f6116f7bb..6f5c8b0fe32730d3c35365cdf34c49140041e179 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ sync: only: - master script: - - ssh -o StrictHostKeyChecking=no -i /home/gitlab-runner/.ssh/id_rsa geuzaine@onelab.info 'cd .wwwonelab && git pull' + - ssh geuzaine@onelab.info 'cd .wwwonelab && git pull' tags: - macos64 - official diff --git a/make_screenshot_wiki.sh b/make_screenshot_wiki.sh new file mode 100755 index 0000000000000000000000000000000000000000..a7ef4481ae84784c814e259071e7f55e622c1ed3 --- /dev/null +++ b/make_screenshot_wiki.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# Run this once you have a nice view of the model to generate the screenshots +# used in the ONELAB wiki, e.g.: +# +# > gmsh main.pro +# ... get nice view with Gmsh window maximized ... +# > onelab_screenshot 1 +# ... get nice second view ... +# > onelab_screenshot 2 + +if [ $# -lt 1 ]; then + echo "Usage: $0 number" 1>&2; + exit 1; +fi + +NUMBER=$1 + +screencapture -Wi screenshot${NUMBER}.png + +# create miniature image with width of 512 pixels +convert -resize 512 screenshot${NUMBER}.png screenshot${NUMBER}_512.png diff --git a/onelab.html b/onelab.html index ce95d70a29502b05e742f8e15c0fa99dec30c532..fd4e256726a092882f53080322c5b09f41df9d02 100644 --- a/onelab.html +++ b/onelab.html @@ -57,10 +57,8 @@ or not) can be easily interfaced as well. <ol><a name="Download"></a> <li>Download the ONELAB software bundle: <ul> - <li>Desktop version for <a href="files/onelab-Windows64.zip">Windows 64-bit</a>, - <a href="files/onelab-Windows32.zip">Windows 32-bit</a>, - <a href="files/onelab-Linux64.zip">Linux 64-bit</a>, - <a href="files/onelab-Linux32.zip">Linux 32-bit</a> and + <li>Desktop version for <a href="files/onelab-Windows64.zip">Windows</a>, + <a href="files/onelab-Linux64.zip">Linux</a> or <a href="files/onelab-MacOSX.dmg">MacOS</a> <li>Mobile version for <a href="https://play.google.com/store/apps/details?id=org.geuz.onelab">Android</a> and <a href="https://itunes.apple.com/us/app/onelab/id845930897">iOS</a>