ci: use prerelease logic (#2553)

This commit is contained in:
ReenigneArcher
2024-05-23 21:42:06 -04:00
committed by GitHub
parent 26ceec5f3c
commit e898be1b7e
26 changed files with 450 additions and 1194 deletions

View File

@@ -462,6 +462,7 @@ namespace config {
47989, // Base port number
"ipv4", // Address family
platf::appdata().string() + "/sunshine.log", // log file
false, // notify_pre_releases
{}, // prep commands
};
@@ -1099,6 +1100,8 @@ namespace config {
bool_f(vars, "high_resolution_scrolling", input.high_resolution_scrolling);
bool_f(vars, "native_pen_touch", input.native_pen_touch);
bool_f(vars, "notify_pre_releases", sunshine.notify_pre_releases);
int port = sunshine.port;
int_between_f(vars, "port"s, port, { 1024 + nvhttp::PORT_HTTPS, 65535 - rtsp_stream::RTSP_SETUP_PORT });
sunshine.port = (std::uint16_t) port;