mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-29 04:18:49 -04:00
Triforce v0.8.5
A Randomizer page in the launcher, a new title screen with Mods and Save Select tabs, scaling changes applied in game, the Jabu-Jabu bars fixed, renderer frame-time work and the brightness-flash fix, and fixes from the 0.8.4 reports.
This commit is contained in:
@@ -123,8 +123,10 @@ public sealed partial class Backend
|
||||
PickThen(true, into ? "Choose the folder with your saves" : "Choose where the saves go", path => SavesFolderPicked(into, path));
|
||||
return;
|
||||
}
|
||||
if (!id.StartsWith('s') || !int.TryParse(id.AsSpan(1), out var i) || i < 0 || i >= savesFound.Count) return;
|
||||
SavesAsk(into, savesFound[i]);
|
||||
// ((Triforce, 11-26) the list as it is now, once: another worker may put a new list in its place between the check and the read)
|
||||
var found = savesFound;
|
||||
if (!id.StartsWith('s') || !int.TryParse(id.AsSpan(1), out var i) || i < 0 || i >= found.Count) return;
|
||||
SavesAsk(into, found[i]);
|
||||
}
|
||||
|
||||
void SavesFolderPicked(bool into, string path)
|
||||
@@ -212,7 +214,7 @@ public sealed partial class Backend
|
||||
if (OperatingSystem.IsWindows()) System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo(url) { UseShellExecute = true })?.Dispose();
|
||||
else
|
||||
{
|
||||
var si = new System.Diagnostics.ProcessStartInfo("xdg-open") { UseShellExecute = false };
|
||||
var si = new System.Diagnostics.ProcessStartInfo(LinuxPlatform.XdgOpen) { UseShellExecute = false };
|
||||
si.ArgumentList.Add(url);
|
||||
System.Diagnostics.Process.Start(si)?.Dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user