Check PW_NO_AUTOCREATE_SHORTCUT var

This commit is contained in:
zorn-v 2024-08-30 16:25:58 +10:00 committed by GitHub
parent 223b35c7b2
commit 1aae4c0429
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4789,6 +4789,7 @@ portwine_create_shortcut () {
}
pw_auto_create_shortcut () {
[[ "${PW_NO_AUTOCREATE_SHORTCUT}" == 1 ]] && return 0
[[ "${PW_CHECK_AUTOINSTALL}" == 1 ]] && return 0
unset LINKS