Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/sh
- if [ ! -z "${1}" ]
- then
- file_path="$(winepath --windows "$(realpath "${1}")")"
- fi
- cd "$(dirname "$(realpath "${0}")")"
- basepath="iqebrowser"
- xdgsharepath="${XDG_DATA_HOME:-${HOME}/.local/share}/${basepath}"
- WINEPREFIX="${xdgsharepath}/wine"
- if [ -z "${file_path}" ]
- then
- wine IqeBrowser.exe
- else
- wine IqeBrowser.exe "${file_path}"
- fi
- #EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement