#!/bin/bash BASE_DIR="$HOME/.wine/" # Sometimes wine is in /opt on Ubuntu PATH="/opt/wine-stable/bin:$PATH" # Remove this because it causes crashes find "$BASE_DIR" -name pcoip_vchan_remoteprintclient.dll -exec rm '{}' \; exec wine64 "$(find "$BASE_DIR" -name workspaces.exe)" &