wabbajack/Wabbajack.App.Blazor/Pages/Configure.razor

47 lines
1.6 KiB
Plaintext
Raw Normal View History

2022-01-11 16:26:47 +00:00
@page "/configure/{machineURL}"
@layout Shared.MainLayout
2022-01-11 15:05:48 +00:00
@using System.Diagnostics
2022-01-11 16:26:47 +00:00
@using Wabbajack.Common
2022-01-11 15:05:48 +00:00
@using Wabbajack.Paths.IO
@inherits Fluxor.Blazor.Web.Components.FluxorComponent
<div id="content">
<div class="image"></div>
<div class="info">
<div class="step">Downloading</div>
<div class="description">Downloading missing archives...</div>
<div class="number">16 of 228 archives downloaded</div>
<div class="number">128.27 GB remaining</div>
<div class="number">5.6 MB/s</div>
<div class="log">
<p>Downloaded A Cool Mod</p>
<p>Downloaded Some Mod With a Long Name</p>
<p>Downloaded An Even Longer Name Why Do They Do This</p>
<p>Downloaded An Archive From MEGA Wow It's a Miracle</p>
<p>Downloaded Archive Mod Something Long</p>
</div>
</div>
<div class="preview">
<div class="mod-image"></div>
<div class="mod-name">Manbeast - A Werewolf Overhaul</div>
<div class="mod-author">Simon Magus and colinswrath</div>
<div class="mod-info">Manbeast is a complete overhaul of Skyrims Werewolf system designed to balance existing Werewolf mechanics and add powerful new lycanthropic abilities to the game.</div>
</div>
2022-01-11 15:05:48 +00:00
</div>
@code {
[Parameter]
2022-01-11 16:26:47 +00:00
public string machineURL { get; set; }
2022-01-11 15:05:48 +00:00
protected override void OnInitialized()
{
2022-01-11 16:26:47 +00:00
var Location = KnownFolders.EntryPoint.Combine("downloaded_mod_lists", machineURL).WithExtension(Ext.Wabbajack);
if (Location.FileExists())
2022-01-11 15:05:48 +00:00
{
Debug.Print("IT EXISTS I GUESS");
}
2022-01-11 16:26:47 +00:00
base.OnInitialized();
2022-01-11 15:05:48 +00:00
}
}