Skip to content

Commit

Permalink
closes #81
Browse files Browse the repository at this point in the history
closes #70
closes #58
  • Loading branch information
BigSpice committed Jan 20, 2024
1 parent df58b96 commit fc9d885
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 26 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
20 changes: 7 additions & 13 deletions VTOL_2.0.0/Pages/Page_Home.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3798,24 +3798,18 @@ private void Unpack_To_Location(string Target_Zip, string Destination_Zip)
try
{
unpack_flg = false;
if (Directory.Exists(Current_Install_Folder + User_Settings_Vars.Profile_Path + @"\packages\Northstar.Client\Locked_Folder"))
{
TryDeleteDirectory(Current_Install_Folder + User_Settings_Vars.Profile_Path + @"\packages\Northstar.Client\Locked_Folder", true);

}
if (Directory.Exists(Current_Install_Folder + User_Settings_Vars.Profile_Path + @"\packages\Northstar.Custom\Locked_Folder"))
{
TryDeleteDirectory(Current_Install_Folder + User_Settings_Vars.Profile_Path + @"\packages\Northstar.Custom\Locked_Folder", true);
string searchPattern = @"Northstar.*";
string baseFolderPath = Path.Combine(Current_Install_Folder, User_Settings_Vars.Profile_Path, @"packages\");

string[] matchingFolders = Directory.GetDirectories(baseFolderPath, searchPattern, SearchOption.AllDirectories);


}
if (Directory.Exists(Current_Install_Folder + User_Settings_Vars.Profile_Path + @"\packages\Northstar.CustomServers\Locked_Folder"))
foreach (string folderPath in matchingFolders)
{
TryDeleteDirectory(Current_Install_Folder + User_Settings_Vars.Profile_Path + @"\packages\Northstar.CustomServers\Locked_Folder", true);


TryDeleteDirectory(folderPath, true);
}


string nrml = GetFile(Current_Install_Folder, @"ns_startup_args.txt");
string cfg = GetFile(Current_Install_Folder, @"autoexec_ns_server.cfg");
string dedi = GetFile(Current_Install_Folder, @"ns_startup_args_dedi.txt");
Expand Down
58 changes: 48 additions & 10 deletions VTOL_2.0.0/Resources/Languages/Language.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions VTOL_2.0.0/Resources/Languages/Language.resx
Original file line number Diff line number Diff line change
Expand Up @@ -732,9 +732,6 @@
<data name="MANIFEST_FILE_NOT_FOUND" xml:space="preserve">
<value>MANIFEST FILE NOT FOUND</value>
</data>
<data name="YouHaveInstalledModSettingsModSettingsHasBeenDepreceatedAndWillCauseErrorsNDeleteItNow" xml:space="preserve">
<value> "You have Installed Mod Settings!, Mod Settings has been Depreceated and will cause Errors. \nDelete it Now?</value>
</data>
<data name="WARNING" xml:space="preserve">
<value> "WARNING</value>
</data>
Expand Down

0 comments on commit fc9d885

Please sign in to comment.