Commit Graph

866 Commits

Author SHA1 Message Date
Terry MacDonald
67729942a1 Working ProcessUtils
Finally tested the process launching, and finally managed to get it working! THis has been quite a lot of problems to get right, so pretty happy it's all working.
2021-11-22 22:51:07 +13:00
Terry MacDonald
fdb4fce977 [WIP] ProcessUtils refactor and trim
Tried to remove the unneeded bits of the ProcessUtils module, and to streamline the process monitoring process to make it sane, and have code only live in one place. I also wanted to make use of the TryExecute_Impersonated if possible. I hope I've done that all today!
2021-11-22 21:53:14 +13:00
Terry MacDonald
0d96a9287d [WIP] Partially working process launching
Still need to iron out all the bugs and get it working with launchers etc.
2021-11-21 22:35:14 +13:00
Terry MacDonald
852d42ed6f [WIP] First working process start
Need to add process returning and monitoring so that we're able to handle launcher processes.
2021-11-21 13:25:23 +13:00
Terry MacDonald
cca916c515 [WIP] Adding some exectuable awareness 2021-11-21 13:21:47 +13:00
Terry MacDonald
e4add2570f RunShortcut reliability changes 2021-11-21 13:08:11 +13:00
Terry MacDonald
c9c9fcc8b4 [WIP] Nearly ready to test the new process utils 2021-11-21 10:29:06 +13:00
Terry MacDonald
ba2e0afb71 [WIP] Process launching refactor
The previous launching process just didn't work! It's the last outstanding thing I've got to sort out, so trying a new process launching method as used within MediaPortal project.
2021-11-21 10:17:15 +13:00
Terry MacDonald
10d387d53b Fixed bug with startprograms UI not clearing 2021-11-20 21:38:26 +13:00
Terry MacDonald
5b15dd367e Make available updates hide the loading page 2021-11-20 11:56:25 +13:00
Terry MacDonald
5bb29bc8e2 Slight tweak to README. 2021-11-20 10:41:09 +13:00
Terry MacDonald
d106c32361 Updated README 2021-11-20 10:38:42 +13:00
Terry MacDonald
9ca52d96d2 Updated screenshots to v2.1.0 2021-11-20 10:34:27 +13:00
Terry MacDonald
d7db9d6007 Fixed small bug with game imagelistview selection.
The game imagelistview wasn't showing the correct selected item when loading an existing shortcut into the shortcutform after creating a new shortcut. This is now fixed and displays correctly.
2021-11-20 09:33:25 +13:00
Terry MacDonald
9c82352411 Updated AssemblyInfo template again 2021-11-20 09:01:31 +13:00
Terry MacDonald
2a8e069b85 Merge branch 'main' into develop 2021-11-20 08:49:18 +13:00
Terry MacDonald
a1bd3cc17d Update the AssemblyInfo template 2021-11-20 08:48:37 +13:00
Terry MacDonald
7feef1c50c Merge branch 'develop' 2021-11-20 08:47:55 +13:00
Terry MacDonald
7e8ec4b1aa Update to v2.1.0.254 2021-11-20 08:24:08 +13:00
Terry MacDonald
63fdf646c7 Assembly version updates to align version numbers 2021-11-19 22:34:48 +13:00
Terry MacDonald
b8c71191bb Update all builds to x64
No 32bit builds as no OS we can support is 32bit any more.
2021-11-19 22:26:03 +13:00
Terry MacDonald
77ab0f20f1 Updated NVIDIA Library and WinLibrary based on testing
Did a HUGE amount of testing with the amazing help of @domenic as part of #41, and we finally got the right configuration sorted out! This update is a reflection of the changes required.
2021-11-19 22:20:43 +13:00
Terry MacDonald
db0bfbecbe Fixed bug preventing autonaing from working
With the recent changes to the way that ShortcutForm worked, I had left a logic check that was no longer needed, an in fact actually caused an Autoname bug. Now fixed.
2021-11-19 21:08:38 +13:00
Terry MacDonald
714cb910ec Fixed profile selection in new shortcuts
The shortcut selection logic was wrong. Now fixed.
2021-11-19 09:27:56 +13:00
Terry MacDonald
ea38f25e28 Major improvement for ShortcutForm loading speed
Also fixes the most recent bug highlighted by erbkaiser in #49.
2021-11-15 21:45:43 +13:00
Terry MacDonald
058060ed60 Added ability to copy Shortcut and all settings
This should help if a user has a really complicated shortcut and they want to make a copy to have two of them with slightly different tweaks.
2021-11-14 13:48:01 +13:00
Terry MacDonald
9083ec7b34 Created new build 2.1.0.215 2021-11-14 09:55:40 +13:00
Terry MacDonald
24efd1a8d8 Changes required by recent NVIDIALibrary changes 2021-11-13 21:32:13 +13:00
Terry MacDonald
21d173b6ca Fixed mistake 2021-11-13 21:30:21 +13:00
Terry MacDonald
6f1721342f Updated NVIDIALibrary with the latest version
This version hopefully fixes the issues when returning from surround profiles to non-surround profiles.
2021-11-13 21:28:25 +13:00
Terry MacDonald
d4494aa699 Updated NVIDIA, AMD and Windows Video libraries
Updated with enhancements to make application of colour more robust, and to avoid a Windows CCD display validation issue.
2021-11-13 15:06:54 +13:00
Terry MacDonald
2b653999dd Fixed game refresh 2021-11-09 09:26:04 +13:00
Terry MacDonald
6724a4d2ae Attempt to hide shortcut splashscreen sooner 2021-11-09 08:34:40 +13:00
Terry MacDonald
a716c4160a Fixed double added steam library
Accidentally had the steam library added twice when parsed from two different locations, which doubled up the steam icons. Now fixed.
2021-11-08 21:48:18 +13:00
terrymacdonald
e61a31870a Update issue templates 2021-11-07 21:21:11 +13:00
Terry MacDonald
8cf85c5227 Added empty DisplayConfig and CustomDisplays to Display Profiles
Added empty DisplayConfig dictionary and CustomDisplays list to the Display Profiles JSON format, as I'm going to need it in a while when I add the integer scaling.
2021-11-07 20:49:21 +13:00
Terry MacDonald
a1f9bb5e2f First (probably) working process creation upgrade
I have completely rewritten the process creation logic for the start programs to handle launchers, and applications that require higher level privileges. It doesn't quite handle asking for UAC if the programn requires it, but that's something I can add at a later date. At the moment it seems to work a lot more reliably than the last set of code.
2021-11-07 17:34:55 +13:00
Terry MacDonald
9200b82e29 Added shortcut loading form
You now get warned that the shortcut form is loading and will take a while.
2021-11-07 14:41:11 +13:00
Terry MacDonald
fd6ab9fc47 Fixed shortcut name populating when no game selected
Now works as intended.
2021-11-07 14:18:43 +13:00
Terry MacDonald
10506a6537 First partially working process launching/monitoring update 2021-11-07 11:04:53 +13:00
Terry MacDonald
c06ba48923 Partial fix for process start
CreateProcessWithPriority doesn't always work. Need to troubleshoot why, but at least have a workaround currently.
2021-11-06 21:59:38 +13:00
Terry MacDonald
a80349f31a Initial ProcessUtils update
ProcessUtils functions don't work at the moment, so I need to fix them!
2021-11-06 18:38:37 +13:00
Terry MacDonald
712f0333f5 Added some extra UI logging 2021-11-06 12:05:58 +13:00
Terry MacDonald
ed07d84750 Trimmed some unneeded code. 2021-11-05 16:44:49 +13:00
Terry MacDonald
5f2b018725 Final few tweaks to shortcut image selection
The ChooseImageForm list now correctly higlights and selects the selected image when it's refreshed.
2021-11-05 16:36:39 +13:00
Terry MacDonald
9e91e0fd45 Now can import images as icons
As an extension to what was requested, you can now import any images and use those as the shortcut image (including the desktop image!). This amazing new functionality now makes it possible to make your shortcuts look exactly as you want them!
2021-11-05 16:28:58 +13:00
Terry MacDonald
ccba5cac40 Fixed run afterwards program
Fixes #48. It's not a full blown "run multiple programs" fix, but it will at least allow people to start to experiment with a single program (or powershell file if more than one needed)
2021-11-05 15:23:14 +13:00
Terry MacDonald
41a75acb1a Working icon selector
It looks like the work is done on the icon selector. Adds #51, hopefully fixing the last issue in #49 too.
2021-11-05 11:26:11 +13:00
Terry MacDonald
4d9216328d Working manual game icon selection
Also copes with patching existing shortcuts
2021-11-05 10:32:05 +13:00
Terry MacDonald
65cca02e5d [WIP] Partially working image selection
Need to handle situation when image is null.
2021-11-04 21:25:31 +13:00