From 03972a96d09b2b1639c9115b8835b378687ab71f Mon Sep 17 00:00:00 2001 From: "Leroy.H.Y" Date: Tue, 14 Jan 2020 10:38:52 +0800 Subject: [PATCH] [fix] A better text prompt for #237 --- src/components/QvKernelInteractions.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/QvKernelInteractions.cpp b/src/components/QvKernelInteractions.cpp index a4d09f31..34b31536 100644 --- a/src/components/QvKernelInteractions.cpp +++ b/src/components/QvKernelInteractions.cpp @@ -50,10 +50,10 @@ namespace Qv2ray return true; } else { QvMessageBox(nullptr, tr("Cannot start v2ray"), - tr("v2ray core file cannot be found at:") + NEWLINE + - conf.v2CorePath + NEWLINE + NEWLINE + - tr("Please go to Preference Window to change the location.") + NEWLINE + - tr("Or place your v2ray core file in the location above.")); + tr("We cannot find v2ray core binary.") + NEWLINE + NEWLINE + + tr("Possible solutions:") + NEWLINE + + tr("1. The location is wrong, please go to Preference Window to change it.") + NEWLINE + + tr("2. Please make sure the path is an excutable file, use \"chmod +x\" and make sure it's not a directory: ") + conf.v2CorePath + NEWLINE); return false; } }