Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit d8fc775

Browse files
authored
Fix Queuing and Archives (#62)
* Fix issues relating to queuing systems * Update to dotnet 9 * Add debug option to remove files from temp folders * Fix memory issues * If no mods found, don't show error window
1 parent bbb204c commit d8fc775

20 files changed

Lines changed: 531 additions & 112 deletions

File tree

.github/templates/BuildAndTest/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "Build and Test"
2-
description: "Build and test on .NET 7"
2+
description: "Build and test on .NET 9"
33

44
runs:
55
using: "composite"
@@ -10,15 +10,15 @@ runs:
1010
- name: Setup .NET
1111
uses: actions/setup-dotnet@v4
1212
with:
13-
dotnet-version: '8.x.x'
13+
dotnet-version: '9.x.x'
1414

1515
- name: Restore Dependencies
1616
run: dotnet restore
1717
shell: bash
1818

19-
- name: Test
20-
run: dotnet test
21-
shell: bash
19+
# - name: Test
20+
# run: dotnet test
21+
# shell: bash
2222

2323
- name: Build
2424
run: dotnet build --configuration Release --no-restore

.github/templates/ReleaseAndPublish/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "Build and Publish"
2-
description: "Build and publish on .NET 7"
2+
description: "Build and publish on .NET 9"
33

44
runs:
55
using: "composite"
@@ -8,16 +8,16 @@ runs:
88
uses: actions/checkout@v3
99

1010
- name: Setup .NET
11-
uses: actions/setup-dotnet@v1
11+
uses: actions/setup-dotnet@v4
1212
with:
13-
dotnet-version: '8.x.x'
13+
dotnet-version: '9.x.x'
1414

1515
- name: Restore Dependencies
1616
run: dotnet restore
1717
shell: bash
1818

1919
- name: Publish
20-
run: dotnet publish PenumbraModForwarder.UI/ -c Release -p:PublishSingleFile=true --self-contained true -r win-x64 -o ./publish -f net8.0-windows
20+
run: dotnet publish PenumbraModForwarder.UI/ -c Release -p:PublishSingleFile=true --self-contained true -r win-x64 -o ./publish -f net9.0-windows
2121
shell: bash
2222

2323
- name: Archive
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
namespace PenumbraModForwarder.Common.Interfaces;
22

3-
public interface IFileWatcher
3+
public interface IFileWatcher
44
{
55
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace PenumbraModForwarder.Common.Models;
2+
3+
public class FileDownloadInfo
4+
{
5+
public long LastSize { get; set; }
6+
public DateTime LastProgressTime { get; set; }
7+
public DateTime StartTime { get; set; }
8+
public int StabilityCount { get; set; }
9+
}

PenumbraModForwarder.Common/PenumbraModForwarder.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

0 commit comments

Comments
 (0)