photoshopCClinux/scripts/launcher.sh

19 lines
397 B
Bash
Raw 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
notify-send "Photoshop CC started." -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"
wine "$SCR_PATH/prefix/drive_c/users/$USER/PhotoshopSE/Photoshop.exe"