mirror of
https://github.com/shvedes/photoshop-linux.git
synced 2025-09-09 04:35:00 +00:00
Compare commits
3 Commits
bc7d519ac4
...
4854dad81e
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4854dad81e | ||
![]() |
a365571566 | ||
![]() |
03aa300dbf |
@ -76,7 +76,7 @@ on_interrupt() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_help() {
|
get_help() {
|
||||||
echo "Usage: ./install.sh [options...] <path>"
|
echo "Usage: $0 [options...] <path>"
|
||||||
echo " -a Use already existing Photoshop.tar.xz"
|
echo " -a Use already existing Photoshop.tar.xz"
|
||||||
echo " -i Install Photoshop"
|
echo " -i Install Photoshop"
|
||||||
echo " -u <install path> Uninstall Photoshop"
|
echo " -u <install path> Uninstall Photoshop"
|
||||||
@ -185,7 +185,7 @@ is_path_exists() {
|
|||||||
echo -e "$WARNING The specified path '${YELLOW}${1}${RESET}' already exists."
|
echo -e "$WARNING The specified path '${YELLOW}${1}${RESET}' already exists."
|
||||||
|
|
||||||
if ask_user "Do you want to ${RED}delete${RESET} previous installation?"; then
|
if ask_user "Do you want to ${RED}delete${RESET} previous installation?"; then
|
||||||
if rm -rfv "${1:?}" 2>>./install_log.log; then
|
if rm -rfv "${1:?}" &>>./install_log.log; then
|
||||||
echo -e "$LOG Deleted old installation."
|
echo -e "$LOG Deleted old installation."
|
||||||
else
|
else
|
||||||
echo -e "$ERROR Something went wrong."
|
echo -e "$ERROR Something went wrong."
|
||||||
@ -449,7 +449,7 @@ install_launcher() {
|
|||||||
echo "PHOTOSHOP=\"\$WINEPREFIX/drive_c/Program Files/Adobe Photoshop 2021/photoshop.exe\""
|
echo "PHOTOSHOP=\"\$WINEPREFIX/drive_c/Program Files/Adobe Photoshop 2021/photoshop.exe\""
|
||||||
echo ""
|
echo ""
|
||||||
echo "echo \"All logs are saved in \$LOG_FILE\""
|
echo "echo \"All logs are saved in \$LOG_FILE\""
|
||||||
echo "wine64 \"\$PHOTOSHOP\" \"\$@\" &> \"\$LOG_FILE\" "
|
echo "wine \"\$PHOTOSHOP\" \"\$@\" &> \"\$LOG_FILE\" "
|
||||||
} >"$LAUNCHER"
|
} >"$LAUNCHER"
|
||||||
|
|
||||||
chmod +x "$LAUNCHER"
|
chmod +x "$LAUNCHER"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user