change aria2 to wget
This commit is contained in:
parent
c590254334
commit
0ca346c398
|
@ -26,13 +26,12 @@ and sets some necessary components up for the best performance
|
|||
2-make sure the following packages are already installed on your Linux distro
|
||||
* `wine`
|
||||
* `winetricks`
|
||||
* `aria2c`
|
||||
* `md5sum`
|
||||
|
||||
|
||||
if they are not already installed you can install them using your package manager for example in arch Linux
|
||||
```bash
|
||||
sudo pacman -S wine aria2 winetricks
|
||||
sudo pacman -S wine winetricks
|
||||
```
|
||||
3- make sure you have enough storage in your `/home` partition about `5 GiB`
|
||||
> 1 GiB will be free after installation
|
||||
|
|
|
@ -11,7 +11,7 @@ function main() {
|
|||
is64
|
||||
|
||||
#make sure aria2c and wine package is already installed
|
||||
package_installed aria2c
|
||||
# package_installed aria2c
|
||||
package_installed wine
|
||||
package_installed md5sum
|
||||
package_installed winetricks
|
||||
|
|
|
@ -132,6 +132,7 @@ function install_photoshopSE() {
|
|||
local filename="photoshopCC-V19.1.6-2018x64.tgz"
|
||||
local filemd5="b63f6ed690343ee12b6195424f94c33f"
|
||||
local filelink="https://victor.poshtiban.io/p/gictor/photoshopCC/photoshopCC-V19.1.6-2018x64.tgz"
|
||||
# local filelink="http://127.0.0.1:8080/photoshopCC-V19.1.6-2018x64.tgz"
|
||||
local filepath="$CACHE_PATH/$filename"
|
||||
|
||||
download_component $filepath $filemd5 $filelink $filename
|
||||
|
@ -217,7 +218,8 @@ function download_component() {
|
|||
fi
|
||||
else
|
||||
show_message "downloading $4 ..."
|
||||
aria2c -c -x 8 -d $CACHE_PATH -o $4 $3
|
||||
# aria2c -c -x 8 -d $CACHE_PATH -o $4 $3
|
||||
wget $3 -P $CACHE_PATH
|
||||
if [ $? -eq 0 ];then
|
||||
notify-send "$4 download completed" -i "download"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue