fix
This commit is contained in:
1 file changed
+2
-2
@@ -42,8 +42,8 @@ $versions = array_map(function($row) use ($conn) {
|
|||||||
'executables' => array_map(function($platform) use ($row) {
|
'executables' => array_map(function($platform) use ($row) {
|
||||||
return match(true) {
|
return match(true) {
|
||||||
in_array($platform, ['windows', 'windows-arm64']) => $row['place'] >= 16 ? 'Berry Dash.exe' : 'Foodie Dash.exe',
|
in_array($platform, ['windows', 'windows-arm64']) => $row['place'] >= 16 ? 'Berry Dash.exe' : 'Foodie Dash.exe',
|
||||||
$platform === 'macos' => 'Berry Dash.app',
|
$platform === 'macos' => $row['place'] >= 16 ? 'Berry Dash.app' : 'Foodie Dash.app',
|
||||||
$platform === 'linux' => 'Berry Dash.x86_64',
|
$platform === 'linux' => $row['place'] >= 16 ? 'Berry Dash.x86_64' : 'Foodie Dash.x86_64',
|
||||||
in_array($platform, ['android', 'ios']) => null,
|
in_array($platform, ['android', 'ios']) => null,
|
||||||
default => null
|
default => null
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user