Add DeployToSteamOS and Procedural Dungeon Generation addons

This commit is contained in:
2024-08-22 16:51:05 -07:00
parent 6a6be038e8
commit 5c81398c83
108 changed files with 17406 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
using System;
using System.Threading.Tasks;
using Godot;
namespace Laura.DeployToSteamOS;
public partial class DeployWindow
{
private async Task DeployUpload(Callable logCallable)
{
CurrentStep = DeployStep.Uploading;
CurrentProgress = StepProgress.Running;
UpdateUI();
try
{
await SteamOSDevkitManager.CopyFiles(
_device,
_localPath,
_prepareUploadResult.Directory,
logCallable
);
}
catch (Exception e)
{
AddToConsole(DeployStep.Uploading, e.Message);
UpdateUIToFail();
}
CurrentProgress = StepProgress.Succeeded;
UpdateUI();
}
}