mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-27 21:37:06 +02:00
Checks latest release and opens a dialog containing the changelog, and allow the user to select a specific build to download. After downloading, it prompts the user to open it. On Windows, this just opens up the zip in File Explorer. In the future setup files will be available. On macOS this opens up the DMG in Finder so the user can drag it to the Applications folder. Android retains the auto-update functionality from before, but updated to the new scheme. Body/View on Forgejo are not implemented, that should be in a future PR. Additionally, moved some common httplib incantations to `Common::Net`. This will serve as the common network accessor and JSON parser from here on out. TODO: - [x] android :( - [x] Search for builds based on keywords, with weights towards certain builds (e.g. macOS will search for dmg then tar.gz, windows msvc then mingw/exe then zip, etc.) - [x] remove linux leftovers - [x] don't allow asset selection on platforms w/o assets - [x] nightly changelog should be in the real FUTURE IMPLEMENTATION: - [ ] Body/View on Forgejo for Android - [ ] Setup files for Windows (Eden/nightly are separate) -- maybe portable/setup selector? - [ ] Something else I'm forgetting Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3845
35 lines
1.1 KiB
C++
35 lines
1.1 KiB
C++
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
// SPDX-FileCopyrightText: 2014 Citra Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
namespace Common {
|
|
|
|
extern const char g_scm_rev[];
|
|
extern const char g_scm_branch[];
|
|
extern const char g_scm_desc[];
|
|
extern const char g_build_name[];
|
|
extern const char g_build_date[];
|
|
extern const char g_build_fullname[];
|
|
extern const char g_build_version[];
|
|
extern const char g_build_id[];
|
|
extern const char g_title_bar_format_idle[];
|
|
extern const char g_title_bar_format_running[];
|
|
extern const char g_shader_cache_version[];
|
|
extern const char g_compiler_id[];
|
|
|
|
extern const bool g_is_dev_build;
|
|
extern const bool g_is_nightly_build;
|
|
|
|
extern const char g_build_auto_update_website[];
|
|
extern const char g_build_auto_update_api[];
|
|
extern const char g_build_auto_update_api_path[];
|
|
extern const char g_build_auto_update_repo[];
|
|
extern const char g_build_auto_update_stable_api[];
|
|
extern const char g_build_auto_update_stable_api_path[];
|
|
extern const char g_build_auto_update_stable_repo[];
|
|
|
|
} // namespace Common
|