Skip to content

Commit

Permalink
Bumped: Version to 1.28.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Nov 29, 2024
1 parent d1f32db commit 67ce4f6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 39 deletions.
48 changes: 11 additions & 37 deletions changelog-template.hbs
Original file line number Diff line number Diff line change
@@ -1,45 +1,19 @@
***If you are viewing on GitHub, you can find the downloads at the bottom of this post.***
If you are updating from version less than 1.28, install the following first

[Read and Discuss in a Browser](https://github.com/Reloaded-Project/Reloaded-II/discussions/473).
[Previous Changelog](https://github.com/Reloaded-Project/Reloaded-II/releases/tag/1.27.14).

***1.28.0: .NET 9 and Miscellaneous Improvements***

## Upgraded to .NET 9

Reloaded-II now ships with .NET 9 (currently RC2) as its runtime; given that no major issues have been reported thus far. This should give modders access to new APIs as well as performance improvements.

## Improved: Running protontricks with certain Flatpak installs.

Many people running Protontricks via Flatpak rely on setting an alias to `protontricks-launch` via `~/.bashrc`. In fact, the [install guide recommends this](https://reloaded-project.github.io/Reloaded-II/LinuxSetupGuideNewExtra/#installing-protontricks-via-flatpak).

However, the `.desktop` shortcuts generated by the installer previously did not account for this.

```
Exec=protontricks-launch --appid 3847140856 "/home/sewer/Desktop/Reloaded-II - Sonic Heroes/Reloaded-II.exe"
```
- [.NET 9 x64 Desktop Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-9.0.0-windows-x64-installer)
- [.NET 9 x86 Desktop Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-9.0.0-windows-x86-installer)

Because the command was not ran in a shell, `~/.bashrc` was not being sourced; so the alias would not work for Flatpak users. Installs from the updated installer now create a shortcut that uses `bash` to invoke the command:
---------
```
Exec=bash -ic 'protontricks-launch --appid 3847140856 "/home/sewer/Desktop/Reloaded-II - Sonic Heroes/Reloaded-II.exe"'
```

This should cause `~/.bashrc` to be sourced; and hopefully the alias to work.

Note: Normally running a specific shell is not the best practice, however the whole installer itself is a hack and `bash` is ubiquitous enough that I can't name a distro that doesn't ship it out of the box.

## Improved: Flickering on xwayland

Client side decorations (window glow) has been disabled by default on Linux; this reduces the amount of flicker encountered when running the application via Wine on Xwayland.

It also helps maximize screen real estate, the invisible border should no longer look 'weird' in tiling window managers.

## Fixed: Auto Update Working Directory
[Read and Discuss in a Browser](https://github.com/Reloaded-Project/Reloaded-II/discussions/473).
[Previous Changelog](https://github.com/Reloaded-Project/Reloaded-II/releases/tag/1.28.3).
Previously if you moved a game, you would need to move both the `EXE Path` and `Working Directory` in the `Edit Application` menu. This caused a lot of issues as users would not notice, and then get non-bootable games.
***1.28.4: Miscellaneous Bug Fixes***
In this update, I've made the `Working Directory` adjust alongside the `EXE Path`. This preserves the relative path, in other words, if your working directory is 2 folders up, then the new working directory will also be 2 folders up.
- @dreamsyntax added [a confirmation dialog for mod deletes](https://github.com/Reloaded-Project/Reloaded-II/pull/499)
- @dreamsyntax sanitized the [Application name when creating a shortcut](https://github.com/Reloaded-Project/Reloaded-II/pull/499), which should fix making shortcuts for Metaphor.
- And just in case I (Sewer) sanitized the path for Proton shortcuts.
- If the installer fails to create a shortcut on Linux, it will hint to the user that their `protontricks` permissions may be incorrect.
------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion source/Reloaded.Mod.Launcher/Reloaded.Mod.Launcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<UseWPF>true</UseWPF>
<AssemblyName>Reloaded-II</AssemblyName>
<RootNamespace>Reloaded.Mod.Launcher</RootNamespace>
<Version>1.28.3</Version>
<Version>1.28.4</Version>
<Copyright>Sewer56 ~ $([System.DateTime]::UtcNow.ToString("s")) | $(Version)</Copyright>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<ApplicationIcon>appicon.ico</ApplicationIcon>
Expand Down
2 changes: 1 addition & 1 deletion source/Reloaded.Mod.Loader/Reloaded.Mod.Loader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);NU1605;NU1701</NoWarn>
<Version>1.28.3</Version>
<Version>1.28.4</Version>
<CETCompat>false</CETCompat>
<Platforms>x86;x64</Platforms>
<GenerateDepsJson>false</GenerateDepsJson>
Expand Down

0 comments on commit 67ce4f6

Please sign in to comment.