diff --git a/BassBoom.Cli/CliBase/PlayerControls.cs b/BassBoom.Cli/CliBase/PlayerControls.cs index fe255f6..6297dc4 100644 --- a/BassBoom.Cli/CliBase/PlayerControls.cs +++ b/BassBoom.Cli/CliBase/PlayerControls.cs @@ -439,7 +439,7 @@ internal static void PlayTest() InfoBoxColor.WriteInfoBox("Playing test sound...", false); // Extract the test sound asset to a temporary file - string path = PlatformHelper.IsOnWindows() ? $"{Environment.GetEnvironmentVariable("TEMP")}" : $"{Environment.GetEnvironmentVariable("TEMP")}"; + string path = PlatformHelper.IsOnWindows() ? $"{Environment.GetEnvironmentVariable("TEMP")}" : $"/tmp/"; string fullPath = $"{path}/{DateTime.Now:ddMMyyyyHHmmssfff}.mp3"; var stream = typeof(PlayerControls).Assembly.GetManifestResourceStream("BassBoom.Cli.sample.mp3") ?? throw new Exception("Missing test sound data.");