mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: resolve Apple Silicon chips more precisely
This commit is contained in:
parent
44aeaab4f9
commit
3a3e93e87b
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
const path = require('path')
|
||||
if (process.arch === 'arm64') {
|
||||
if (process.arch === 'arm64' && process.platform === 'darwin') {
|
||||
require('dotenv').config({
|
||||
path: '.env.arm.mac',
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue