Scripts version 2337

This commit is contained in:
Mikhail Tergoev
2024-08-09 15:05:57 +03:00
parent 88bc9f9ab9
commit bb82628be7
5 changed files with 14 additions and 4 deletions

View File

@ -4789,7 +4789,10 @@ portwine_create_shortcut () {
}
pw_auto_create_shortcut () {
[[ "${PW_CHECK_AUTOINSTALL}" == 1 ]] && return 0
if [[ "${PW_CHECK_AUTOINSTALL}" == 1 ]] \
|| echo "${portwine_exe}" | grep "gc_api.exe" &>/dev/null # skip lgc and wgc api
then return 0
fi
unset LINKS
for link_file in "${PORT_WINE_PATH}"/data/prefixes/*/drive_c/users/*/Desktop/*.lnk