UPDATE: Added Control Panel links restoration and enhanced the interface#4823
UPDATE: Added Control Panel links restoration and enhanced the interface#4823babamohammed2022 wants to merge 2 commits into
Conversation
Submission reviewNote: This review was done by Claude, and then refined manually. Due to the amount of submissions, doing a fully manual review for each pull request is no longer feasible. Thank you for understanding. Please address the following issues. The items in the collapsed sections are optional, so it's your call whether to address them. Personal note: If you find yourself having to embed binary files, it might be a sign that it's not a good fit for a mod, and should be a standalone tool instead. I didn't read the generated review below past item 1. 1. Embedding a compiled PE and writing it to
My recommendation is to reconsider whether the custom icons justify shipping + writing + loading an opaque PE at all — the stock fallback already renders the links. If you do keep it, at minimum: sweep and delete any leftover 2. The DLL is written and all hooks are installed even when static bool Init() {
bool enabled = Wh_GetIntSetting(L"restoreClassicNetworkCenterLinks") != 0;
g_addConnect = g_addHomegroup = enabled;
if (enabled) EnsureIconsDll(); // don't touch the disk when disabled
if (!HookAll()) { CleanupIconsDll(); return false; }
return true;
}(Keeping the DUI hook installed while disabled is defensible so the toggle works live, but the file write and the redundant Optional improvements
Minor polish — none of this affects users, so it's your call.
Functionality notes
Non‑critical observations about the feature behavior itself.
|
You are right, I've removed the DLL and replaced it with base64, initially I used the DLL because it worked decently compared to the base64 but I've enhanced the base64 implementation and made it more robust and I've also tried to address the other reported issues |
If possible, let me know if the issues have been addressed properly now |
Changelog
If this pull request updates an existing mod, describe the changes below:
Mod authorship
If this pull request introduces a new mod, please complete the section below.
This mod was created by:
Please select the options that best apply. Your selection does not affect the acceptance criteria, but it helps reviewers understand the context of the code and provide relevant feedback.