mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-27 16:10:32 +00:00
tell user if they need to install c++ redist for windows
This commit is contained in:
parent
5c49e78204
commit
b0f879c294
1 changed files with 9 additions and 0 deletions
|
|
@ -172,6 +172,15 @@ app.whenReady().then(async () => {
|
|||
return;
|
||||
}
|
||||
|
||||
// tell user that Visual C++ redistributable needs to be installed on Windows
|
||||
if(code === 3221225781 && process.platform === "win32"){
|
||||
await dialog.showMessageBox(mainWindow, {
|
||||
message: "Microsoft Visual C++ redistributable must be installed to run this application.",
|
||||
});
|
||||
quit();
|
||||
return;
|
||||
}
|
||||
|
||||
// show crash log
|
||||
const stdout = stdoutLines.join("");
|
||||
const stderr = stderrLines.join("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue