Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyben committed Oct 3, 2024
1 parent b421c88 commit 4f5ca98
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
},
"args" : ["."],
"outputCapture": "std"
}
]
}
3 changes: 3 additions & 0 deletions app/main-process/ping.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ PingWrapper.prototype.execute = function () {
const hosts = this._clusters.pops[id].relayAddresses;

hosts.forEach(host => {
if (host === undefined) {
return;
}
var ping = new Ping(host);

ping.send((err, time) => {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "csgo-mm-server-picker",
"version": "v1.2.2",
"version": "v1.2.3",
"description": "Server picker for CS:GO matchmaking",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit 4f5ca98

Please sign in to comment.