1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2025-02-14 01:32:35 +01:00

344 Commits

Author SHA1 Message Date
Amrsatrio
2cc87aba39 Taskbar10: Fixed a bug where the Windows 10 taskbar no longer shows after a certain configuration update in 23560.1000 2023-10-22 02:22:03 +07:00
Amrsatrio
655e62c364 Start10: Fixed a bug where certain localizable texts stayed in English
I've employed a different method to fix the context menus. Even so, I'm keeping the old method as a fallback.
2023-10-22 02:22:03 +07:00
aubymori
8fc53a1285 Accurate taskbar fonts for classic theme mitigations 2023-10-22 02:21:14 +07:00
Amrsatrio
f027a36837 All: Prepared some headers for C++ 2023-10-17 14:15:30 +07:00
Amrsatrio
a57471feb2 Taskbar10: Fix start menu position when the taskbar is at the left or right side on Moment 4 builds 2023-10-16 23:26:04 +07:00
Amrsatrio
7e2f76840a Start10: Properly fix start menu showing/hiding along with its original animations on builds 22000.65+ 2023-10-16 23:25:37 +07:00
Amrsatrio
acc0131e77 All: Disabled hooks on processes other than Explorer
Because anticheats really hate DLLs that inject to games, let alone DLLs that hook existing functions. This was made as an attempt to fix #2267.
2023-10-11 15:16:42 +07:00
Amrsatrio
8412bd64d9 Symbols: Reworked the symbol manager so that symbols don't need to be successfully downloaded in succession
- This should fix start menu not working (at all!) on users who upgraded into 22621.2428 not through 22621.2361 with EP installed. Updating into this version will redownload symbols due to changes in the way they are managed.
- 22621.2428 was just released to the general public, but symbols for twinui.pcshell.dll are not available at the time of writing. Despite that, StartDocked.dll and StartUI.dll are still the same as 22621.2361.
- I've also removed hardcoded and stuffed-together offsets of really old DLL versions to make the code more concise.
2023-10-11 15:10:57 +07:00
Amrsatrio
b52bd790ed Taskbar10: Fixed PatchExplorer_UpdateWindowAccentProperties to not crash anymore with build 25951 (Canary) 2023-10-10 21:52:15 +07:00
Amrsatrio
dca0b3ae44 Taskbar10: Made the Control Center and Toast Center positioning patch work with build 25951 (Canary) 2023-10-10 20:15:59 +07:00
Amrsatrio
4ee742f116 Taskbar10: Disabled the patch for proper acrylic background on Canary builds
I'm adding this check until a proper fix is made, so that EP can run on Canary although features will be very limited
2023-10-07 03:24:58 +07:00
Amrsatrio
9f04110d72 Taskbar11: Restored commit 085b3dd that I modified by accident 2023-10-06 22:02:10 +07:00
Amrsatrio
29fda7935d Start10: Revised the method of fixing Pin to Start/Unpin from Start 2023-10-06 16:35:56 +07:00
Amrsatrio
dca4057654 Start10: Restored the Start_ShowClassicMode registry query that I accidentally removed 2023-10-06 07:05:06 +07:00
Amrsatrio
15c07a0530 Start10: Implemented proper fix for Pin to Start/Unpin from Start 2023-10-06 06:37:16 +07:00
Amrsatrio
a4f5bd0ceb Start10: Fixed non-UWP apps disappearing on Dev channel builds 23545+ 2023-10-06 04:39:04 +07:00
Amrsatrio
001e8d8d1d FIle Explorer: Fix Pin to Start/Unpin from Start from Explorer and fix command bar option not being applied to non-primary Explorer instances 2023-10-06 03:11:54 +07:00
Valentin Radu
085b3dd9f7 Taskbar11: Fixed a bug that reset the "never combine" setting on OS builds 22621.2361+ 2023-10-04 02:33:55 +03:00
Amrsatrio
070639360d Taskbar10: Fix Wi-Fi flyout buttons on 22621 builds 2023-10-02 10:43:09 +07:00
Amrsatrio
148e398b8c Start10: Made SyncSettingsFromRegToCDS() to only run when the old start menu is enabled 2023-10-01 22:17:15 +07:00
Amrsatrio
e28940d6a1 Start10: Fix start menu folders, show recently added, and show frequently used apps settings not being applied on 22621.2134+ 2023-10-01 22:06:15 +07:00
Amrsatrio
4ece80c8cb All: Try to find twinui.pcshell.dll offsets from disk instead of from memory for compatibility with other tweak software 2023-09-27 14:26:21 +07:00
Amrsatrio
1977d78ba0 Taskbar10: Fix pen menu crashing explorer.exe on 22621.2134+ 2023-09-25 11:06:52 +07:00
Amrsatrio
b426d2c46a File Explorer: Try to avoid crashes related to the new Windows App SDK views 2023-09-25 04:34:02 +07:00
Amrsatrio
6023718b95 Taskbar11: Fixed a bug that crashed explorer.exe when right clicking the new taskbar on Windows 11 builds with "Never combine" on the new taskbar 2023-09-24 19:52:48 +07:00
Amrsatrio
bc3bbc7e5e Taskbar10: Fixed Windows 10 taskbar not showing up on Windows 11 builds with "Never combine" on the new taskbar 2023-09-24 05:10:10 +07:00
Valentin Radu
fe78dcaa24 Taskbar11: Fixed a bug that crashed explorer.exe when right clicking the taskbar on OS builds 22621.2134 and newer 2023-09-23 03:42:41 +03:00
Amrsatrio
5f2b545748 Symbols: Added patterns for twinui.pcshell.dll as a backup when symbols are not available 2023-09-23 02:23:22 +03:00
Amrsatrio
96e93b7331 Taskbar10: Improved patterns of Moment 2 patches to make them work with 23545.1000 Beta
- Added patterns for twinui.pcshell.dll as a backup when symbols are not available
- Made LoadSymbols clear the returned symbol data when the version is mismatched
- Failure of hooking functions should not prevent Explorer from loading at all anymore
2023-09-22 20:49:17 +07:00
Amrsatrio
1115643206 Taskbar10: Improved patterns of Moment 2 patches to make them work with 22621.2359 Release Preview 2023-09-22 00:13:33 +07:00
Amrsatrio
b76d62e073 Taskbar10: Fixed grammar in Moment2PatchTaskView explanation 2023-09-21 19:13:14 +07:00
Amrsatrio
cd7396e8a0 Taskbar10: Revised the method of patching Task View so that it works on 22621.2134 2023-09-21 18:41:09 +07:00
Amrsatrio
82556f08e6 Taskbar10: Fix new IME context menu on 22H2 2023-09-20 23:09:50 +07:00
Amrsatrio
3be4aabdb5 Taskbar10: Fix Win+A and Win+N on 22621.2134+ 2023-09-20 21:41:53 +07:00
Amrsatrio
e9945d115b Taskbar10: Fix volume and brightness popups on 22621.2134+ 2023-09-20 21:05:25 +07:00
Amrsatrio
765f6ceb9c Taskbar10: Added missing info in patch explanation 2023-09-20 01:33:06 +07:00
Amrsatrio
db1a168ebf Taskbar10: Try to make fixes for 22621.2134.
- Fix Action Center, Control Center, and Toast Center placements.
- Fix Task View refusing to appear.
- Fix Win+B not working.
2023-09-20 01:23:48 +07:00
Valentin Radu
275a91f0d9 Start10: Fixed a bug that prevented centering on Windows 10 2023-08-23 03:47:01 -07:00
Valentin Radu
46c504172c Start10: Fixed a bug that prevented the menu from working on OS builds 22621.1413 and newer 2023-07-26 15:57:53 +03:00
Valentin Radu
6bc2ea5d2b All: Fix crash when attempting to hook function on older OS builds
`RtlQueryFeatureConfiguration` is not available on old Windows 10
builds, like 17763 (LTSC 2019).
Related issue: https://github.com/valinet/ExplorerPatcher/discussions/1142
2023-03-20 23:58:32 +02:00
Valentin Radu
27a8fd9a6b Start11: Better enforcement for disabling the "Recommended" section 2023-03-19 05:27:36 +02:00
Valentin Radu
8b5443d59b Version: 22621.1413.54.1 2023-03-18 16:02:40 +02:00
Valentin Radu
d7e5b7d3c9 All: Implemented a mechanism to stop repeated crashes
When Windows is updated, it may fundamentally change the layout and
functionality of `explorer`'s internal data structure. Since
ExplorerPatcher intensively patches those in order to deliver its
functionality, it may lead to `explorer` crashing when it performs
these modifications while being unaware (outdated) of the latest OS
changes. The worst scenario is when the crashes happen when `explorer`
starts up (for example, when the user logs in), and could cause the
user to experience an endless loop of `explorer` crashes, and leave
him/her unable to practically use the computer.

