Skip to content

Commit e51842d

Browse files
authored
fix: add missing platform.arch for Linux and Windows (#100)
1 parent 3b234b3 commit e51842d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/js/php.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ const platform = {
2626
if (isWindows) {
2727
platform.os = 'win';
2828
platform.phpBinary += '.exe';
29+
platform.arch = 'x64';
2930
}
3031

3132
if (isLinux) {
3233
platform.os = 'linux';
34+
platform.arch = 'x64';
3335
}
3436

3537
if (isDarwin) {

0 commit comments

Comments
 (0)