File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 33#pragma once
44
55#include < core/helper/expected.hpp>
6+ #include < core/helper/types.hpp>
67
78#include " ../helper/windows.hpp"
89
@@ -26,7 +27,8 @@ namespace constants::discord {
2627#elif defined(__CONSOLE__)
2728#error "Not supported"
2829#elif defined(FLATPAK_BUILD)
29- constexpr const char * platform_dependent_launch_arguments = " flatpak run io.github.openbrickprotocolfoundation.oopetris --discord" ;
30+ constexpr const char * platform_dependent_launch_arguments =
31+ " flatpak run io.github.openbrickprotocolfoundation.oopetris --discord" ;
3032#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
3133 constexpr const char * platform_dependent_launch_arguments = " oopetris.exe --discord" ;
3234#elif defined(__APPLE__)
@@ -38,7 +40,7 @@ namespace constants::discord {
3840#endif
3941
4042 // manually synchronized to https://discord.com/developers/applications/1220147916371394650/rich-presence/assets
41- enum class ArtAsset { logo };
43+ enum class ArtAsset : u8 { logo };
4244
4345 OOPETRIS_GRAPHICS_EXPORTED [[nodiscard]] std::string get_asset_key (ArtAsset asset);
4446
Original file line number Diff line number Diff line change @@ -338,6 +338,7 @@ if build_application
338338
339339 discord_sdk_dep = dependency (
340340 ' discord-game-sdk' ,
341+ allow_fallback : true ,
341342 required : not meson .is_cross_build() and get_option (' build_installer' ),
342343 # only with msvc we need a static library, all others work without adding __declspec() everywhere
343344 static : c.get_id() == ' msvc' ,
You can’t perform that action at this time.
0 commit comments