diff options
author | Renato Molnar | 2021-07-25 22:49:34 +0200 |
---|---|---|
committer | Renato Molnar | 2021-07-25 22:49:34 +0200 |
commit | 9650e695edcdb2cd9097cddf09309f498e55756f (patch) | |
tree | 8532ae3efda004f21da4e8d6b0c15c9df17c1ecd /notepadpp | |
parent | 1f88b54abf0439b6c9d2e8356bf1f58c8bca3201 (diff) | |
download | aur-9650e695edcdb2cd9097cddf09309f498e55756f.tar.gz |
Bump version to 8.1.2; Fix "wine: failed to open" bug
Diffstat (limited to 'notepadpp')
-rw-r--r-- | notepadpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/notepadpp b/notepadpp index d3ce6b11b246..0b88812ef070 100644 --- a/notepadpp +++ b/notepadpp @@ -1,6 +1,7 @@ #!/usr/bin/env sh app_name='notepadpp' +exe_name='notepad++.exe' pkgdir="/usr/share/${app_name}" localdir="${HOME}/.local/share/${app_name}" @@ -14,7 +15,9 @@ for folder in "${localdir}" "${cachedir}" "${configdir}"; do done cleanup() { - umount "${localdir}" + until umount "${localdir}"; do + sleep 5 + done } if mount | grep -q "${localdir}"; then @@ -33,4 +36,4 @@ if [ -n "${1}" ]; then fi unset WINEPREFIX -WINEDLLOVERRIDES="${WINEDLLOVERRIDES};mscoree=d;mshtml=d" WINEDEBUG=-all wine "${localdir}/${app_name}" "${argpath}" +WINEDLLOVERRIDES="${WINEDLLOVERRIDES};mscoree=d;mshtml=d" WINEDEBUG=-all wine "${localdir}/${exe_name}" "${argpath}" |