1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-27 17:00:59 +01:00
Commit Graph

897 Commits

Author SHA1 Message Date
Valentin Radu
c42bd8c3af Support for Microsoft Detours library
* Added support for hooking functions using the Microsoft Detours
  library; this, in theory, means that the application can now at
  least compile just fine on ARM64; although that is the case, it
  currently does not support dynamically patching CTray::Init as I
  have yet to come up with assembly to do that. Also, it is
  uterly untested on ARM64 as I do not have a machine to test on.
* Removed x86 support, compilation targets are now only amd64 and
  ARM64
2021-09-03 00:04:53 +03:00
Valentin Radu
b52e7446cd Reset Explorer patch offsets when redownloading symbols 2021-09-02 23:52:17 +03:00
Valentin Radu
7da994f727 Added 2 methods for triggering a test toast and a test balloon 2021-09-02 23:51:29 +03:00
Valentin Radu
40ea50e19c Win+C now opens the calendar flyout (previously it opened Cortana
but since that is gone, it just crashes Explorer, so better we map
it to something useful)
2021-09-02 16:43:11 +03:00
Valentin Radu
5f1f056029 Added sample configuration files 2021-09-02 16:41:41 +03:00
Valentin Radu
bbba6575e6 Added screenshots to README 2021-09-02 16:30:08 +03:00
Valentin Radu
02b75ba721 Fixes #8 (Start and search now respect alignment settings) 2021-09-02 03:38:03 +03:00
Valentin Radu
eead5cee29 Updated change log 2021-09-01 07:12:55 +03:00
Valentin Radu
557c74da28 Win+X shows correctly on multi monitor setups 2021-09-01 07:07:53 +03:00
Valentin Radu
9074649c73 Win+X is positioned correctly on multi monitor setups 2021-09-01 06:59:53 +03:00
Valentin Radu
7dcd72c0ad Show app list by default when injecting StartMenuExperienceHost 2021-09-01 05:17:36 +03:00
Valentin Radu
c400f4d6ab Ground work for supporting OpenAtLogon 2021-09-01 01:29:23 +03:00
Valentin Radu
e50d1d1f56 Replaced magic values with define 2021-09-01 01:21:12 +03:00
Valentin Radu
75260bbb32 Used built-in function for checking HKCU and then HKLM 2021-09-01 01:17:00 +03:00
Valentin Radu
fff4520ca0 Updated change log and version info 2021-09-01 00:51:25 +03:00
Valentin Radu
74966c518a Fixed #3 and #10
* Instead of the overthinked and overcomplicated way the Win+X
  key combination was handled before, it now just sends a
  WM_CONTEXTMENU message to the Start button and Explorer takes
  care of the rest (I still haven't managed to figure out why the
  COM interface call did not work though)
* Added more info to IImmersiveMonitorService
2021-09-01 00:46:19 +03:00
Valentin Radu
510ddd2b5b Fixed statement 2021-08-31 04:36:04 +03:00
Valentin Radu
9afbc50cca Minor fixes 2021-08-31 04:31:06 +03:00
Valentin Radu
5ce54410cc Mention about ability to restore old context menus in README 2021-08-31 03:26:22 +03:00
Valentin Radu
6fcbb29dd7 Application folder is now created if not existing already. 2021-08-31 03:25:43 +03:00
Valentin Radu
ea42afb5be Added check to enable legacy menus only on newer builds that have
the new menus as well.
2021-08-31 03:24:58 +03:00
Valentin Radu
887b84c7f9 Exported main for legacy compatibility 2021-08-31 03:02:18 +03:00
Valentin Radu
8611c3d1da Improved Explorer hooking 2021-08-31 02:58:50 +03:00
Valentin Radu
583440d489 Implements #6 (option to revert to classic context menu) 2021-08-30 20:45:37 +03:00
Valentin Radu
34a7fd0eb2 Bug fix: restore focus to previous window after archive menu dismiss 2021-08-30 08:20:10 +03:00
Valentin Radu
b36b571df8 Updated change log 2021-08-30 08:03:52 +03:00
Valentin Radu
4e670f703b Skinned "Safe to Remove Hardware" popup menu
* The popup menu for "Safe to Remove Hardware" is now skinned in the
  same style as the Win+X menu and the taskbar context menus, in
  order to improve UI consistency.
