fix wine64->wine & remote->local installer
This commit is contained in:
parent
ad157c73aa
commit
2f82cf11b8
|
@ -62,24 +62,17 @@ function main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_illustratorCC() {
|
function install_illustratorCC() {
|
||||||
local filename="illustratorCC17.tgz"
|
local filelink="/home/$USER/Downloads/illustratorCC17.tgz"
|
||||||
local filemd5="d470b541cef1339a66ea33a998801f83"
|
|
||||||
# local filelink="http://127.0.0.1:4050/illustratorCC17.tgz"
|
|
||||||
local filelink="https://victor.poshtiban.io/p/gictor/illustratorCC/illustratorCC17.tgz"
|
|
||||||
local filepath="$CACHE_PATH/$filename"
|
|
||||||
|
|
||||||
download_component $filepath $filemd5 $filelink $filename
|
|
||||||
|
|
||||||
echo "===============| IllustratorCC17 |===============" >> "$SCR_PATH/wine-error.log"
|
echo "===============| IllustratorCC17 |===============" >> "$SCR_PATH/wine-error.log"
|
||||||
|
|
||||||
show_message "extract IllustratorCC..."
|
show_message "extract IllustratorCC..."
|
||||||
rmdir_if_exist "$SCR_PATH/IllustratorCC17"
|
rmdir_if_exist "$SCR_PATH/IllustratorCC17"
|
||||||
tar -xzf "$filepath" -C "$SCR_PATH" || error "sorry something went wrong during illustrator installation"
|
tar -xzf "$filelink" -C "$SCR_PATH" || error "sorry something went wrong during illustrator installation"
|
||||||
|
|
||||||
show_message "install Illustrator..."
|
show_message "install Illustrator..."
|
||||||
|
|
||||||
show_message "IllustratorCC v17 x64 installed..."
|
show_message "IllustratorCC v17 x64 installed..."
|
||||||
unset filename filemd5 filelink filepath
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check_arg $@
|
check_arg $@
|
||||||
|
|
|
@ -13,6 +13,6 @@ WINE_PREFIX="$SCR_PATH/prefix"
|
||||||
|
|
||||||
export WINEPREFIX="$WINE_PREFIX"
|
export WINEPREFIX="$WINE_PREFIX"
|
||||||
|
|
||||||
wine64 "$SCR_PATH/IllustratorCC17/IllustratorCC64.exe"
|
wine "$SCR_PATH/IllustratorCC17/IllustratorCC64.exe"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue