Skip to content

Commit

Permalink
Version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniorDark committed Jan 5, 2024
1 parent 9b3a0e0 commit e74d93f
Show file tree
Hide file tree
Showing 83 changed files with 110,069 additions and 47,489 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
with:
dotnet-version: '7.0.x'
- name: Build
run: dotnet publish --configuration Release --self-contained false --runtime win-x86 /p:PublishSingleFile=true
run: dotnet publish --configuration Release --self-contained false --runtime win-x64 /p:PublishSingleFile=true
- name: Zip output file
run: Compress-Archive -Path ./bin/Release/net7.0-windows7.0/win-x86/publish/Launcher.exe -DestinationPath Launcher.zip
run: Compress-Archive -Path ./bin/Release/net7.0-windows7.0/win-x64/publish/Launcher.exe -DestinationPath Launcher.zip
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Launcher
path: Launcher.zip
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
run: |
echo "::set-output name=version::$(grep -m1 -o '<FileVersion>[^<]*' RHLauncher.csproj | sed 's/<FileVersion>//')"
- name: Build
run: dotnet publish --configuration Release --self-contained false --runtime win-x86 /p:PublishSingleFile=true
run: dotnet publish --configuration Release --self-contained false --runtime win-x64 /p:PublishSingleFile=true
- name: Zip output file
run: Compress-Archive -Path ./bin/Release/net7.0-windows7.0/win-x86/publish/Launcher.exe -DestinationPath Launcher.zip
run: Compress-Archive -Path ./bin/Release/net7.0-windows7.0/win-x64/publish/Launcher.exe -DestinationPath Launcher.zip
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -41,4 +41,4 @@ jobs:
asset_name: Launcher.zip
asset_content_type: application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
</configuration>
18 changes: 0 additions & 18 deletions DynamicLib/NativeMethod.cs

This file was deleted.

73 changes: 0 additions & 73 deletions DynamicLib/ResourceDll.Designer.cs

This file was deleted.

124 changes: 0 additions & 124 deletions DynamicLib/ResourceDll.resx

This file was deleted.

39 changes: 0 additions & 39 deletions DynamicLib/ZLibDll.cs

This file was deleted.

Binary file removed DynamicLib/ZlibDll.dll
Binary file not shown.
6 changes: 4 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ Rusty Hearts Launcher - Windows Forms Implementation in C#
ensure stability. Please check the GitHub repository for updates.
*/

using RHLauncher.RHLauncher.i8n;

namespace RHLauncher
{
internal static class Program
{
private static readonly Mutex mutex = new(false, "Launcher");
private static readonly Mutex mutex = new(false, "RHLauncher");
/// <summary>
/// The main entry point for the application.
/// </summary>
Expand All @@ -29,7 +31,7 @@ private static void Main()
}
else
{
MessageBox.Show("Only one instance of the launcher can run at a time.");
MessageBox.Show(LocalizedStrings.LauncherAlreadyRunning, LocalizedStrings.Error);
}
}
}
Expand Down
Loading

0 comments on commit e74d93f

Please sign in to comment.