Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebescudie committed Dec 24, 2023
2 parents 8a7962a + b77ebc0 commit 442beeb
Show file tree
Hide file tree
Showing 9 changed files with 3,774 additions and 1,026 deletions.
403 changes: 402 additions & 1 deletion .gitignore

Large diffs are not rendered by default.

4,279 changes: 3,256 additions & 1,023 deletions GammaLauncher.vl

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions csharp/DeleteFolders.Utils/DeleteFolders.Utils.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<OutputPath>..\..\lib</OutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="VL.Core" Version="2023.5.3-0349-g416621bccc" />
</ItemGroup>

<ItemGroup>
<Using Include="VL.Core" />
<Using Include="VL.Core.Import" />
<Using Include="VL.Lib.Collections" />
<Using Include="Stride.Core.Mathematics" />
</ItemGroup>

</Project>
25 changes: 25 additions & 0 deletions csharp/DeleteFolders.Utils/DeleteFolders.Utils.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33627.172
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DeleteFolders.Utils", "DeleteFolders.Utils.csproj", "{2D49C869-16CC-4CEE-BD66-347DEF4476D8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2D49C869-16CC-4CEE-BD66-347DEF4476D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2D49C869-16CC-4CEE-BD66-347DEF4476D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2D49C869-16CC-4CEE-BD66-347DEF4476D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2D49C869-16CC-4CEE-BD66-347DEF4476D8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7156CF9C-A279-468E-83BD-97E77D6404BE}
EndGlobalSection
EndGlobal
15 changes: 15 additions & 0 deletions csharp/DeleteFolders.Utils/DeleteProgress.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeleteFolders.Utils
{
public class DeleteProgress
{
public string CurrentFolder { get; set; }
public int FilesDeleted { get; set; }
public int TotalFiles { get; set; }
}
}
8 changes: 8 additions & 0 deletions csharp/DeleteFolders.Utils/NuGet.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="vvvv-public-feed" value="https://teamcity.vvvv.org/guestAuth/app/nuget/v1/FeedService.svc/" />
</packageSources>
</configuration>
3 changes: 3 additions & 0 deletions csharp/DeleteFolders.Utils/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
using VL.Core.Import;

[assembly: ImportAsIs]
41 changes: 41 additions & 0 deletions csharp/DeleteFolders.Utils/Utils.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
using DeleteFolders.Utils;
using System;
using System.IO;
using System.Linq;
using System.Reactive.Linq;

namespace DeleteFolders.Utils
{
public class Utils
{
public static void DeleteFoldersRecursively(Spread<string> folders)
{
foreach (var folder in folders)
{
if (Directory.Exists(folder))
{
DeleteFolder(folder);
}
}
}

private static async Task DeleteFolder(string folder)
{
var files = Directory.GetFiles(folder, "*", SearchOption.AllDirectories);


foreach (var file in files)
{
File.Delete(file);
}

var directories = new DirectoryInfo(folder).GetDirectories();
foreach (var dir in directories)
{
Directory.Delete(dir.FullName, true);
}

Directory.Delete(folder, false);
}
}
}
4 changes: 2 additions & 2 deletions installer.iss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#define MyAppName "GammaLauncher"
#define MyAppVersion "5.2.0"
#define MyAppVersion "5.2.1"
#define MyAppPublisher "sebescudie"
#define MyAppURL "www.sebescudie.github.io"
#define MyAppExeName "gammalauncher_5.2.0_installer"
#define MyAppExeName "gammalauncher_5.2.1_installer"


[Setup]
Expand Down

0 comments on commit 442beeb

Please sign in to comment.