mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-18 08:43:57 +00:00
fix: process map promise return
This commit is contained in:
@@ -104,7 +104,10 @@ const getSystemProcessMap = async () => {
|
||||
if (process.platform === "linux") {
|
||||
await new Promise((res) => {
|
||||
exec(commands.findWineExecutables(), (err, out) => {
|
||||
if (err) res(null);
|
||||
if (err) {
|
||||
res(null);
|
||||
return;
|
||||
}
|
||||
|
||||
const pathSet = new Set(
|
||||
out
|
||||
|
||||
Reference in New Issue
Block a user