Skip to content

Commit

Permalink
Reduce archive size
Browse files Browse the repository at this point in the history
  • Loading branch information
Drommedhar committed Sep 24, 2024
1 parent 5d0092d commit b737960
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
12 changes: 0 additions & 12 deletions DLSSUpdater.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions DlssUpdater/DLSSUpdater.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
<UseWPF>true</UseWPF>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Platforms>x64;x86</Platforms>
<FileVersion>0.2</FileVersion>
<Platforms>x64</Platforms>
<FileVersion>1.0.0.2</FileVersion>
<SelfContained>true</SelfContained>
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
<SignAssembly>False</SignAssembly>
<AssemblyVersion>1.0.0.2</AssemblyVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
5 changes: 4 additions & 1 deletion DlssUpdater/changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion DlssUpdater/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.0.0.1"
"version": "1.0.0.2"
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b737960

Please sign in to comment.