From a34e4bac658616226ab2f5faa27bb9a6a189be3b Mon Sep 17 00:00:00 2001
From: Edric Milaret <edric.ladent-milaret@savoirfairelinux.com>
Date: Mon, 1 Jun 2015 14:47:49 -0400
Subject: [PATCH] rename executable

from RingClientWindows.exe to Ring.exe

Refs #74525

Change-Id: I1e1f26a18cdbe986e4952f2f3ba6f9ffe8b0df71
---
 RingWinClient.pro | 2 +-
 ring.nsi          | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/RingWinClient.pro b/RingWinClient.pro
index 5ceaae6..17ecdcf 100644
--- a/RingWinClient.pro
+++ b/RingWinClient.pro
@@ -15,7 +15,7 @@ DEFINES += VERSION=\\\"$$VERSION\\\"
 DEFINES += GIT_VERSION=\\\"$$GIT_VERSION\\\"
 
 BUILD=$${BUILD}
-TARGET = RingClientWindows
+TARGET = Ring
 TEMPLATE = app
 
 QMAKE_CXXFLAGS += -std=c++11
diff --git a/ring.nsi b/ring.nsi
index 93720b1..a8092e8 100644
--- a/ring.nsi
+++ b/ring.nsi
@@ -61,7 +61,7 @@ section "install"
         # Files for the install directory - to build the installer, these should be in the same directory as the install script (this file)
         setOutPath $INSTDIR
         # Files added here should be removed by the uninstaller (see section "uninstall")
-        file "RingClientWindows.exe"
+        file "Ring.exe"
         file "ring.ico"
         file *.dll
         setOutPath $INSTDIR\platforms
@@ -75,11 +75,11 @@ section "install"
         writeUninstaller "$INSTDIR\uninstall.exe"
 
         #Desktop
-        CreateShortCut "$DESKTOP\Ring.lnk" "$INSTDIR\RingClientWindows.exe" ""
+        CreateShortCut "$DESKTOP\Ring.lnk" "$INSTDIR\Ring.exe" ""
 
         # Start Menu
         createDirectory "$SMPROGRAMS\${COMPANYNAME}"
-        createShortCut "$SMPROGRAMS\${COMPANYNAME}\${APPNAME}.lnk" "$INSTDIR\RingClientWindows.exe" "" "$INSTDIR\ring.ico"
+        createShortCut "$SMPROGRAMS\${COMPANYNAME}\${APPNAME}.lnk" "$INSTDIR\Ring.exe" "" "$INSTDIR\ring.ico"
 
         # Registry information for add/remove programs
         WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayName" ${APPNAME}
@@ -122,7 +122,7 @@ section "uninstall"
         rmDir "$SMPROGRAMS\${COMPANYNAME}"
 
         # Remove files
-        delete $INSTDIR\RingClientWindows.exe
+        delete $INSTDIR\Ring.exe
         delete $INSTDIR\ring.ico
         delete $INSTDIR\*.dll
         rmDir /r $INSTDIR\platforms
-- 
GitLab