File tree Expand file tree Collapse file tree 7 files changed +14
-14
lines changed
Expand file tree Collapse file tree 7 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ chmod a+x ../remove || exit 1
1313
1414# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
1515version=$( curl -Ls http://www.animashooter.com/ | tr ' "<> ' ' \n' | grep -i " ^https.*animashooter.*junior.*appimage$" | head -1)
16- wget --user-agent= " Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 " " $version " || exit 1
16+ wget " $version " || exit 1
1717# Keep this space in sync with other installation scripts
1818# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
1919cd ..
4242if [ "$version" != "$version0" ]; then
4343 mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
4444 notify-send "A new version of $APP is available, please wait"
45- wget --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" "$version" || exit 1
45+ wget "$version" || exit 1
4646 # Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
4747 cd ..
4848 mv --backup=t ./tmp/*mage ./"$APP"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ chmod a+x ../remove || exit 1
1313
1414# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
1515version=$( curl -Ls http://www.animashooter.com/ | tr ' "<> ' ' \n' | grep -i " ^https.*animashooter.*pioneer.*appimage$" | head -1)
16- wget --user-agent= " Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 " " $version " || exit 1
16+ wget " $version " || exit 1
1717# Keep this space in sync with other installation scripts
1818# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
1919cd ..
4242if [ "$version" != "$version0" ]; then
4343 mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
4444 notify-send "A new version of $APP is available, please wait"
45- wget --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" "$version" || exit 1
45+ wget "$version" || exit 1
4646 # Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
4747 cd ..
4848 mv --backup=t ./tmp/*mage ./"$APP"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ chmod a+x ../remove || exit 1
1313
1414# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
1515version=" https://www.mudlet.org/wp-content/files/$( curl -Ls https://www.mudlet.org/wp-content/files/ | tr ' ">< ' ' \n' | grep -i " mudlet.*[0-9].*appimage" | head -1) "
16- wget --user-agent= " Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 " " $version " || exit 1
16+ wget " $version " || exit 1
1717# Keep this space in sync with other installation scripts
1818[ -e ./* tar* ] && tar fx ./* tar* && rm -f ./* tar*
1919cd ..
4242if [ "$version" != "$version0" ]; then
4343 mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
4444 notify-send "A new version of $APP is available, please wait"
45- wget --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" "$version" || exit 1
45+ wget "$version" || exit 1
4646 [ -e ./*tar* ] && tar fx ./*tar* && rm -f ./*tar*
4747 cd ..
4848 mv --backup=t ./tmp/*mage ./"$APP"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ chmod a+x ../remove || exit 1
1313
1414# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
1515version=" https://openxcom.org/download/nightlies/$( curl -Ls https://openxcom.org/git-builds/ | tr ' ">< ' ' \n' | grep -i " download.*x86_64.*appimage$" | sed ' s:.*/::' | head -1) "
16- wget --user-agent= " Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 " " $version " || exit 1
16+ wget " $version " || exit 1
1717[ -e ./* 7z ] && 7z x ./* 7z && rm -f ./* 7z
1818[ -e ./* tar.* ] && tar fx ./* tar.* && rm -f ./* tar.*
1919[ -e ./* zip ] && unzip -qq ./* zip 1> /dev/null && rm -f ./* zip
4242if [ "$version" != "$version0" ]; then
4343 mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
4444 notify-send "A new version of $APP is available, please wait"
45- wget --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" "$version" || exit 1
45+ wget "$version" || exit 1
4646 [ -e ./*7z ] && 7z x ./*7z && rm -f ./*7z
4747 [ -e ./*tar.* ] && tar fx ./*tar.* && rm -f ./*tar.*
4848 [ -e ./*zip ] && unzip -qq ./*zip 1>/dev/null && rm -f ./*zip
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ chmod a+x ../remove || exit 1
1313
1414# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
1515version=" https://openxcom.org/oxce/release/$( curl -Ls https://openxcom.org/oxce/release/ | tr ' ">< ' ' \n' | grep -i " linux" | sort --version-sort | sed ' s:.*/::' | tail -1) "
16- wget --user-agent= " Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 " " $version " || exit 1
16+ wget " $version " || exit 1
1717[ -e ./* 7z ] && 7z x ./* 7z && rm -f ./* 7z
1818[ -e ./* tar.* ] && tar fx ./* tar.* && rm -f ./* tar.*
1919[ -e ./* zip ] && unzip -qq ./* zip 1> /dev/null && rm -f ./* zip
4242if [ "$version" != "$version0" ]; then
4343 mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
4444 notify-send "A new version of $APP is available, please wait"
45- wget --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" "$version" || exit 1
45+ wget "$version" || exit 1
4646 [ -e ./*7z ] && 7z x ./*7z && rm -f ./*7z
4747 [ -e ./*tar.* ] && tar fx ./*tar.* && rm -f ./*tar.*
4848 [ -e ./*zip ] && unzip -qq ./*zip 1>/dev/null && rm -f ./*zip
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ chmod a+x ../remove || exit 1
1313
1414# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
1515version=" https://vulkan.gpuinfo.org/downloads/$( curl -Ls https://vulkan.gpuinfo.org/download.php | tr ' ">< ' ' \n' | grep -i " appimage$" | grep -i wayland | head -1 | sed ' s:.*/::' ) "
16- wget --user-agent= " Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 " " $version " || exit 1
16+ wget " $version " || exit 1
1717# Keep this space in sync with other installation scripts
1818# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
1919cd ..
4242if [ "$version" != "$version0" ]; then
4343 mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
4444 notify-send "A new version of $APP is available, please wait"
45- wget --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" "$version" || exit 1
45+ wget "$version" || exit 1
4646 # Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
4747 cd ..
4848 mv --backup=t ./tmp/*mage ./"$APP"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ chmod a+x ../remove || exit 1
1313
1414# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
1515version=" https://vulkan.gpuinfo.org/downloads/$( curl -Ls https://vulkan.gpuinfo.org/download.php | tr ' ">< ' ' \n' | grep -i " appimage$" | grep -vi wayland | head -1 | sed ' s:.*/::' ) "
16- wget --user-agent= " Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 " " $version " || exit 1
16+ wget " $version " || exit 1
1717# Keep this space in sync with other installation scripts
1818# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
1919cd ..
4242if [ "$version" != "$version0" ]; then
4343 mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
4444 notify-send "A new version of $APP is available, please wait"
45- wget --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" "$version" || exit 1
45+ wget "$version" || exit 1
4646 # Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
4747 cd ..
4848 mv --backup=t ./tmp/*mage ./"$APP"
You can’t perform that action at this time.
0 commit comments