Commit Graph

333 Commits

Author SHA1 Message Date
Terry MacDonald
a06651190d Upgrade nuget libraries
Upgrade CommanlineUtils, HTMLAgility
and other libraries. Leaving ValveKeyValue
as it requires some breaking changes.
2021-02-07 15:22:54 +13:00
Terry MacDonald
ba636414c0 Improve exception handling of existing ex
Added logger instances for DisplayMagicianShared
functions. Also added logger debug commands to
all exceptions with existing ex objects.
2021-02-07 14:42:17 +13:00
Terry MacDonald
7d3533fb2a Merge branch 'develop' into feature/logging-improvements 2021-01-30 22:13:25 +13:00
Terry MacDonald
519ac7d336 Merge branch 'hotfix/get-back-in-sync' into develop 2021-01-30 22:11:27 +13:00
Terry MacDonald
0f38881709 More code analysis suppression 2021-01-28 22:20:00 +13:00
Terry MacDonald
88bd1a71fa Fixing some CodeAnalyzer suggestions 2021-01-28 22:03:02 +13:00
Terry MacDonald
6ab1e0842a Additional suppression messages 2021-01-28 21:34:45 +13:00
Terry MacDonald
3ecababc73 Suppressing CLS compliance errors
Some functions and procedures require CLS
non-compliance due to file formats and the like.
Suppressing these compiler warnings
2021-01-28 21:19:20 +13:00
Terry MacDonald
0afe349eea Converted uint to int
This was done to be more CLS language compliant.
2021-01-28 20:58:35 +13:00
Terry MacDonald
838ab5c25a Fixing automatic admin version upgrade
Upgrade processs wasn't upgrading using
elevated privileges. Appears to be doing so
now.
2021-01-18 07:47:13 +13:00
Terry MacDonald
582e95df42 Updated upgrade json 2021-01-18 07:45:07 +13:00
Terry MacDonald
ae106223a0 Removing editorconfig 2021-01-18 07:40:13 +13:00
Terry MacDonald
2b56d3e2b2 Fixing some UI misalignment
Changed some misanchored UI
elements so that they will move correctly
when the UI windows are resized. Also
fixed a mistake that meant the 'Create
Shortcut' message wasn't hidden
when it should be.
2021-01-07 17:31:26 +13:00
Terry MacDonald
3f46beafd3 Reorganisation of Game Start tab
Made a messsage to inform the user
we could't detect any supported game
libraries.
2021-01-07 15:17:37 +13:00
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