From a9ac39357fe44e4bd38e7098959a2878a859fff0 Mon Sep 17 00:00:00 2001 From: edschuy95 Date: Tue, 20 Jan 2026 21:46:56 -0500 Subject: [PATCH] first working cross platform build --- RA3MP3Playback.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RA3MP3Playback.py b/RA3MP3Playback.py index 9aa83be..b83308a 100644 --- a/RA3MP3Playback.py +++ b/RA3MP3Playback.py @@ -1,5 +1,4 @@ from pathlib import Path -import pty import threading import time import os @@ -12,6 +11,9 @@ import psutil import subprocess import getpass +if (os.name != "nt"): + import pty + os.environ["PYGAME_HIDE_SUPPORT_PROMPT"] = "1" import pygame