notify-send message modified
This commit is contained in:
parent
9fc20d1680
commit
1b2b0db18a
|
@ -113,7 +113,7 @@ function install_photoshopSE() {
|
||||||
show_message "removing useless helper.exe plugin to avoid errors"
|
show_message "removing useless helper.exe plugin to avoid errors"
|
||||||
rm "$WINE_PREFIX/drive_c/users/$USER/PhotoshopSE/Required/Plug-ins/Spaces/Adobe Spaces Helper.exe"
|
rm "$WINE_PREFIX/drive_c/users/$USER/PhotoshopSE/Required/Plug-ins/Spaces/Adobe Spaces Helper.exe"
|
||||||
|
|
||||||
notify-send "photoshop installed successfully" -i "photoshop"
|
notify-send "Photoshop CC" "photoshop installed successfully" -i "photoshop"
|
||||||
show_message "photoshopCC V19 x64 installed..."
|
show_message "photoshopCC V19 x64 installed..."
|
||||||
unset filename filemd5 filelink filepath
|
unset filename filemd5 filelink filepath
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ function install_cameraRaw() {
|
||||||
|
|
||||||
wine $filepath &>> "$SCR_PATH/wine-error.log" || error2 "sorry something went wrong during Adobe Camera Raw v12 installation"
|
wine $filepath &>> "$SCR_PATH/wine-error.log" || error2 "sorry something went wrong during Adobe Camera Raw v12 installation"
|
||||||
|
|
||||||
notify-send "Adobe Camera Raw v12 installed successfully" -i "photoshop"
|
notify-send "Photoshop CC" "Adobe Camera Raw v12 installed successfully" -i "photoshop"
|
||||||
show_message2 "Adobe Camera Raw v12 installed..."
|
show_message2 "Adobe Camera Raw v12 installed..."
|
||||||
unset filename filemd5 filelink filepath
|
unset filename filemd5 filelink filepath
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ if [ $# -ne 0 ];then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
notify-send "Photoshop CC started." -i "photoshopicon"
|
notify-send "Photoshop CC" "Photoshop CC launched." -i "photoshopicon"
|
||||||
|
|
||||||
SCR_PATH="pspath"
|
SCR_PATH="pspath"
|
||||||
CACHE_PATH="pscache"
|
CACHE_PATH="pscache"
|
||||||
|
|
|
@ -186,14 +186,14 @@ function download_component() {
|
||||||
aria2c -c -x 8 -d "$CACHE_PATH" -o $4 $3
|
aria2c -c -x 8 -d "$CACHE_PATH" -o $4 $3
|
||||||
|
|
||||||
if [ $? -eq 0 ];then
|
if [ $? -eq 0 ];then
|
||||||
notify-send "$4 download completed" -i "download"
|
notify-send "Photoshop CC" "$4 download completed" -i "download"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
show_message "using wget to download $4"
|
show_message "using wget to download $4"
|
||||||
wget "$3" -P "$CACHE_PATH"
|
wget "$3" -P "$CACHE_PATH"
|
||||||
|
|
||||||
if [ $? -eq 0 ];then
|
if [ $? -eq 0 ];then
|
||||||
notify-send "$4 download completed" -i "download"
|
notify-send "Photoshop CC" "$4 download completed" -i "download"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
((tout++))
|
((tout++))
|
||||||
|
|
|
@ -7,7 +7,7 @@ main() {
|
||||||
CMD_PATH="/usr/local/bin/photoshop"
|
CMD_PATH="/usr/local/bin/photoshop"
|
||||||
ENTRY_PATH="/home/$USER/.local/share/applications/photoshop.desktop"
|
ENTRY_PATH="/home/$USER/.local/share/applications/photoshop.desktop"
|
||||||
|
|
||||||
notify-send "photoshop uninstaller started" -i "photoshop"
|
notify-send "Photoshop CC" "photoshop uninstaller started" -i "photoshop"
|
||||||
|
|
||||||
ask_question "you are uninstalling photoshop cc v19 are you sure?" "N"
|
ask_question "you are uninstalling photoshop cc v19 are you sure?" "N"
|
||||||
if [ $result == "no" ];then
|
if [ $result == "no" ];then
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
source "sharedFuncs.sh"
|
source "sharedFuncs.sh"
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
|
notify-send "Photoshop CC" "winecfg started" -i "photoshop"
|
||||||
load_paths
|
load_paths
|
||||||
RESOURCES_PATH="$SCR_PATH/resources"
|
RESOURCES_PATH="$SCR_PATH/resources"
|
||||||
WINE_PREFIX="$SCR_PATH/prefix"
|
WINE_PREFIX="$SCR_PATH/prefix"
|
||||||
|
|
Loading…
Reference in New Issue