Skip to content

Fix app option on Windows#172

Merged
sindresorhus merged 2 commits intosindresorhus:masterfrom
hong4rc:fix/path
Mar 9, 2020
Merged

Fix app option on Windows#172
sindresorhus merged 2 commits intosindresorhus:masterfrom
hong4rc:fix/path

Conversation

@hong4rc
Copy link
Copy Markdown
Contributor

@hong4rc hong4rc commented Feb 28, 2020

Reopen #162

I moved check isWsl in if (!isWsl)

https://github.com/Hongarc/open/commit/3530dcd061498b597819fd21ed00282b082989dd

Should I keep check it in if(options.app)

@sindresorhus
Copy link
Copy Markdown
Owner

Have you manually tested this change?

@hong4rc
Copy link
Copy Markdown
Contributor Author

hong4rc commented Mar 7, 2020

Have you manually tested this change?

I used this code:

open('./test.js', {app: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe'})

success to open test.js file it in chrome

@hong4rc hong4rc requested a review from sindresorhus March 7, 2020 08:44
@sindresorhus sindresorhus changed the title Fix arg without double-quotes Fix app option on Windows Mar 9, 2020
@sindresorhus sindresorhus merged commit 30f4abe into sindresorhus:master Mar 9, 2020
@hong4rc
Copy link
Copy Markdown
Contributor Author

hong4rc commented Mar 12, 2020

Fixed #158, it should be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants