summaryrefslogtreecommitdiff
path: root/installer/installer.cpp
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-01-20 00:42:24 -0800
committerJacob Palecki <[email protected]>2021-01-20 00:42:24 -0800
commit77b4c7876918cac82494ec8fc15a22fdab5cf714 (patch)
tree66b2c7d86cecf0846c3b5cdaa69c6991858ed931 /installer/installer.cpp
parentRemove debug statement (diff)
parentshow custom dialog on bad input (#63) (diff)
downloadrawaccel-77b4c7876918cac82494ec8fc15a22fdab5cf714.tar.xz
rawaccel-77b4c7876918cac82494ec8fc15a22fdab5cf714.zip
merge with master builds
Diffstat (limited to 'installer/installer.cpp')
-rw-r--r--installer/installer.cpp4
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);