- BepInEx status prüfung für FTP hinzugefügt -> prüft ob ein ordner BepInEx im stammverzeichnis vorhanden ist.
- Installation von BepInEx über ftp hinzugefügt -> lädt aktuellste version von github runter und lädt sie hoch, prüft danach ob ordner vorhanden ist indem nochmal CheckBepInEx aufgerufen wird. Lies dabei die Version aus von der DLL -> update prüfung kann somit vorgenommen werden (user manuell sicher somit) Todo: -FTP Installation von BepInEx überarbeiten... dauert zu lange aktuell - Installation von BepInEx lässt aktuell leere ordner außen vor... müssen aber im ftp danach auch vorhanden sein!! (patchers, plugins, cache)
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
<StackPanel Spacing="10" Height="150">
|
||||
<TextBlock Text="BepInEx Status" FontSize="28" FontWeight="Bold"/>
|
||||
<TextBlock Text="{Binding BepInExStatus}" FontSize="20"/>
|
||||
<ProgressBar IsVisible="{Binding IsLoading}" />
|
||||
<Button Content="Installieren"
|
||||
Command="{Binding InstallBepInExCommand}"
|
||||
IsVisible="{Binding ShowInstallButton}"
|
||||
|
||||
@@ -139,7 +139,8 @@ public partial class ServerSettingsView : UserControl
|
||||
});
|
||||
}
|
||||
|
||||
string method;
|
||||
//public string method;
|
||||
public static string method { get; set; }
|
||||
private void Weiter_OnClick(object? sender, RoutedEventArgs e)
|
||||
{
|
||||
if (this.Parent.Parent.Parent is MainWindow mainWindow) {
|
||||
@@ -244,11 +245,14 @@ public partial class ServerSettingsView : UserControl
|
||||
ftp_prüfen.Content = "Verbindung Erfolgreich";
|
||||
if (JsonDocument.Parse(LizenzView.KeyAuthApp.webhook("recivevar", "&name=" + LizenzView.lizenz_name[1], "")).RootElement.GetProperty("success").GetBoolean())
|
||||
{
|
||||
LizenzView.KeyAuthApp.webhook("editvar", "&varid=" + LizenzView.lizenz_name[1] + "&data=fhtjfthjtfh", "");
|
||||
}else
|
||||
{
|
||||
LizenzView.KeyAuthApp.webhook("aHtrWbrxrZ", "&name=" + LizenzView.lizenz_name[1] + "&data=teasdrz", "");
|
||||
LizenzView.KeyAuthApp.webhook("editvar", "&varid=" + LizenzView.lizenz_name[1] + "&data=dadada", "");
|
||||
}
|
||||
else
|
||||
{
|
||||
LizenzView.KeyAuthApp.webhook("aHtrWbrxrZ", "&name=" + LizenzView.lizenz_name[1] + "&data=blablabla", "");
|
||||
}
|
||||
|
||||
Debug.WriteLine(LizenzView.KeyAuthApp.response.message);
|
||||
|
||||
weiter.IsEnabled = true;
|
||||
method = "ftp";
|
||||
|
||||
Reference in New Issue
Block a user