UWUVCI-AIO-WPF/UWUVCI AIO WPF/UI/Frames/SettingsFrame.xaml.cs
NicoAICP 2cdc4c5146 Updating Base List! You can now Update the Base List in the settings by clicking the "Update Base Files" button. Bases are stored under <Path of UWUVCI AIO.exe>/bases/bases.vcb<console> (eg. C:/UWUVCI/bases/bases.vcbnds)
Additional Fixes:

If no bases folder exist the programm will now create it if the users decided so, instead of crashing

If there is a vcb base file missing, the injector will ask the user if it shall download it, since if a file is missing the programm will crash.

If the user chooses no at any of those questions, the programm will terminate itself.

ToDo:
Fix Injection Logic
Fix Broken Image Bug (I'mma jsut call it that)
Check Packing Logic for errors
Add Custom Base support ("LOADIINE")
Add Custom Base support (NUS)
Implement Configs feature
Add AutoUpdater.NET
Go live in Beta?
[MAYBE] Implement Downloading as a Task/Thread
[MAYBE] Check if Downloaded Bases Contain the Code Content and Meta folders
2020-04-04 01:20:15 +02:00

58 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using UWUVCI_AIO_WPF.UI.Windows;
namespace UWUVCI_AIO_WPF.UI.Frames
{
/// <summary>
/// Interaktionslogik für SettingsFrame.xaml
/// </summary>
public partial class SettingsFrame : Page, IDisposable
{
MainWindow parent;
public SettingsFrame(MainWindow mw)
{
InitializeComponent();
parent = mw;
}
public void Dispose()
{
}
private void Button_Click(object sender, RoutedEventArgs e)
{
TitleKeys tk = new TitleKeys();
tk.ShowDialog();
}
private void Button_Click_1(object sender, RoutedEventArgs e)
{
MainViewModel mvm = FindResource("mvm") as MainViewModel;
mvm.EnterKey(true);
}
private void Button_Click_2(object sender, RoutedEventArgs e)
{
parent.paths(false);
}
private void Button_Click_3(object sender, RoutedEventArgs e)
{
MainViewModel mvm = FindResource("mvm") as MainViewModel;
mvm.UpdateBases();
}
}
}