photoshopCClinux/scripts/launcher.sh

19 lines
415 B
Bash
Raw Permalink Normal View History

2020-02-12 19:32:12 +00:00
#!/usr/bin/env bash
if [ $# -ne 0 ];then
2020-06-29 23:35:31 +00:00
echo "I have no parameters just run the script without arguments"
2020-02-12 19:32:12 +00:00
exit 1
fi
2021-01-09 10:57:04 +00:00
notify-send "Photoshop CC" "Photoshop CC launched." -i "photoshopicon"
2020-02-12 19:32:12 +00:00
SCR_PATH="pspath"
CACHE_PATH="pscache"
2020-02-12 19:32:12 +00:00
RESOURCES_PATH="$SCR_PATH/resources"
WINE_PREFIX="$SCR_PATH/prefix"
export WINEPREFIX="$WINE_PREFIX"
2021-03-29 06:14:28 +00:00
wine64 "$SCR_PATH/prefix/drive_c/users/$USER/PhotoshopSE/Photoshop.exe"