eden-miror/CMakeModules
crueter 676b1aabfc
Some checks are pending
tx-src / sources (push) Waiting to run
Check Strings / check-strings (push) Waiting to run
[frontend] Built-in auto updater (#3845)
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
2026-04-28 20:42:23 +02:00
..
aqt_config.ini Some fixes before Release (#92) 2025-05-08 23:03:52 +00:00
CPM.cmake [cmake, tools] update CPMUtil and add support for CPMUtil bundled Qt, module updates, cleanups (#3289) 2026-01-14 19:29:13 +01:00
CPMUtil.cmake [cmake] CPMUtil: Don't consider system packages if FORCE_BUNDLED is on (#3539) 2026-02-14 03:33:03 +01:00
FindDiscordRPC.cmake [dynarmic, qt] fix build with QuaZip <=1.4 and fmt v9 (#2755) 2025-10-17 04:20:11 +02:00
Findenet.cmake [cmake] allow static MinGW/macOS builds; fix clangarm64 (#2994) 2025-11-11 06:22:33 +01:00
FindFFmpeg.cmake [cmake] account for sysroot when cross compiling for SunOS/FBSD/etc; dynarmic now uses ARCHITECTURE_* from global defs (#2928) 2025-11-03 21:08:48 +01:00
Findgamemode.cmake cmake: prefer system gamemode library 2023-11-30 16:54:00 +01:00
Findhttplib.cmake cmake: support components in find modules 2023-02-28 17:46:20 +01:00
Findlibiw.cmake Add Airplane Mode + Host Network Interface Details (#204) 2025-06-26 18:55:34 +00:00
Findlibusb.cmake [cmake] allow static MinGW/macOS builds; fix clangarm64 (#2994) 2025-11-11 06:22:33 +01:00
FindLLVM.cmake fix LLVM not using current top level src dir (#30) 2025-07-09 01:31:18 +00:00
Findlz4.cmake [cmake] allow static MinGW/macOS builds; fix clangarm64 (#2994) 2025-11-11 06:22:33 +01:00
FindOpus.cmake [cmake] allow static MinGW/macOS builds; fix clangarm64 (#2994) 2025-11-11 06:22:33 +01:00
FindRenderDoc.cmake cmake: prefer system renderdoc header 2023-09-18 18:35:20 +02:00
FindSimpleIni.cmake cmake: support simpleini cmake config and pc file 2024-01-26 01:13:47 +01:00
Findstb.cmake cmake: prefer system stb headers 2023-10-25 21:47:32 +02:00
Findzstd.cmake [bcat/news/web/am] Implement news applet, proper TLV return, external web browser URL and qlaunch app sorting (#3308) 2026-01-17 01:48:15 +01:00
FixMsysPaths.cmake [cmake] allow static MinGW/macOS builds; fix clangarm64 (#2994) 2025-11-11 06:22:33 +01:00
GenerateDepHashes.cmake [cmake, frontend] feat: CPMUtil + dependency viewer (#238) 2025-08-11 22:27:29 +02:00
GenerateSCMRev.cmake [frontend] Built-in auto updater (#3845) 2026-04-28 20:42:23 +02:00
WindowsCopyFiles.cmake [meta] fix license headers (#2547) 2025-09-21 21:58:59 +02:00