From b737960a8ec75e84fc3a94acd5ee9678c22916f0 Mon Sep 17 00:00:00 2001 From: Drommedhar Date: Wed, 25 Sep 2024 01:09:33 +0200 Subject: [PATCH] Reduce archive size --- .github/workflows/main.yml | 2 +- DLSSUpdater.sln | 12 ------------ DlssUpdater/DLSSUpdater.csproj | 6 ++++-- DlssUpdater/changelog.md | 5 ++++- DlssUpdater/version.json | 2 +- README.md | 4 ++++ 6 files changed, 14 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6f1da94..ad431a9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,7 +38,7 @@ jobs: dotnet-version: 8.0.x - name: Create the package - run: dotnet publish --configuration Release ${Solution_Name} --self-contained -p:PublishSingleFile=True -p:PublishReadyToRun=True --output bin\fire\out + run: dotnet publish --configuration Release ${Solution_Name} --self-contained false -p:PublishSingleFile=True -p:PublishReadyToRun=False --output bin\fire\out - name: Zip Release uses: vimtor/action-zip@v1.2 diff --git a/DLSSUpdater.sln b/DLSSUpdater.sln index 6dcf791..5a591c2 100644 --- a/DLSSUpdater.sln +++ b/DLSSUpdater.sln @@ -7,26 +7,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DLSSUpdater", "DlssUpdater\ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU Release|x64 = Release|x64 - Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {891674A2-74FE-4E71-A18E-859680E25E98}.Debug|Any CPU.ActiveCfg = Debug|x64 - {891674A2-74FE-4E71-A18E-859680E25E98}.Debug|Any CPU.Build.0 = Debug|x64 {891674A2-74FE-4E71-A18E-859680E25E98}.Debug|x64.ActiveCfg = Debug|x64 {891674A2-74FE-4E71-A18E-859680E25E98}.Debug|x64.Build.0 = Debug|x64 - {891674A2-74FE-4E71-A18E-859680E25E98}.Debug|x86.ActiveCfg = Debug|x86 - {891674A2-74FE-4E71-A18E-859680E25E98}.Debug|x86.Build.0 = Debug|x86 - {891674A2-74FE-4E71-A18E-859680E25E98}.Release|Any CPU.ActiveCfg = Release|x64 - {891674A2-74FE-4E71-A18E-859680E25E98}.Release|Any CPU.Build.0 = Release|x64 {891674A2-74FE-4E71-A18E-859680E25E98}.Release|x64.ActiveCfg = Release|x64 {891674A2-74FE-4E71-A18E-859680E25E98}.Release|x64.Build.0 = Release|x64 - {891674A2-74FE-4E71-A18E-859680E25E98}.Release|x86.ActiveCfg = Release|x86 - {891674A2-74FE-4E71-A18E-859680E25E98}.Release|x86.Build.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/DlssUpdater/DLSSUpdater.csproj b/DlssUpdater/DLSSUpdater.csproj index d505506..878a9a1 100644 --- a/DlssUpdater/DLSSUpdater.csproj +++ b/DlssUpdater/DLSSUpdater.csproj @@ -8,10 +8,12 @@ true enable enable - x64;x86 - 0.2 + x64 + 1.0.0.2 true win-x64 + False + 1.0.0.2 diff --git a/DlssUpdater/changelog.md b/DlssUpdater/changelog.md index 8f9154a..76d3bd3 100644 --- a/DlssUpdater/changelog.md +++ b/DlssUpdater/changelog.md @@ -1,4 +1,7 @@ -# v1.0.0.1 +# v1.0.0.2 +* Reduce archive footprint by not bundling the .NET Framework with the application archive + +# v1.0.0.1 * Add changelog window, which will automatically be shown after update # v1.0.0.0 diff --git a/DlssUpdater/version.json b/DlssUpdater/version.json index 2e67484..21bb5f8 100644 --- a/DlssUpdater/version.json +++ b/DlssUpdater/version.json @@ -1,3 +1,3 @@ { - "version": "1.0.0.1" + "version": "1.0.0.2" } \ No newline at end of file diff --git a/README.md b/README.md index 88320de..c77ecdd 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,10 @@ At the time of writing, these nugets include: With this you should be able to compile Dlss Updater. # Usage +## Prerequisites +Make sure you have the latest .NET Framework installed to run Dlss Updater. To reduce the size of the archive, the runtime is _NOT_ bundled with the application. Dlss Updater uses .NET 8. + +## First start When you start the software, you will be greeted by a splash screen where Dlss Updater is getting everything ready. It will load saved settings and also request all available versions for the different DLSS libraries. Note that Dlss Updater has implemented a caching system to reduce server load on successive starts. The caching time is defined in [Settings.cs](Settings.cs) under **Constants.CacheTime**. ![Startup screen](docs/images/splashcreen.png)