Allow x64 macos apps to be ran on arm64 (rosetta2)
This commit is contained in:
1 file changed
+1
-1
@@ -61,7 +61,7 @@ export const handler = async (context: Context) => {
|
||||
if (arch == 'x86_64' || arch == 'x64')
|
||||
platformsToShow = ['macos-x64', 'macos-universal']
|
||||
else if (arch == 'aarch64' || arch == 'arm64')
|
||||
platformsToShow = ['macos-arm64', 'macos-universal']
|
||||
platformsToShow = ['macos-arm64', 'macos-universal', 'macos-x64']
|
||||
else {
|
||||
connection.end()
|
||||
return jsonResponse(
|
||||
|
||||
Reference in new issue
Block a user