Compare commits
3 Commits
Canary-1.2
...
1bd05deade
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1bd05deade | ||
|
|
582df25e64 | ||
|
|
53c1796de7 |
8
.github/labeler.yml
vendored
8
.github/labeler.yml
vendored
@@ -33,11 +33,3 @@ kernel:
|
|||||||
infra:
|
infra:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: ['.github/**', 'distribution/**', 'Directory.Packages.props']
|
- any-glob-to-any-file: ['.github/**', 'distribution/**', 'Directory.Packages.props']
|
||||||
|
|
||||||
documentation:
|
|
||||||
- changed-files:
|
|
||||||
- any-glob-to-any-file: 'docs/**'
|
|
||||||
|
|
||||||
ldn:
|
|
||||||
- changed-files:
|
|
||||||
- any-glob-to-any-file: 'src/Ryujinx.HLE/HOS/Services/Ldn/**'
|
|
||||||
|
|||||||
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -122,7 +122,7 @@ jobs:
|
|||||||
- name: Upload Ryujinx.Headless.SDL2 artifact
|
- name: Upload Ryujinx.Headless.SDL2 artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: nogui-ryujinx-${{ matrix.configuration }}-${{ env.RYUJINX_BASE_VERSION }}+${{ steps.git_short_hash.outputs.result }}-${{ matrix.platform.zip_os_name }}
|
name: sdl2-ryujinx-headless-${{ matrix.configuration }}-${{ env.RYUJINX_BASE_VERSION }}+${{ steps.git_short_hash.outputs.result }}-${{ matrix.platform.zip_os_name }}
|
||||||
path: publish_sdl2_headless
|
path: publish_sdl2_headless
|
||||||
if: github.event_name == 'pull_request' && matrix.platform.os != 'macos-13'
|
if: github.event_name == 'pull_request' && matrix.platform.os != 'macos-13'
|
||||||
|
|
||||||
@@ -185,6 +185,6 @@ jobs:
|
|||||||
- name: Upload Ryujinx.Headless.SDL2 artifact
|
- name: Upload Ryujinx.Headless.SDL2 artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: nogui-ryujinx-${{ matrix.configuration }}-${{ env.RYUJINX_BASE_VERSION }}+${{ steps.git_short_hash.outputs.result }}-macos_universal
|
name: sdl2-ryujinx-headless-${{ matrix.configuration }}-${{ env.RYUJINX_BASE_VERSION }}+${{ steps.git_short_hash.outputs.result }}-macos_universal
|
||||||
path: "publish_headless/*.tar.gz"
|
path: "publish_headless/*.tar.gz"
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
|
|||||||
12
.github/workflows/canary.yml
vendored
12
.github/workflows/canary.yml
vendored
@@ -111,12 +111,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pushd publish_ava
|
pushd publish_ava
|
||||||
rm publish/libarmeilleure-jitsupport.dylib
|
rm publish/libarmeilleure-jitsupport.dylib
|
||||||
7z a ../release_output/ryujinx-canary-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.zip publish
|
7z a ../release_output/ryujinx-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.zip publish
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd publish_sdl2_headless
|
pushd publish_sdl2_headless
|
||||||
rm publish/libarmeilleure-jitsupport.dylib
|
rm publish/libarmeilleure-jitsupport.dylib
|
||||||
7z a ../release_output/nogui-ryujinx-canary-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.zip publish
|
7z a ../release_output/sdl2-ryujinx-headless-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.zip publish
|
||||||
popd
|
popd
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
@@ -126,13 +126,13 @@ jobs:
|
|||||||
pushd publish_ava
|
pushd publish_ava
|
||||||
rm publish/libarmeilleure-jitsupport.dylib
|
rm publish/libarmeilleure-jitsupport.dylib
|
||||||
chmod +x publish/Ryujinx.sh publish/Ryujinx
|
chmod +x publish/Ryujinx.sh publish/Ryujinx
|
||||||
tar -czvf ../release_output/ryujinx-canary-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.tar.gz publish
|
tar -czvf ../release_output/ryujinx-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.tar.gz publish
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd publish_sdl2_headless
|
pushd publish_sdl2_headless
|
||||||
rm publish/libarmeilleure-jitsupport.dylib
|
rm publish/libarmeilleure-jitsupport.dylib
|
||||||
chmod +x publish/Ryujinx.sh publish/Ryujinx.Headless.SDL2
|
chmod +x publish/Ryujinx.sh publish/Ryujinx.Headless.SDL2
|
||||||
tar -czvf ../release_output/nogui-ryujinx-canary-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.tar.gz publish
|
tar -czvf ../release_output/sdl2-ryujinx-headless-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.tar.gz publish
|
||||||
popd
|
popd
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
@@ -236,11 +236,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish macOS Ryujinx
|
- name: Publish macOS Ryujinx
|
||||||
run: |
|
run: |
|
||||||
./distribution/macos/create_macos_build_ava.sh . publish_tmp_ava publish_ava ./distribution/macos/entitlements.xml "${{ steps.version_info.outputs.build_version }}" "${{ steps.version_info.outputs.git_short_hash }}" Release 1
|
./distribution/macos/create_macos_build_ava.sh . publish_tmp_ava publish_ava ./distribution/macos/entitlements.xml "${{ steps.version_info.outputs.build_version }}" "${{ steps.version_info.outputs.git_short_hash }}" Release
|
||||||
|
|
||||||
- name: Publish macOS Ryujinx.Headless.SDL2
|
- name: Publish macOS Ryujinx.Headless.SDL2
|
||||||
run: |
|
run: |
|
||||||
./distribution/macos/create_macos_build_headless.sh . publish_tmp_headless publish_headless ./distribution/macos/entitlements.xml "${{ steps.version_info.outputs.build_version }}" "${{ steps.version_info.outputs.git_short_hash }}" Release 1
|
./distribution/macos/create_macos_build_headless.sh . publish_tmp_headless publish_headless ./distribution/macos/entitlements.xml "${{ steps.version_info.outputs.build_version }}" "${{ steps.version_info.outputs.git_short_hash }}" Release
|
||||||
|
|
||||||
- name: Pushing new release
|
- name: Pushing new release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
|
|||||||
4
.github/workflows/nightly_pr_comment.yml
vendored
4
.github/workflows/nightly_pr_comment.yml
vendored
@@ -38,12 +38,12 @@ jobs:
|
|||||||
return core.error(`No artifacts found`);
|
return core.error(`No artifacts found`);
|
||||||
}
|
}
|
||||||
let body = `Download the artifacts for this pull request:\n`;
|
let body = `Download the artifacts for this pull request:\n`;
|
||||||
let hidden_headless_artifacts = `\n\n <details><summary>GUI-less</summary>\n`;
|
let hidden_headless_artifacts = `\n\n <details><summary>GUI-less (SDL2)</summary>\n`;
|
||||||
let hidden_debug_artifacts = `\n\n <details><summary>Only for Developers</summary>\n`;
|
let hidden_debug_artifacts = `\n\n <details><summary>Only for Developers</summary>\n`;
|
||||||
for (const art of artifacts) {
|
for (const art of artifacts) {
|
||||||
if(art.name.includes('Debug')) {
|
if(art.name.includes('Debug')) {
|
||||||
hidden_debug_artifacts += `\n* [${art.name}](https://nightly.link/${owner}/${repo}/actions/artifacts/${art.id}.zip)`;
|
hidden_debug_artifacts += `\n* [${art.name}](https://nightly.link/${owner}/${repo}/actions/artifacts/${art.id}.zip)`;
|
||||||
} else if(art.name.includes('nogui-ryujinx')) {
|
} else if(art.name.includes('sdl2-ryujinx-headless')) {
|
||||||
hidden_headless_artifacts += `\n* [${art.name}](https://nightly.link/${owner}/${repo}/actions/artifacts/${art.id}.zip)`;
|
hidden_headless_artifacts += `\n* [${art.name}](https://nightly.link/${owner}/${repo}/actions/artifacts/${art.id}.zip)`;
|
||||||
} else {
|
} else {
|
||||||
body += `\n* [${art.name}](https://nightly.link/${owner}/${repo}/actions/artifacts/${art.id}.zip)`;
|
body += `\n* [${art.name}](https://nightly.link/${owner}/${repo}/actions/artifacts/${art.id}.zip)`;
|
||||||
|
|||||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -115,7 +115,7 @@ jobs:
|
|||||||
|
|
||||||
pushd publish_sdl2_headless
|
pushd publish_sdl2_headless
|
||||||
rm libarmeilleure-jitsupport.dylib
|
rm libarmeilleure-jitsupport.dylib
|
||||||
7z a ../release_output/nogui-ryujinx-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.zip ../publish
|
7z a ../release_output/sdl2-ryujinx-headless-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.zip ../publish
|
||||||
popd
|
popd
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@ jobs:
|
|||||||
|
|
||||||
pushd publish_sdl2_headless
|
pushd publish_sdl2_headless
|
||||||
chmod +x Ryujinx.sh Ryujinx.Headless.SDL2
|
chmod +x Ryujinx.sh Ryujinx.Headless.SDL2
|
||||||
tar -czvf ../release_output/nogui-ryujinx-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.tar.gz ../publish
|
tar -czvf ../release_output/sdl2-ryujinx-headless-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.tar.gz ../publish
|
||||||
popd
|
popd
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
@@ -231,11 +231,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish macOS Ryujinx
|
- name: Publish macOS Ryujinx
|
||||||
run: |
|
run: |
|
||||||
./distribution/macos/create_macos_build_ava.sh . publish_tmp_ava publish ./distribution/macos/entitlements.xml "${{ steps.version_info.outputs.build_version }}" "${{ steps.version_info.outputs.git_short_hash }}" Release 0
|
./distribution/macos/create_macos_build_ava.sh . publish_tmp_ava publish ./distribution/macos/entitlements.xml "${{ steps.version_info.outputs.build_version }}" "${{ steps.version_info.outputs.git_short_hash }}" Release
|
||||||
|
|
||||||
- name: Publish macOS Ryujinx.Headless.SDL2
|
- name: Publish macOS Ryujinx.Headless.SDL2
|
||||||
run: |
|
run: |
|
||||||
./distribution/macos/create_macos_build_headless.sh . publish_tmp_headless publish_headless ./distribution/macos/entitlements.xml "${{ steps.version_info.outputs.build_version }}" "${{ steps.version_info.outputs.git_short_hash }}" Release 0
|
./distribution/macos/create_macos_build_headless.sh . publish_tmp_headless publish_headless ./distribution/macos/entitlements.xml "${{ steps.version_info.outputs.build_version }}" "${{ steps.version_info.outputs.git_short_hash }}" Release
|
||||||
|
|
||||||
- name: Pushing new release
|
- name: Pushing new release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
<PackageVersion Include="Ryujinx.Graphics.Nvdec.Dependencies" Version="5.0.3-build14" />
|
<PackageVersion Include="Ryujinx.Graphics.Nvdec.Dependencies" Version="5.0.3-build14" />
|
||||||
<PackageVersion Include="Ryujinx.Graphics.Vulkan.Dependencies.MoltenVK" Version="1.2.0" />
|
<PackageVersion Include="Ryujinx.Graphics.Vulkan.Dependencies.MoltenVK" Version="1.2.0" />
|
||||||
<PackageVersion Include="Ryujinx.SDL2-CS" Version="2.30.0-build32" />
|
<PackageVersion Include="Ryujinx.SDL2-CS" Version="2.30.0-build32" />
|
||||||
<PackageVersion Include="Gommon" Version="2.6.6" />
|
<PackageVersion Include="Gommon" Version="2.6.5" />
|
||||||
<PackageVersion Include="securifybv.ShellLink" Version="0.1.0" />
|
<PackageVersion Include="securifybv.ShellLink" Version="0.1.0" />
|
||||||
<PackageVersion Include="shaderc.net" Version="0.1.0" />
|
<PackageVersion Include="shaderc.net" Version="0.1.0" />
|
||||||
<PackageVersion Include="SharpZipLib" Version="1.4.2" />
|
<PackageVersion Include="SharpZipLib" Version="1.4.2" />
|
||||||
@@ -52,4 +52,4 @@
|
|||||||
<PackageVersion Include="System.Management" Version="8.0.0" />
|
<PackageVersion Include="System.Management" Version="8.0.0" />
|
||||||
<PackageVersion Include="UnicornEngine.Unicorn" Version="2.0.2-rc1-fb78016" />
|
<PackageVersion Include="UnicornEngine.Unicorn" Version="2.0.2-rc1-fb78016" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
Guides and documentation can be found on the <a href="https://github.com/GreemDev/Ryujinx/wiki">Wiki tab</a>.
|
Guides and documentation can be found on the <a href="https://github.com/GreemDev/Ryujinx/wiki">Wiki tab</a>.
|
||||||
</p>
|
</p>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
If you would like a more preservative fork of Ryujinx, check out <a href="https://github.com/ryujinx-mirror/ryujinx">ryujinx-mirror</a>.
|
If you would like a version more preservative fork of Ryujinx, check out <a href="https://github.com/ryujinx-mirror/ryujinx">ryujinx-mirror</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ "$#" -lt 8 ]; then
|
if [ "$#" -lt 7 ]; then
|
||||||
echo "usage <BASE_DIR> <TEMP_DIRECTORY> <OUTPUT_DIRECTORY> <ENTITLEMENTS_FILE_PATH> <VERSION> <SOURCE_REVISION_ID> <CONFIGURATION> <CANARY>"
|
echo "usage <BASE_DIR> <TEMP_DIRECTORY> <OUTPUT_DIRECTORY> <ENTITLEMENTS_FILE_PATH> <VERSION> <SOURCE_REVISION_ID> <CONFIGURATION> <EXTRA_ARGS>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -18,11 +18,10 @@ ENTITLEMENTS_FILE_PATH=$(readlink -f "$4")
|
|||||||
VERSION=$5
|
VERSION=$5
|
||||||
SOURCE_REVISION_ID=$6
|
SOURCE_REVISION_ID=$6
|
||||||
CONFIGURATION=$7
|
CONFIGURATION=$7
|
||||||
CANARY=$8
|
EXTRA_ARGS=$8
|
||||||
|
|
||||||
if [ "$CANARY" == "1" ]; then
|
if [ "$VERSION" == "1.1.0" ];
|
||||||
RELEASE_TAR_FILE_NAME=ryujinx-canary-$VERSION-macos_universal.app.tar
|
then
|
||||||
elif [ "$VERSION" == "1.1.0" ]; then
|
|
||||||
RELEASE_TAR_FILE_NAME=ryujinx-$CONFIGURATION-$VERSION+$SOURCE_REVISION_ID-macos_universal.app.tar
|
RELEASE_TAR_FILE_NAME=ryujinx-$CONFIGURATION-$VERSION+$SOURCE_REVISION_ID-macos_universal.app.tar
|
||||||
else
|
else
|
||||||
RELEASE_TAR_FILE_NAME=ryujinx-$VERSION-macos_universal.app.tar
|
RELEASE_TAR_FILE_NAME=ryujinx-$VERSION-macos_universal.app.tar
|
||||||
@@ -62,7 +61,7 @@ mkdir -p "$OUTPUT_DIRECTORY"
|
|||||||
cp -R "$ARM64_APP_BUNDLE" "$UNIVERSAL_APP_BUNDLE"
|
cp -R "$ARM64_APP_BUNDLE" "$UNIVERSAL_APP_BUNDLE"
|
||||||
rm "$UNIVERSAL_APP_BUNDLE/$EXECUTABLE_SUB_PATH"
|
rm "$UNIVERSAL_APP_BUNDLE/$EXECUTABLE_SUB_PATH"
|
||||||
|
|
||||||
# Make its libraries universal
|
# Make it libraries universal
|
||||||
python3 "$BASE_DIR/distribution/macos/construct_universal_dylib.py" "$ARM64_APP_BUNDLE" "$X64_APP_BUNDLE" "$UNIVERSAL_APP_BUNDLE" "**/*.dylib"
|
python3 "$BASE_DIR/distribution/macos/construct_universal_dylib.py" "$ARM64_APP_BUNDLE" "$X64_APP_BUNDLE" "$UNIVERSAL_APP_BUNDLE" "**/*.dylib"
|
||||||
|
|
||||||
if ! [ -x "$(command -v lipo)" ];
|
if ! [ -x "$(command -v lipo)" ];
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ "$#" -lt 8 ]; then
|
if [ "$#" -lt 7 ]; then
|
||||||
echo "usage <BASE_DIR> <TEMP_DIRECTORY> <OUTPUT_DIRECTORY> <ENTITLEMENTS_FILE_PATH> <VERSION> <SOURCE_REVISION_ID> <CONFIGURATION> <CANARY>"
|
echo "usage <BASE_DIR> <TEMP_DIRECTORY> <OUTPUT_DIRECTORY> <ENTITLEMENTS_FILE_PATH> <VERSION> <SOURCE_REVISION_ID> <CONFIGURATION> <EXTRA_ARGS>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -18,14 +18,13 @@ ENTITLEMENTS_FILE_PATH=$(readlink -f "$4")
|
|||||||
VERSION=$5
|
VERSION=$5
|
||||||
SOURCE_REVISION_ID=$6
|
SOURCE_REVISION_ID=$6
|
||||||
CONFIGURATION=$7
|
CONFIGURATION=$7
|
||||||
CANARY=$8
|
EXTRA_ARGS=$8
|
||||||
|
|
||||||
if [ "$CANARY" == "1" ]; then
|
if [ "$VERSION" == "1.1.0" ];
|
||||||
RELEASE_TAR_FILE_NAME=nogui-ryujinx-canary-$VERSION-macos_universal.tar
|
then
|
||||||
elif [ "$VERSION" == "1.1.0" ]; then
|
RELEASE_TAR_FILE_NAME=sdl2-ryujinx-headless-$CONFIGURATION-$VERSION+$SOURCE_REVISION_ID-macos_universal.tar
|
||||||
RELEASE_TAR_FILE_NAME=nogui-ryujinx-$CONFIGURATION-$VERSION+$SOURCE_REVISION_ID-macos_universal.tar
|
|
||||||
else
|
else
|
||||||
RELEASE_TAR_FILE_NAME=nogui-ryujinx-$VERSION-macos_universal.tar
|
RELEASE_TAR_FILE_NAME=sdl2-ryujinx-headless-$VERSION-macos_universal.tar
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ARM64_OUTPUT="$TEMP_DIRECTORY/publish_arm64"
|
ARM64_OUTPUT="$TEMP_DIRECTORY/publish_arm64"
|
||||||
@@ -57,7 +56,7 @@ mkdir -p "$OUTPUT_DIRECTORY"
|
|||||||
cp -R "$ARM64_OUTPUT/" "$UNIVERSAL_OUTPUT"
|
cp -R "$ARM64_OUTPUT/" "$UNIVERSAL_OUTPUT"
|
||||||
rm "$UNIVERSAL_OUTPUT/$EXECUTABLE_SUB_PATH"
|
rm "$UNIVERSAL_OUTPUT/$EXECUTABLE_SUB_PATH"
|
||||||
|
|
||||||
# Make its libraries universal
|
# Make it libraries universal
|
||||||
python3 "$BASE_DIR/distribution/macos/construct_universal_dylib.py" "$ARM64_OUTPUT" "$X64_OUTPUT" "$UNIVERSAL_OUTPUT" "**/*.dylib"
|
python3 "$BASE_DIR/distribution/macos/construct_universal_dylib.py" "$ARM64_OUTPUT" "$X64_OUTPUT" "$UNIVERSAL_OUTPUT" "**/*.dylib"
|
||||||
|
|
||||||
if ! [ -x "$(command -v lipo)" ];
|
if ! [ -x "$(command -v lipo)" ];
|
||||||
|
|||||||
@@ -69,10 +69,9 @@ namespace Ryujinx.Common.Logging.Targets
|
|||||||
}
|
}
|
||||||
|
|
||||||
string version = ReleaseInformation.Version;
|
string version = ReleaseInformation.Version;
|
||||||
string appName = ReleaseInformation.IsCanaryBuild ? "Ryujinx_Canary" : "Ryujinx";
|
|
||||||
|
|
||||||
// Get path for the current time
|
// Get path for the current time
|
||||||
path = Path.Combine(logDir.FullName, $"{appName}_{version}_{DateTime.Now:yyyy-MM-dd_HH-mm-ss}.log");
|
path = Path.Combine(logDir.FullName, $"Ryujinx_{version}_{DateTime.Now:yyyy-MM-dd_HH-mm-ss}.log");
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
using System;
|
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
namespace Ryujinx.Common
|
namespace Ryujinx.Common
|
||||||
@@ -36,13 +35,5 @@ namespace Ryujinx.Common
|
|||||||
public static bool IsReleaseBuild => IsValid && ReleaseChannelName.Equals(ReleaseChannel);
|
public static bool IsReleaseBuild => IsValid && ReleaseChannelName.Equals(ReleaseChannel);
|
||||||
|
|
||||||
public static string Version => IsValid ? BuildVersion : Assembly.GetEntryAssembly()!.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion;
|
public static string Version => IsValid ? BuildVersion : Assembly.GetEntryAssembly()!.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion;
|
||||||
|
|
||||||
public static string GetChangelogUrl(Version currentVersion, Version newVersion) =>
|
|
||||||
IsCanaryBuild
|
|
||||||
? $"https://github.com/{ReleaseChannelOwner}/{ReleaseChannelSourceRepo}/compare/Canary-{currentVersion}...Canary-{newVersion}"
|
|
||||||
: $"https://github.com/{ReleaseChannelOwner}/{ReleaseChannelSourceRepo}/releases/tag/{newVersion}";
|
|
||||||
|
|
||||||
public static string GetChangelogForVersion(Version version) =>
|
|
||||||
$"https://github.com/{ReleaseChannelOwner}/{ReleaseChannelRepo}/releases/tag/{version}";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "جاري استخراج التحديث...",
|
"DialogUpdaterExtractionMessage": "جاري استخراج التحديث...",
|
||||||
"DialogUpdaterRenamingMessage": "إعادة تسمية التحديث...",
|
"DialogUpdaterRenamingMessage": "إعادة تسمية التحديث...",
|
||||||
"DialogUpdaterAddingFilesMessage": "إضافة تحديث جديد...",
|
"DialogUpdaterAddingFilesMessage": "إضافة تحديث جديد...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "اكتمل التحديث",
|
"DialogUpdaterCompleteMessage": "اكتمل التحديث",
|
||||||
"DialogUpdaterRestartMessage": "هل تريد إعادة تشغيل ريوجينكس الآن؟",
|
"DialogUpdaterRestartMessage": "هل تريد إعادة تشغيل ريوجينكس الآن؟",
|
||||||
"DialogUpdaterNoInternetMessage": "أنت غير متصل بالإنترنت.",
|
"DialogUpdaterNoInternetMessage": "أنت غير متصل بالإنترنت.",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "Update wird entpackt...",
|
"DialogUpdaterExtractionMessage": "Update wird entpackt...",
|
||||||
"DialogUpdaterRenamingMessage": "Update wird umbenannt...",
|
"DialogUpdaterRenamingMessage": "Update wird umbenannt...",
|
||||||
"DialogUpdaterAddingFilesMessage": "Update wird hinzugefügt...",
|
"DialogUpdaterAddingFilesMessage": "Update wird hinzugefügt...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "Update abgeschlossen!",
|
"DialogUpdaterCompleteMessage": "Update abgeschlossen!",
|
||||||
"DialogUpdaterRestartMessage": "Ryujinx jetzt neu starten?",
|
"DialogUpdaterRestartMessage": "Ryujinx jetzt neu starten?",
|
||||||
"DialogUpdaterNoInternetMessage": "Es besteht keine Verbindung mit dem Internet!",
|
"DialogUpdaterNoInternetMessage": "Es besteht keine Verbindung mit dem Internet!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "Εξαγωγή Ενημέρωσης...",
|
"DialogUpdaterExtractionMessage": "Εξαγωγή Ενημέρωσης...",
|
||||||
"DialogUpdaterRenamingMessage": "Μετονομασία Ενημέρωσης...",
|
"DialogUpdaterRenamingMessage": "Μετονομασία Ενημέρωσης...",
|
||||||
"DialogUpdaterAddingFilesMessage": "Προσθήκη Νέας Ενημέρωσης...",
|
"DialogUpdaterAddingFilesMessage": "Προσθήκη Νέας Ενημέρωσης...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "Η Ενημέρωση Ολοκληρώθηκε!",
|
"DialogUpdaterCompleteMessage": "Η Ενημέρωση Ολοκληρώθηκε!",
|
||||||
"DialogUpdaterRestartMessage": "Θέλετε να επανεκκινήσετε το Ryujinx τώρα;",
|
"DialogUpdaterRestartMessage": "Θέλετε να επανεκκινήσετε το Ryujinx τώρα;",
|
||||||
"DialogUpdaterNoInternetMessage": "Δεν είστε συνδεδεμένοι στο Διαδίκτυο!",
|
"DialogUpdaterNoInternetMessage": "Δεν είστε συνδεδεμένοι στο Διαδίκτυο!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "Extracting Update...",
|
"DialogUpdaterExtractionMessage": "Extracting Update...",
|
||||||
"DialogUpdaterRenamingMessage": "Renaming Update...",
|
"DialogUpdaterRenamingMessage": "Renaming Update...",
|
||||||
"DialogUpdaterAddingFilesMessage": "Adding New Update...",
|
"DialogUpdaterAddingFilesMessage": "Adding New Update...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "Update Complete!",
|
"DialogUpdaterCompleteMessage": "Update Complete!",
|
||||||
"DialogUpdaterRestartMessage": "Do you want to restart Ryujinx now?",
|
"DialogUpdaterRestartMessage": "Do you want to restart Ryujinx now?",
|
||||||
"DialogUpdaterNoInternetMessage": "You are not connected to the Internet!",
|
"DialogUpdaterNoInternetMessage": "You are not connected to the Internet!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "Extrayendo actualización...",
|
"DialogUpdaterExtractionMessage": "Extrayendo actualización...",
|
||||||
"DialogUpdaterRenamingMessage": "Renombrando actualización...",
|
"DialogUpdaterRenamingMessage": "Renombrando actualización...",
|
||||||
"DialogUpdaterAddingFilesMessage": "Aplicando actualización...",
|
"DialogUpdaterAddingFilesMessage": "Aplicando actualización...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "¡Actualización completa!",
|
"DialogUpdaterCompleteMessage": "¡Actualización completa!",
|
||||||
"DialogUpdaterRestartMessage": "¿Quieres reiniciar Ryujinx?",
|
"DialogUpdaterRestartMessage": "¿Quieres reiniciar Ryujinx?",
|
||||||
"DialogUpdaterNoInternetMessage": "¡No estás conectado a internet!",
|
"DialogUpdaterNoInternetMessage": "¡No estás conectado a internet!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "Extraction de la mise à jour…",
|
"DialogUpdaterExtractionMessage": "Extraction de la mise à jour…",
|
||||||
"DialogUpdaterRenamingMessage": "Renommage de la mise à jour...",
|
"DialogUpdaterRenamingMessage": "Renommage de la mise à jour...",
|
||||||
"DialogUpdaterAddingFilesMessage": "Ajout d'une nouvelle mise à jour...",
|
"DialogUpdaterAddingFilesMessage": "Ajout d'une nouvelle mise à jour...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "Mise à jour terminée !",
|
"DialogUpdaterCompleteMessage": "Mise à jour terminée !",
|
||||||
"DialogUpdaterRestartMessage": "Voulez-vous redémarrer Ryujinx maintenant ?",
|
"DialogUpdaterRestartMessage": "Voulez-vous redémarrer Ryujinx maintenant ?",
|
||||||
"DialogUpdaterNoInternetMessage": "Vous n'êtes pas connecté à Internet !",
|
"DialogUpdaterNoInternetMessage": "Vous n'êtes pas connecté à Internet !",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "מחלץ עדכון...",
|
"DialogUpdaterExtractionMessage": "מחלץ עדכון...",
|
||||||
"DialogUpdaterRenamingMessage": "משנה את שם העדכון...",
|
"DialogUpdaterRenamingMessage": "משנה את שם העדכון...",
|
||||||
"DialogUpdaterAddingFilesMessage": "מוסיף עדכון חדש...",
|
"DialogUpdaterAddingFilesMessage": "מוסיף עדכון חדש...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "העדכון הושלם!",
|
"DialogUpdaterCompleteMessage": "העדכון הושלם!",
|
||||||
"DialogUpdaterRestartMessage": "האם אתם רוצים להפעיל מחדש את ריוג'ינקס עכשיו?",
|
"DialogUpdaterRestartMessage": "האם אתם רוצים להפעיל מחדש את ריוג'ינקס עכשיו?",
|
||||||
"DialogUpdaterNoInternetMessage": "אתם לא מחוברים לאינטרנט!",
|
"DialogUpdaterNoInternetMessage": "אתם לא מחוברים לאינטרנט!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "Estrazione dell'aggiornamento...",
|
"DialogUpdaterExtractionMessage": "Estrazione dell'aggiornamento...",
|
||||||
"DialogUpdaterRenamingMessage": "Rinominazione dell'aggiornamento...",
|
"DialogUpdaterRenamingMessage": "Rinominazione dell'aggiornamento...",
|
||||||
"DialogUpdaterAddingFilesMessage": "Aggiunta del nuovo aggiornamento...",
|
"DialogUpdaterAddingFilesMessage": "Aggiunta del nuovo aggiornamento...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "Aggiornamento completato!",
|
"DialogUpdaterCompleteMessage": "Aggiornamento completato!",
|
||||||
"DialogUpdaterRestartMessage": "Vuoi riavviare Ryujinx adesso?",
|
"DialogUpdaterRestartMessage": "Vuoi riavviare Ryujinx adesso?",
|
||||||
"DialogUpdaterNoInternetMessage": "Non sei connesso ad Internet!",
|
"DialogUpdaterNoInternetMessage": "Non sei connesso ad Internet!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "アップデートを展開中...",
|
"DialogUpdaterExtractionMessage": "アップデートを展開中...",
|
||||||
"DialogUpdaterRenamingMessage": "アップデートをリネーム中...",
|
"DialogUpdaterRenamingMessage": "アップデートをリネーム中...",
|
||||||
"DialogUpdaterAddingFilesMessage": "新規アップデートを追加中...",
|
"DialogUpdaterAddingFilesMessage": "新規アップデートを追加中...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "アップデート完了!",
|
"DialogUpdaterCompleteMessage": "アップデート完了!",
|
||||||
"DialogUpdaterRestartMessage": "すぐに Ryujinx を再起動しますか?",
|
"DialogUpdaterRestartMessage": "すぐに Ryujinx を再起動しますか?",
|
||||||
"DialogUpdaterNoInternetMessage": "インターネットに接続されていません!",
|
"DialogUpdaterNoInternetMessage": "インターネットに接続されていません!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "업데이트 추출 중...",
|
"DialogUpdaterExtractionMessage": "업데이트 추출 중...",
|
||||||
"DialogUpdaterRenamingMessage": "이름 변경 업데이트...",
|
"DialogUpdaterRenamingMessage": "이름 변경 업데이트...",
|
||||||
"DialogUpdaterAddingFilesMessage": "새 업데이트 추가 중...",
|
"DialogUpdaterAddingFilesMessage": "새 업데이트 추가 중...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "업데이트가 완료되었습니다!",
|
"DialogUpdaterCompleteMessage": "업데이트가 완료되었습니다!",
|
||||||
"DialogUpdaterRestartMessage": "지금 Ryujinx를 다시 시작하시겠습니까?",
|
"DialogUpdaterRestartMessage": "지금 Ryujinx를 다시 시작하시겠습니까?",
|
||||||
"DialogUpdaterNoInternetMessage": "인터넷에 연결되어 있지 않습니다!",
|
"DialogUpdaterNoInternetMessage": "인터넷에 연결되어 있지 않습니다!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "Wypakowywanie Aktualizacji...",
|
"DialogUpdaterExtractionMessage": "Wypakowywanie Aktualizacji...",
|
||||||
"DialogUpdaterRenamingMessage": "Zmiana Nazwy Aktualizacji...",
|
"DialogUpdaterRenamingMessage": "Zmiana Nazwy Aktualizacji...",
|
||||||
"DialogUpdaterAddingFilesMessage": "Dodawanie Nowej Aktualizacji...",
|
"DialogUpdaterAddingFilesMessage": "Dodawanie Nowej Aktualizacji...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "Aktualizacja Zakończona!",
|
"DialogUpdaterCompleteMessage": "Aktualizacja Zakończona!",
|
||||||
"DialogUpdaterRestartMessage": "Czy chcesz teraz zrestartować Ryujinx?",
|
"DialogUpdaterRestartMessage": "Czy chcesz teraz zrestartować Ryujinx?",
|
||||||
"DialogUpdaterNoInternetMessage": "Nie masz połączenia z Internetem!",
|
"DialogUpdaterNoInternetMessage": "Nie masz połączenia z Internetem!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "Extraindo atualização...",
|
"DialogUpdaterExtractionMessage": "Extraindo atualização...",
|
||||||
"DialogUpdaterRenamingMessage": "Renomeando atualização...",
|
"DialogUpdaterRenamingMessage": "Renomeando atualização...",
|
||||||
"DialogUpdaterAddingFilesMessage": "Adicionando nova atualização...",
|
"DialogUpdaterAddingFilesMessage": "Adicionando nova atualização...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "Atualização concluída!",
|
"DialogUpdaterCompleteMessage": "Atualização concluída!",
|
||||||
"DialogUpdaterRestartMessage": "Deseja reiniciar o Ryujinx agora?",
|
"DialogUpdaterRestartMessage": "Deseja reiniciar o Ryujinx agora?",
|
||||||
"DialogUpdaterNoInternetMessage": "Você não está conectado à Internet!",
|
"DialogUpdaterNoInternetMessage": "Você não está conectado à Internet!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "Извлечение обновления...",
|
"DialogUpdaterExtractionMessage": "Извлечение обновления...",
|
||||||
"DialogUpdaterRenamingMessage": "Переименование обновления...",
|
"DialogUpdaterRenamingMessage": "Переименование обновления...",
|
||||||
"DialogUpdaterAddingFilesMessage": "Добавление нового обновления...",
|
"DialogUpdaterAddingFilesMessage": "Добавление нового обновления...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "Обновление завершено",
|
"DialogUpdaterCompleteMessage": "Обновление завершено",
|
||||||
"DialogUpdaterRestartMessage": "Перезапустить Ryujinx?",
|
"DialogUpdaterRestartMessage": "Перезапустить Ryujinx?",
|
||||||
"DialogUpdaterNoInternetMessage": "Вы не подключены к интернету",
|
"DialogUpdaterNoInternetMessage": "Вы не подключены к интернету",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "กำลังแตกไฟล์อัปเดต...",
|
"DialogUpdaterExtractionMessage": "กำลังแตกไฟล์อัปเดต...",
|
||||||
"DialogUpdaterRenamingMessage": "กำลังลบไฟล์เก่า...",
|
"DialogUpdaterRenamingMessage": "กำลังลบไฟล์เก่า...",
|
||||||
"DialogUpdaterAddingFilesMessage": "กำลังเพิ่มไฟล์อัปเดตใหม่...",
|
"DialogUpdaterAddingFilesMessage": "กำลังเพิ่มไฟล์อัปเดตใหม่...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "อัปเดตเสร็จสมบูรณ์แล้ว!",
|
"DialogUpdaterCompleteMessage": "อัปเดตเสร็จสมบูรณ์แล้ว!",
|
||||||
"DialogUpdaterRestartMessage": "คุณต้องการรีสตาร์ท Ryujinx ตอนนี้หรือไม่?",
|
"DialogUpdaterRestartMessage": "คุณต้องการรีสตาร์ท Ryujinx ตอนนี้หรือไม่?",
|
||||||
"DialogUpdaterNoInternetMessage": "คุณไม่ได้เชื่อมต่อกับอินเทอร์เน็ต!",
|
"DialogUpdaterNoInternetMessage": "คุณไม่ได้เชื่อมต่อกับอินเทอร์เน็ต!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "Güncelleme Ayıklanıyor...",
|
"DialogUpdaterExtractionMessage": "Güncelleme Ayıklanıyor...",
|
||||||
"DialogUpdaterRenamingMessage": "Güncelleme Yeniden Adlandırılıyor...",
|
"DialogUpdaterRenamingMessage": "Güncelleme Yeniden Adlandırılıyor...",
|
||||||
"DialogUpdaterAddingFilesMessage": "Yeni Güncelleme Ekleniyor...",
|
"DialogUpdaterAddingFilesMessage": "Yeni Güncelleme Ekleniyor...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "Güncelleme Tamamlandı!",
|
"DialogUpdaterCompleteMessage": "Güncelleme Tamamlandı!",
|
||||||
"DialogUpdaterRestartMessage": "Ryujinx'i şimdi yeniden başlatmak istiyor musunuz?",
|
"DialogUpdaterRestartMessage": "Ryujinx'i şimdi yeniden başlatmak istiyor musunuz?",
|
||||||
"DialogUpdaterNoInternetMessage": "İnternete bağlı değilsiniz!",
|
"DialogUpdaterNoInternetMessage": "İnternete bağlı değilsiniz!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "Видобування оновлення...",
|
"DialogUpdaterExtractionMessage": "Видобування оновлення...",
|
||||||
"DialogUpdaterRenamingMessage": "Перейменування оновлення...",
|
"DialogUpdaterRenamingMessage": "Перейменування оновлення...",
|
||||||
"DialogUpdaterAddingFilesMessage": "Додавання нового оновлення...",
|
"DialogUpdaterAddingFilesMessage": "Додавання нового оновлення...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "Оновлення завершено!",
|
"DialogUpdaterCompleteMessage": "Оновлення завершено!",
|
||||||
"DialogUpdaterRestartMessage": "Перезапустити Ryujinx зараз?",
|
"DialogUpdaterRestartMessage": "Перезапустити Ryujinx зараз?",
|
||||||
"DialogUpdaterNoInternetMessage": "Ви не підключені до Інтернету!",
|
"DialogUpdaterNoInternetMessage": "Ви не підключені до Інтернету!",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "正在提取更新...",
|
"DialogUpdaterExtractionMessage": "正在提取更新...",
|
||||||
"DialogUpdaterRenamingMessage": "正在重命名更新...",
|
"DialogUpdaterRenamingMessage": "正在重命名更新...",
|
||||||
"DialogUpdaterAddingFilesMessage": "安装更新中...",
|
"DialogUpdaterAddingFilesMessage": "安装更新中...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "更新成功!",
|
"DialogUpdaterCompleteMessage": "更新成功!",
|
||||||
"DialogUpdaterRestartMessage": "是否立即重启 Ryujinx 模拟器?",
|
"DialogUpdaterRestartMessage": "是否立即重启 Ryujinx 模拟器?",
|
||||||
"DialogUpdaterNoInternetMessage": "没有连接到网络",
|
"DialogUpdaterNoInternetMessage": "没有连接到网络",
|
||||||
|
|||||||
@@ -457,7 +457,6 @@
|
|||||||
"DialogUpdaterExtractionMessage": "正在提取更新...",
|
"DialogUpdaterExtractionMessage": "正在提取更新...",
|
||||||
"DialogUpdaterRenamingMessage": "重新命名更新...",
|
"DialogUpdaterRenamingMessage": "重新命名更新...",
|
||||||
"DialogUpdaterAddingFilesMessage": "加入新更新...",
|
"DialogUpdaterAddingFilesMessage": "加入新更新...",
|
||||||
"DialogUpdaterShowChangelogMessage": "Show Changelog",
|
|
||||||
"DialogUpdaterCompleteMessage": "更新成功!",
|
"DialogUpdaterCompleteMessage": "更新成功!",
|
||||||
"DialogUpdaterRestartMessage": "您現在要重新啟動 Ryujinx 嗎?",
|
"DialogUpdaterRestartMessage": "您現在要重新啟動 Ryujinx 嗎?",
|
||||||
"DialogUpdaterNoInternetMessage": "您沒有連線到網際網路!",
|
"DialogUpdaterNoInternetMessage": "您沒有連線到網際網路!",
|
||||||
|
|||||||
@@ -261,16 +261,6 @@ namespace Ryujinx.Ava.UI.Helpers
|
|||||||
string.Empty,
|
string.Empty,
|
||||||
LocaleManager.Instance[LocaleKeys.InputDialogOk],
|
LocaleManager.Instance[LocaleKeys.InputDialogOk],
|
||||||
(int)Symbol.Important);
|
(int)Symbol.Important);
|
||||||
|
|
||||||
internal static async Task<UserResult> CreateUpdaterUpToDateInfoDialog(string primary, string secondaryText)
|
|
||||||
=> await ShowTextDialog(
|
|
||||||
LocaleManager.Instance[LocaleKeys.DialogUpdaterTitle],
|
|
||||||
primary,
|
|
||||||
secondaryText,
|
|
||||||
LocaleManager.Instance[LocaleKeys.DialogUpdaterShowChangelogMessage],
|
|
||||||
string.Empty,
|
|
||||||
LocaleManager.Instance[LocaleKeys.InputDialogOk],
|
|
||||||
(int)Symbol.Important);
|
|
||||||
|
|
||||||
internal static async Task CreateWarningDialog(string primary, string secondaryText)
|
internal static async Task CreateWarningDialog(string primary, string secondaryText)
|
||||||
=> await ShowTextDialog(
|
=> await ShowTextDialog(
|
||||||
@@ -319,30 +309,6 @@ namespace Ryujinx.Ava.UI.Helpers
|
|||||||
|
|
||||||
return response == UserResult.Yes;
|
return response == UserResult.Yes;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static async Task<UserResult> CreateUpdaterChoiceDialog(string title, string primary, string secondaryText)
|
|
||||||
{
|
|
||||||
if (_isChoiceDialogOpen)
|
|
||||||
{
|
|
||||||
return UserResult.Cancel;
|
|
||||||
}
|
|
||||||
|
|
||||||
_isChoiceDialogOpen = true;
|
|
||||||
|
|
||||||
UserResult response = await ShowTextDialog(
|
|
||||||
title,
|
|
||||||
primary,
|
|
||||||
secondaryText,
|
|
||||||
LocaleManager.Instance[LocaleKeys.InputDialogYes],
|
|
||||||
LocaleManager.Instance[LocaleKeys.DialogUpdaterShowChangelogMessage],
|
|
||||||
LocaleManager.Instance[LocaleKeys.InputDialogNo],
|
|
||||||
(int)Symbol.Help,
|
|
||||||
UserResult.Yes);
|
|
||||||
|
|
||||||
_isChoiceDialogOpen = false;
|
|
||||||
|
|
||||||
return response;
|
|
||||||
}
|
|
||||||
|
|
||||||
internal static async Task<bool> CreateExitDialog()
|
internal static async Task<bool> CreateExitDialog()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
|
|
||||||
public AboutWindowViewModel()
|
public AboutWindowViewModel()
|
||||||
{
|
{
|
||||||
Version = App.FullAppName + "\n" + Program.Version;
|
Version = Program.Version;
|
||||||
UpdateLogoTheme(ConfigurationState.Instance.UI.BaseStyle.Value);
|
UpdateLogoTheme(ConfigurationState.Instance.UI.BaseStyle.Value);
|
||||||
|
|
||||||
ThemeManager.ThemeChanged += ThemeManager_ThemeChanged;
|
ThemeManager.ThemeChanged += ThemeManager_ThemeChanged;
|
||||||
|
|||||||
@@ -176,14 +176,9 @@ namespace Ryujinx.Ava
|
|||||||
{
|
{
|
||||||
if (showVersionUpToDate)
|
if (showVersionUpToDate)
|
||||||
{
|
{
|
||||||
UserResult userResult = await ContentDialogHelper.CreateUpdaterUpToDateInfoDialog(
|
await ContentDialogHelper.CreateUpdaterInfoDialog(
|
||||||
LocaleManager.Instance[LocaleKeys.DialogUpdaterAlreadyOnLatestVersionMessage],
|
LocaleManager.Instance[LocaleKeys.DialogUpdaterAlreadyOnLatestVersionMessage],
|
||||||
string.Empty);
|
string.Empty);
|
||||||
|
|
||||||
if (userResult is UserResult.Ok)
|
|
||||||
{
|
|
||||||
OpenHelper.OpenUrl(ReleaseInformation.GetChangelogForVersion(currentVersion));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_running = false;
|
_running = false;
|
||||||
@@ -211,29 +206,19 @@ namespace Ryujinx.Ava
|
|||||||
|
|
||||||
await Dispatcher.UIThread.InvokeAsync(async () =>
|
await Dispatcher.UIThread.InvokeAsync(async () =>
|
||||||
{
|
{
|
||||||
string newVersionString = ReleaseInformation.IsCanaryBuild
|
|
||||||
? $"Canary {currentVersion} -> Canary {newVersion}"
|
|
||||||
: $"{currentVersion} -> {newVersion}";
|
|
||||||
|
|
||||||
RequestUserToUpdate:
|
|
||||||
// Show a message asking the user if they want to update
|
// Show a message asking the user if they want to update
|
||||||
UserResult shouldUpdate = await ContentDialogHelper.CreateUpdaterChoiceDialog(
|
var shouldUpdate = await ContentDialogHelper.CreateChoiceDialog(
|
||||||
LocaleManager.Instance[LocaleKeys.RyujinxUpdater],
|
LocaleManager.Instance[LocaleKeys.RyujinxUpdater],
|
||||||
LocaleManager.Instance[LocaleKeys.RyujinxUpdaterMessage],
|
LocaleManager.Instance[LocaleKeys.RyujinxUpdaterMessage],
|
||||||
newVersionString);
|
$"{Program.Version} -> {newVersion}");
|
||||||
|
|
||||||
switch (shouldUpdate)
|
if (shouldUpdate)
|
||||||
{
|
{
|
||||||
case UserResult.Yes:
|
await UpdateRyujinx(mainWindow, _buildUrl);
|
||||||
await UpdateRyujinx(mainWindow, _buildUrl);
|
}
|
||||||
break;
|
else
|
||||||
// Secondary button maps to no, which in this case is the show changelog button.
|
{
|
||||||
case UserResult.No:
|
_running = false;
|
||||||
OpenHelper.OpenUrl(ReleaseInformation.GetChangelogUrl(currentVersion, newVersion));
|
|
||||||
goto RequestUserToUpdate;
|
|
||||||
default:
|
|
||||||
_running = false;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user