We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36bb640 commit 42e6d41Copy full SHA for 42e6d41
1 file changed
src/unity-editor.ts
@@ -212,11 +212,9 @@ export class UnityEditor {
212
}
213
});
214
} else {
215
- if (process.platform === 'darwin') {
216
- if (this.version.architecture === 'X86_64' && process.arch === 'arm64') {
217
- // Force the Unity Editor to run under Rosetta 2 on Apple Silicon Macs if the editor is x86_64
218
- command.args.unshift('arch', '-x86_64');
219
- }
+ if (process.platform === 'darwin' && this.version.architecture === 'X86_64' && process.arch === 'arm64') {
+ // Force the Unity Editor to run under Rosetta 2 on Apple Silicon Macs if the editor is x86_64
+ command.args.unshift('arch', '-x86_64');
220
221
222
unityProcess = spawn(
0 commit comments