Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/protontricks/data/scripts/bwrap_launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ done
# Add additional mount directories, including the Wine prefix and Proton
# installation directory
for dir in "${ADDITIONAL_MOUNT_DIRS[@]}"; do
# Skip empty or relative paths. Non-Steam shortcuts don't have an
# install directory, which leaves STEAM_APP_PATH empty. Passing an
# empty --filesystem argument causes pressure-vessel to reject it.
if [[ -z "$dir" || "$dir" != /* ]]; then
continue
fi

if [[ ! -d "$dir" ]]; then
continue
fi
Expand Down
Loading