From 358e3b8f7d0475990d1c199096545e064a26bb8e Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 28 Jul 2020 16:02:40 +0100 Subject: [PATCH] Update rebrand stub to run 'Element.exe' --- build/rebrand_stub/rebrand_stub.c | 4 ++-- build/rebrand_stub/rebrand_stub.exe | Bin 120832 -> 120832 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/rebrand_stub/rebrand_stub.c b/build/rebrand_stub/rebrand_stub.c index fba92fd..bd6e194 100644 --- a/build/rebrand_stub/rebrand_stub.c +++ b/build/rebrand_stub/rebrand_stub.c @@ -4,7 +4,7 @@ #include /* - * This just runs 'Element (Riot).exe' with the same args as + * This just runs 'Element.exe' with the same args as * this process was invoked with. This gets around the fact that * squirrel always tries to run an executable with the same name, * so fails to restart if the app's name has changed. @@ -15,7 +15,7 @@ void _tmain( int argc, TCHAR *argv[] ) char cmdLine[32767]; LPSTR cmdLinePos = cmdLine; - LPSTR toRun = "\"Element (Riot).exe\" "; + LPSTR toRun = "\"Element.exe\" "; strncpy(cmdLinePos, toRun, strlen(toRun)); cmdLinePos += strlen(toRun); diff --git a/build/rebrand_stub/rebrand_stub.exe b/build/rebrand_stub/rebrand_stub.exe index eb8a12499dea3384256305281e9520d5fe0d076f..9d083f4dc2766f5c253ef30a3d0a54c0b9cc0492 100644 GIT binary patch delta 5097 zcmb_gd013evhQm8N+Y(7LPJ;u0R;`Xv>22i4T4^w5zz5Pg^VB)ca6}vMFpm1w7s^X zB@(w$(J#R*!CVDFV;V7n$hh&vahc3$)Msl;LSkYtMElk0i<7+V``#aq@3T+Uug%CC=j0mwb4*=%)U<9hA@j#iCcIEPS~ zaI0`Oxp3J$>&qVGLyIA-^iE+2DVRi3>xu-16}k~Wo$+%WydiS9#io5vy_gI2Cew_~ z_GjuME{G{U34GB{A@fQnAxbC%p0Eu7RUC(&wIc5#xHb2 zJ5Q!KTd(S5GMkzg+GxuM2mH-ASU?tU zY=%S=calh(bE3cwo4v}r0c0(v{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