liamcottle / rustplus.js

Unofficial NodeJS library for controlling Smart Switches in the PC game Rust
224 stars 46 forks source link

VS Code is launching instead of Google Chrome npx fcm-register #33

Closed askrealcookie closed 3 years ago

askrealcookie commented 3 years ago

So when I use command-line tool fcm-register to pair server as described in docs Google Chrome should pop out. But instead it's Visual Studio Code with rustplus.js file. Logs:

D:\rustplus.js>npx @liamcottle/rustplus.js fcm-register

[main 2021-07-20T21:11:03.062Z] window: using vscode-file:// protocol and V8 cache options: bypassHeatCheck
[main 2021-07-20T21:11:03.152Z] update#setState idle

1 2

Couldn't find this issue so please tell me if it is duplicate. I also reinstalled Google Chrome, I don't want to touch VS Code for now as I use it constantly & have some settings I would like to keep. Thanks in advance!

askrealcookie commented 3 years ago

Ok... Actually I tried in cmd, powershell, powershell with admin privileges and no luck, then I tried to use vscode's terminal, which is basically embedded powershell, and it worked.