2021-08-30 08:01:35 +03:00
Valentin Radu
bd95a51ab3 Enabled startup sound on newer builds 2021-08-30 06:37:16 +03:00
Valentin Radu
b666d834e0 Enables compatibility with ArchiveMenu. 2021-08-30 03:48:12 +03:00
Valentin Radu
030e4a47e4 Fixes #5 (removes the delay at logon on newer builds like 22000.168)
* The bug is similar to the effect introduced by UndockingDisabled
  on these newer builds).
2021-08-30 00:30:51 +03:00
Valentin Radu
9fe8a25768 Fixed bug that prevented correct loading when OS build was upgraded 2021-08-29 21:39:02 +03:00
Valentin Radu
aca00768a2 Offsets are now determined at runtime
* Library downloads and parses symbols in order to determine
  function hooking offsets at runtime and saves the data in a
  "settings.ini" file located in the application folder for future
  use; the file is invalidated when a new OS build is detected
* The main executable attempts to determine the location where a
  jump has to be patched out so that Explorer remains on the 'show
  old taskbar' code path; it will systematically patch each jz/jnz
  instruction and will check whether Explorer still runs fine, and,
  if it does so and does not crash, whether the old taskbar got
  actually shown; once the offset is determined, it is saved in the
  "settings.ini" file for future use
* Please have an unmetered active working Internet connection when
  running for the first time
* Messages from the patcher (i.e. install/uninstall successful
  message, symbol downloading message) will now display in a toast
  (Windows 10 notification) if possible; when Explorer is not
  running, it falls back to using standard MessageBox'es
* Disabled the pre/post build command that restarted sihost.exe in
  Debug builds
2021-08-29 21:03:37 +03:00
Valentin Radu
cd2a543f3e Bug fix for installer/uninstaller not working and small improvements. 2021-08-20 01:27:17 +03:00
Valentin-Gabriel Radu
65581438d0
Optimize hooking of Windows key when only one monitor is connected 2021-08-13 07:23:45 +03:00
Valentin Radu
c850e5063a Fixes #2 (Win+X combination is now handled and opens the power user menu) 2021-08-13 06:54:14 +03:00
Valentin Radu
9de9b0153f Removed unnecessary include, changed Progman hook proc name to
better convey its role.
2021-08-13 04:22:40 +03:00
Valentin Radu
ec808402e0 Start menu is displayed on monitor containing the cursor when opened
using the Windows key (v22000.1.0.3).
2021-08-13 03:39:39 +03:00
Valentin Radu
4a65e22e14 Bug fix: Registry key is now closed when installing/uninstalling. 2021-08-13 03:34:06 +03:00
Valentin Radu
256008981f Fixes #1 (the menu is now skinned) (v22000.1.0.2) 2021-08-12 23:46:48 +03:00
Valentin Radu
c2fa263b11 Build process improvement
In order to ease off building and testing the application, when using
Visual Studio, the solution now automatically kills Explorer before
building (so that the library can replace the old version which
presumably was in use) and starts it back when the build completes.
2021-08-12 23:43:56 +03:00
Valentin Radu
0ab00b83ea Introduced a bit more delay at startup, also terminate the app
after the injection is done.
2021-08-12 05:21:21 +03:00
Valentin-Gabriel Radu
51e6d6b953
Fixed typo in README. 2021-08-12 04:41:20 +03:00
Valentin-Gabriel Radu
9398018a57
Added mention of requirement to have Windows SDK installed for compiling the application. 2021-08-12 04:40:41 +03:00
Valentin Radu
ab4efdbb97 Applied some corrections regarding the power user menu (Win+X). 2021-08-12 02:35:28 +03:00
Valentin Radu
dfaf1ee806 Functionality to bring back power menu (Win+X). 2021-08-12 02:30:09 +03:00
Valentin Radu
00745079de Initial commit 2021-08-09 17:30:23 +03:00
Valentin-Gabriel Radu
29a3c23afd
Initial commit 2021-08-09 17:17:24 +03:00