From a249ac942811b995e25ed4af02cb748c5c5a284d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Pazdiora?= Date: Wed, 6 Jan 2021 14:26:48 +0100 Subject: better information for user when installing/removing driver --- installer/installer.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'installer/installer.cpp') diff --git a/installer/installer.cpp b/installer/installer.cpp index 916209f..279fefc 100644 --- a/installer/installer.cpp +++ b/installer/installer.cpp @@ -53,6 +53,10 @@ int main() { fs::path target = get_target_path(); + if (fs::exists(target)) { + std::cout << "Driver already installed. Removing previous installation.\n"; + } + add_service(target); fs::path tmp = make_temp_path(target); -- cgit v1.2.3