diff options
| author | Tomáš Pazdiora <[email protected]> | 2021-01-06 14:26:48 +0100 |
|---|---|---|
| committer | Tomáš Pazdiora <[email protected]> | 2021-01-06 14:26:48 +0100 |
| commit | a249ac942811b995e25ed4af02cb748c5c5a284d (patch) | |
| tree | 5dd7bb10433047c886bbdc805b3b2dff9e657ca7 /installer/installer.cpp | |
| parent | Merge pull request #53 from termhn/patch-1 (diff) | |
| download | rawaccel-a249ac942811b995e25ed4af02cb748c5c5a284d.tar.xz rawaccel-a249ac942811b995e25ed4af02cb748c5c5a284d.zip | |
better information for user when installing/removing driver
Diffstat (limited to 'installer/installer.cpp')
| -rw-r--r-- | installer/installer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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); |