Compare commits

...

2 Commits

Author SHA1 Message Date
ZoweZilsio
1ec8c713b4 CI: Fix deploy workflow for multiarch macos (#1642) 2025-07-20 23:14:11 +02:00
Exzap
73b1dc1663 UI: Add architecture to auto-updater check 2025-07-20 23:10:13 +02:00
2 changed files with 18 additions and 5 deletions

View File

@@ -95,8 +95,8 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: cemu-bin-macos-x64
path: cemu-bin-macos-x64
pattern: cemu-bin-macos*
path: cemu-macos
- name: Initialize
run: |
@@ -137,7 +137,12 @@ jobs:
rm -r ./${{ env.CEMU_FOLDER_NAME }}
- name: Create release from macos-bin
run: cp cemu-bin-macos-x64/Cemu.dmg upload/cemu-${{ env.CEMU_VERSION }}-macos-12-x64.dmg
run: |
cd cemu-macos
for bin_dir in cemu-bin-macos-*; do
arch="${bin_dir##cemu-bin-macos-}"
cp $bin_dir/Cemu.dmg ../upload/cemu-${{ env.CEMU_VERSION }}-macos-12-$arch.dmg
done
- name: Create release
run: |

View File

@@ -111,14 +111,22 @@ bool CemuUpdateWindow::QueryUpdateInfo(std::string& downloadUrlOut, std::string&
auto* curl = curl_easy_init();
urlStr.append(_curlUrlEscape(curl, BUILD_VERSION_STRING));
#if BOOST_OS_LINUX
urlStr.append("&platform=linux_appimage_x86");
urlStr.append("&platform=linux_appimage");
#elif BOOST_OS_WINDOWS
urlStr.append("&platform=windows");
#elif BOOST_OS_MACOS
urlStr.append("&platform=macos_bundle_x86");
urlStr.append("&platform=macos_bundle");
#elif
#error Name for current platform is missing
#endif
#if defined(__aarch64__)
urlStr.append("_aarch64");
#elif defined(ARCH_X86_64)
urlStr.append("_x86_64");
#else
urlStr.append("_unknown");
#endif
const auto& config = GetWxGUIConfig();
if(config.receive_untested_updates)
urlStr.append("&allowNewUpdates=1");