mirror of
https://github.com/danbulant/node-x11
synced 2026-07-08 04:30:55 +00:00
dont assume darwin is win*
This commit is contained in:
parent
908b501dd5
commit
5645841b80
1 changed files with 13 additions and 13 deletions
|
|
@ -50,7 +50,7 @@ module.exports = function( display, host, cb )
|
|||
var XAuthorityFile = process.env.XAUTHORITY;
|
||||
if (!XAuthorityFile)
|
||||
{
|
||||
if ( process.platform.match(/win/) ) {
|
||||
if ( process.platform.match(/^win/) ) {
|
||||
// http://www.straightrunning.com/XmingNotes/trouble.php
|
||||
//
|
||||
// The Xming magic cookie program, xauth (user-based), uses an
|
||||
|
|
|
|||
Loading…
Reference in a new issue