From 351cd25b85526f0076a0062f282af99a0095bf63 Mon Sep 17 00:00:00 2001 From: Jaredl-Dev <260281143+Jaredl-Dev@users.noreply.github.com> Date: Sun, 14 Jun 2026 21:27:49 -0700 Subject: [PATCH] Add game install location picker Add a warning when installing into Program Files folders on Windows. --- .../Popups/InstallGamePopup.xaml | 33 +++++- .../Popups/InstallGamePopup.xaml.cs | 94 ++++++++++----- .../Dictionary/LanguageResources.ar.xaml | 2 + .../Dictionary/LanguageResources.de.xaml | 2 + .../Dictionary/LanguageResources.en.xaml | 4 +- .../Dictionary/LanguageResources.es.xaml | 2 + .../Dictionary/LanguageResources.fr.xaml | 2 + .../Dictionary/LanguageResources.hu.xaml | 2 + .../Dictionary/LanguageResources.it.xaml | 2 + .../Dictionary/LanguageResources.nl.xaml | 2 + .../Dictionary/LanguageResources.no.xaml | 2 + .../Dictionary/LanguageResources.pl.xaml | 2 + .../Dictionary/LanguageResources.ru.xaml | 2 + .../Dictionary/LanguageResources.sv.xaml | 2 + .../Dictionary/LanguageResources.tr.xaml | 4 +- .../Utils/InstallLocationUtils.cs | 109 ++++++++++++++++++ 16 files changed, 230 insertions(+), 36 deletions(-) create mode 100644 src/BfmeFoundationProject_AllInOneLauncher/Utils/InstallLocationUtils.cs diff --git a/src/BfmeFoundationProject_AllInOneLauncher/Popups/InstallGamePopup.xaml b/src/BfmeFoundationProject_AllInOneLauncher/Popups/InstallGamePopup.xaml index 31ce196..e7e4e24 100644 --- a/src/BfmeFoundationProject_AllInOneLauncher/Popups/InstallGamePopup.xaml +++ b/src/BfmeFoundationProject_AllInOneLauncher/Popups/InstallGamePopup.xaml @@ -8,7 +8,7 @@ xmlns:system="clr-namespace:System;assembly=netstandard" xmlns:generic="clr-namespace:BfmeFoundationProject.AllInOneLauncher.Elements.Generic" mc:Ignorable="d" - Width="700" HorizontalAlignment="Center" VerticalAlignment="Center"> + Width="840" HorizontalAlignment="Center" VerticalAlignment="Center"> @@ -62,9 +62,34 @@ - - - + + + + + + + + + + + + + +