aboutsummaryrefslogtreecommitdiff
path: root/src/utils.js
diff options
context:
space:
mode:
author3top1a <57371001+3top1a@users.noreply.github.com>2022-01-24 14:27:29 +0100
committerGitHub <noreply@github.com>2022-01-24 14:27:29 +0100
commit18d1166b6b8beef422590607cd02d613dd02d2d0 (patch)
tree2f97eaeab7935cdd852da46011fdd5a03aa29913 /src/utils.js
parent1362df77adf25a941cc31d3a82378f6911728f10 (diff)
downloadViper-18d1166b6b8beef422590607cd02d613dd02d2d0.tar.gz
Viper-18d1166b6b8beef422590607cd02d613dd02d2d0.zip
Edge case in vdf reading (#56)
* Edge case * Alert user only when automatic detection failed * extra info on not found message * support for [Free/Open]BSD Co-authored-by: 0neGal <mail@0negal.com>
Diffstat (limited to 'src/utils.js')
-rw-r--r--src/utils.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.js b/src/utils.js
index a2c61d4..ef647fe 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -142,6 +142,8 @@ async function setpath(win) {
return;
}
+ alert(lang("general.missingpath"));
+
// Fallback to manual selection
dialog.showOpenDialog({properties: ["openDirectory"]}).then(res => {
if (res.canceled) {