Commit Graph

369 Commits

Author SHA1 Message Date
Terry MacDonald
b028ad4478 Align custom paint on form
Fix up misalignment with label
radio button, checkbox when
drawing not enabled on a black
background.
2021-01-07 14:56:29 +13:00
Terry MacDonald
fef3fb34a7 Fully works with no game libraries
Now can handle when no game libraries
are detected. Need to make the game/application
UI nicer by adding groupboxes to it.
2021-01-07 11:51:02 +13:00
Terry MacDonald
8336e910b0 Works without Game libraries installed
Basic checks for game libraries so program
will work with neither Steam or Uplay now.
2021-01-06 16:19:45 +13:00
Terry MacDonald
f1c484637c Modified Game Library installation checks
UplayLibrary was erroring when run without
Uplay installed. Needed to tweak it so that
DisplayMagician will work without Uplay
library or Steam library installed.
2021-01-06 16:00:52 +13:00
terrymacdonald
17171d4ba7
Fixed image paths 2021-01-03 20:01:26 +13:00
terrymacdonald
fbc26ada5e
Remove restart requirement 2021-01-03 19:57:10 +13:00
terrymacdonald
6e357354c1
Removing restart requirement 2021-01-03 19:56:37 +13:00
terrymacdonald
09d4b8eb4a
Fixed images 2021-01-03 19:54:38 +13:00
terrymacdonald
91ec89ef3e
changing headings 2021-01-03 19:52:08 +13:00
terrymacdonald
91e153e5b8
First proper DM website content 2021-01-03 19:49:58 +13:00
Terry MacDonald
65e78a0b29 Updated LogReporter in Tests 2021-01-03 19:27:54 +13:00
Terry MacDonald
999217c9b8 Merge branch 'feature/start-on-boot' into develop 2020-12-30 22:50:59 +13:00
Terry MacDonald
7c2a9bd136 Added msbuild file 2020-12-30 22:50:33 +13:00
Terry MacDonald
ff33dfb95a Fixed SteamGame race condition
Found issue where the IsRunning process
checks were breaking because they were
being running before the steam process
had a chance to create the process. This
meant the information wasn't aviailable for
the SteamGame.IsRunning function to
inspect. Fixed by adding in a 0.5 sec delay.
2020-12-30 22:48:42 +13:00
Terry MacDonald
73d1735769 Added start on boot
Works fine, but just found an error
when DM is minimsed and running a
steamGame.
2020-12-30 22:40:21 +13:00
Terry MacDonald
93fc295bf2 Fixing automatic admin version upgrade
Upgrade processs wasn't upgrading using
elevated privileges. Appears to be doing so
now.
2020-12-28 23:17:13 +13:00
Terry MacDonald
2301cccb31 Updated product WXS 2020-12-28 22:30:39 +13:00
Terry MacDonald
730f03de80 Updated upgrade json 2020-12-28 22:26:52 +13:00
Terry MacDonald
600f61461f Updated update JSON
To handle the new version.
2020-12-28 22:02:28 +13:00
Terry MacDonald
4b8faef9f9 Fixed merge conflict 2020-12-28 21:56:03 +13:00
Terry MacDonald
db418b09d9 Merge branch 'release-0.2.1' into main 2020-12-28 21:54:19 +13:00
Terry MacDonald
ed167459fa Fixed UplayGame monitoring
Also fixed errors caused by trying to access
32bit processes information from 64-bit
processes by using smoe cool code thanks
to Jeff Mercado and Mike Fuchs:
https://stackoverflow.com/questions/9501771/how-to-avoid-a-win32-exception-when-accessing-process-mainmodule-filename-in-c
2020-12-28 21:34:59 +13:00
Terry MacDonald
c7a1f1ab55 Fix Code Analysis changes that broke things 2020-12-28 10:34:15 +13:00
Terry MacDonald
9ffedab5aa Fixing LogReporter writer errors
Moved the logging to Local app dir
under Logs sub directory. Will also move the
main DIsplayMagician logs here too.
2020-12-28 10:14:01 +13:00
Terry MacDonald
49329b870e Initial Code Analysis fixes
Also fixed up the Setup properties
file for x64 build configuration.
2020-12-26 21:46:32 +13:00
Terry MacDonald
6759cc4aa0 Renaming main buttons 2020-12-26 20:20:35 +13:00
Terry MacDonald
b5d6f3f680 Fully working Windows Toast 2020-12-26 16:59:45 +13:00
Terry MacDonald
e53f76f0ce Working open and exit toasts
Toasts working for minimised start (allows use to
open the application) and for minimised close
(allows user to open the application or exit the
application).
2020-12-23 21:13:21 +13:00
Terry MacDonald
15386ba756 Basic bidirectional notifications working 2020-12-23 18:29:20 +13:00
Terry MacDonald
73f23d0e5b Fixing missing variable in setup project 2020-12-23 17:16:30 +13:00
Terry MacDonald
8249cb9bd8 Display Magician Setup cleanup 2020-12-22 23:42:24 +13:00
Terry MacDonald
6be7cfa3b2 Fixed develop build 2020-12-22 23:35:26 +13:00
Terry MacDonald
2148db3e95 Fixing program settings loglevel
Had missed Fatal loglevel and missed
a mixedcase Error log level. Meant both
logging levels were broken. Now fixed.
2020-12-22 23:23:28 +13:00
Terry MacDonald
26796c9e46 Fixed MainForm control placement 2020-12-22 23:00:25 +13:00
Terry MacDonald
a5c6f7980e Final working Wix Installer
Have customised the WiX installer so that
it has some nice backgrounds, and so that
the title and description text is white on
black rather than black on grey.  It works
well.
2020-12-22 22:53:10 +13:00
Terry MacDonald
16ac2bb264 Added WiX Bootstrapper project (WIP)
This project will encapsulate the .Net web installer
and the DisplayMagician installer so that it installs
the .net 4.8 if it isn't already installed. Still not sure if
I will keep it. It is a partial work in progress.
2020-12-21 23:06:42 +13:00
Terry MacDonald
e4ed01f33b Added .Net 4.8 and Win 10 checks to installer 2020-12-21 15:02:06 +13:00
Terry MacDonald
7bc81f0075 Added ShellExtension.dll registration
Now the Desktop Popup Menu works!
2020-12-20 22:27:52 +13:00
Terry MacDonald
f5e9ab4fc9 [WIP] Working WiX installer and Toasts!
This WiX installer installs a shortcut and registers
the AUMID and the ToastCLSID. Toasts now work!
2020-12-20 21:33:18 +13:00
Terry MacDonald
9e1ef4a095 [WIP] First working WiX installer
Installer works, but there are a few issues with it.
- It doesn't register the DesktopBackground COM server
- It doesn't create a start menu shortcut with the AUMID
- It doesn't check for .Net Framework 4.8 or later
- It doesn't try to install .Net Framework 4.8 or later if not there
- It doesn't have any customised backgrounds...
- It doesn't ask to run DisplayMagician when install is finished
2020-12-20 20:42:04 +13:00
Terry MacDonald
41fd798a07 Renamed projects to work with WiX file harvesting 2020-12-20 15:50:32 +13:00
Terry MacDonald
3a2b74b049 [WIP] Basic Notification Compat intergration 2020-12-20 15:21:53 +13:00
Terry MacDonald
33689931ca Moved AUMID to Shared project
And also added it to the LogReporter
project.
2020-12-20 12:45:50 +13:00
Terry MacDonald
50d9726141 Removed unused Shell32 code from HDM
Not using this code at the moment, so removed
to clean up.
2020-12-20 12:36:41 +13:00
Terry MacDonald
7a730b7a36 Register DisplayMagician AUMID with Win10
This registers the Application User Model ID
with Win 10 so that it recognises the application
and can interact with it. This allows Toasts, Taskbar
pinning, right-click menus and other functions to
work.
2020-12-20 12:35:36 +13:00
Terry MacDonald
40ab916050 Added a back button to SettingsForm 2020-12-17 00:34:39 +13:00
Terry MacDonald
1c7b208e8b Added SettingsForm so can change settings 2020-12-17 00:23:20 +13:00
Terry MacDonald
20a7da5a52 Fixed the update index.json file
Now it works correctly on update.
2020-12-13 15:20:28 +13:00
Terry MacDonald
fb63c5ab86 Merge branch 'feature-auto-updater' into develop 2020-12-13 15:18:21 +13:00
Terry MacDonald
2babf74353 Made the updater silent if no updates 2020-12-13 15:17:53 +13:00