This repository was archived by the owner on Apr 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public partial class MainWindow : Window
3131
3232 int MajorV = 1 ;
3333 int MinorV = 1 ;
34- int PatchV = 4 ;
34+ int PatchV = 5 ;
3535 Boolean Preview = false ;
3636
3737 String IP = "" ;
@@ -48,7 +48,6 @@ public MainWindow()
4848 {
4949 InitializeComponent ( ) ;
5050 UpdateB . Visibility = Visibility . Hidden ;
51- exe = exe . Replace ( "\\ BMBF BS Backup Utility.exe" , "" ) ;
5251
5352 BackupF = exe + "\\ Backups" ;
5453
@@ -541,7 +540,17 @@ public void Upload(String Path)
541540
542541 txtbox . AppendText ( "\n \n Uploading " + directories [ i ] + " to BMBF" ) ;
543542 Application . Current . Dispatcher . Invoke ( DispatcherPriority . Background , new Action ( delegate {
544- client . UploadFile ( "http://" + IP + ":50000/host/beatsaber/upload?overwrite" , directories [ i ] ) ;
543+ try
544+ {
545+ client . UploadFile ( "http://" + IP + ":50000/host/beatsaber/upload?overwrite" , directories [ i ] ) ;
546+ return ;
547+ }
548+ catch
549+ {
550+ txtbox . AppendText ( "\n \n \n An error occured (Code: BMBF100). Couldn't access BMBF. Check following:" ) ;
551+ txtbox . AppendText ( "\n \n - You put in the Quests IP right." ) ;
552+ txtbox . AppendText ( "\n \n - Your Quest is on and BMBF is opened." ) ;
553+ }
545554 } ) ) ;
546555
547556 if ( i % 20 == 0 && i != 0 )
@@ -720,7 +729,7 @@ public void PlaylistB()
720729 {
721730 txtbox . AppendText ( "\n \n \n An error occured (Code: BMBF100). Couldn't access BMBF. Check following:" ) ;
722731 txtbox . AppendText ( "\n \n - You put in the Quests IP right." ) ;
723- txtbox . AppendText ( "\n \n - Your Quest is on." ) ;
732+ txtbox . AppendText ( "\n \n - Your Quest is on and BMBF opened ." ) ;
724733
725734 }
726735 getBackups ( ) ;
You can’t perform that action at this time.
0 commit comments