From 84a72b59e7e3e98c4fd731fab66540e953e808ff Mon Sep 17 00:00:00 2001 From: Johannes Schultz Date: Wed, 1 Jan 2020 12:52:54 +0100 Subject: [PATCH] Happy new year --- README.md | 28 ++++++++++++++++++++++------ dll/dll.rc | 2 +- loader/loader.rc | 2 +- version.h | 2 +- 4 files changed, 25 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 69aee57..3318566 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,28 @@ So I decided to fork a program a friend of mine wrote - [traktouch](https://gith as it solves a very similar problem. I could have written it from scratch, but this way I didn't have to write most of the boilerplate code. +Installation +------------ + +1. Download the [latest TBTray release](https://github.com/sagamusix/TBTray/releases). +2. Extract the archive anywhere you want, `%localappdata%\TBTray` would be a + good place for instance. + I would not recommend to put it in the same folder as Thunderbird, although + it should be possible in theory. +3. Figure out whether you run a 32-bit or 64-bit version of Thunderbird. + If you are not sure, check whether Thunderbird is installed in + `Program Files` (64-bit on a 64-bit system, 32-bit on a 32-bit system) or + `Program Files (x86)` (32-bit on a 64-bit system). +4. Launch the TBTray executable in the folder that **matches your Thunderbird + bitness**, i.e. if you run a 32-bit Thunderbird, then run `TBTray.exe` in the + 32-bit folder of TBTray. +5. To automatically start TBTray on Windows startup, run `register.cmd` in the + folder that **matches your Thunderbird bitness**, i.e. if you run a 32-bit + Thunderbird, then run `register.cmd` in the 32-bit folder of TBTray. + If you ever decide to move the executable to a different location, you will + need to run `register.cmd` again. +6. To completely uninstall, run `unregister.cmd` and delete the extracted files. + How does it work? ----------------- @@ -46,9 +68,3 @@ Is there any sort of configuration? This program does not come with any options, because it is just supposed to fix exactly the problem I had. Please fork the repository if you want the program to behave differently. - -Autostart ---------- - -To automatically start TBTray on Windows startup, run `register.cmd`. -To uninstall, run `unregister.cmd`. diff --git a/dll/dll.rc b/dll/dll.rc index a12abeb..b432a59 100644 --- a/dll/dll.rc +++ b/dll/dll.rc @@ -71,7 +71,7 @@ BEGIN VALUE "FileDescription", "Thunderbird Tray companion DLL" VALUE "FileVersion", PRODUCTVERSTR VALUE "InternalName", "TBTray.dll" - VALUE "LegalCopyright", "Copyright (C) 2019 Johannes Schultz" + VALUE "LegalCopyright", "Copyright (C) 2020 Johannes Schultz" VALUE "OriginalFilename", "TBTray.dll" VALUE "ProductName", "TBTray" VALUE "ProductVersion", PRODUCTVERSTR diff --git a/loader/loader.rc b/loader/loader.rc index ddd6617..a04b1d9 100644 --- a/loader/loader.rc +++ b/loader/loader.rc @@ -71,7 +71,7 @@ BEGIN VALUE "FileDescription", "Thunderbird Tray Loader" VALUE "FileVersion", PRODUCTVERSTR VALUE "InternalName", "TBTray.exe" - VALUE "LegalCopyright", "Copyright (C) 2019 Johannes Schultz" + VALUE "LegalCopyright", "Copyright (C) 2020 Johannes Schultz" VALUE "OriginalFilename", "TBTray.exe" VALUE "ProductName", "TBTray" VALUE "ProductVersion", PRODUCTVERSTR diff --git a/version.h b/version.h index 1e2c3b8..9665ef7 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #pragma once #define MAJORVER 0 #define MINORVER 10 -#define FIXVER 2 +#define FIXVER 3 #define PRODUCTVER MAJORVER,MINORVER,FIXVER,0 #define _STR(x) #x