Skip to content

Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit

474 B
Raw Blame
#!/bin/sh
# Exercise source-DMG identification without ejecting or trashing user files.
set -eu
repo=$(cd "$(dirname "$0")/.." && pwd)
work=$(mktemp -d "${TMPDIR:-/tmp}/bridgeplay-cleanup-tests.XXXXXX")
trap 'rm -rf "$work"' EXIT HUP INT TERM
swiftc -parse-as-library -swift-version 6 \
    "$repo/app/Sources/BridgeplayInstaller/InstallerCleanup.swift" \
    "$repo/installer/tests/native-installer-cleanup-smoke.swift" \
    -o "$work/cleanup-tests"
"$work/cleanup-tests"