In order to mitigate this scenario, when `explorer` starts up as the
shell, ExplorerPatcher increments a counter stored in the registry.
After a predefined timeout (by default, 10 seconds), ExplorerPatcher
will reset the counter to 0. If `explorer` crashes during this period,
the counter will not be reset. When `explorer` restarts, the cycle
repeats. If the counter reaches a predefined value (by default, 3),
instead of starting up again normally (and very probably crashing
again), ExplorerPatcher will display a message window informing the
user about what is happening, offering a few suggestions on how to
proceed next and disable its entire functionality until the next
File Explorer restart, in order to give the user a chance to perform
maintenance on the machine.
2023-03-18 05:23:12 +02:00
Valentin Radu
0ad140c47f Taskbar10: Disable tablet optimized taskbar feature
This fixes Task View and Win-Tab, Alt-Tab breaking after pressing
Win-Tab, flyouts alignment, notification center alignment, Windows key
shortcuts on OS builds 22621.1413+.

Thanks @CthRio for the heads up.
2023-03-18 00:45:13 +02:00
Valentin Radu
23a4190018 All: Infrastructure for reporting which OS features are enabled 2023-03-18 00:43:13 +02:00
Valentin Radu
4f3dab5a5c Version: 22621.1344.53.1 2023-03-01 21:29:35 +02:00
Valentin Radu
451db3c5b6 Taskbar11: Option to use the stock taskbar context menu 2022-11-17 03:13:27 +02:00
Valentin Radu
53fad19901 Start: Better way to determine the monitor on which the Start menu will open 2022-11-17 02:52:31 +02:00
Valentin Radu
4212e357b7 Start11: Center menu on screen also works when taskbar is not at the bottom 2022-11-17 02:51:32 +02:00
Valentin Radu
a6a88b1b87 Taskbar11: Fixed a bug that could crash explorer.exe when right clicking certain system tray icons on 22621-based builds
Impact: Failure to check against a NULL value and dereferencing it
leads to a crash in `explorer.exe` with fault offset 0xfc69 on
22621-based OS builds. This happens when right clicking certain system
tray icons, like "Epic Games Launcher" when using the Windows 11
taskbar.

Description: The issue has been addressed with improved checks: a check
against NULL values is performed before attempting to work with the
data the variables might point to.
2022-11-12 23:56:19 +02:00