Skip to content

Commit

Permalink
Add auto install path for Edge downloaded from the MS Store
Browse files Browse the repository at this point in the history
Also increment the version
  • Loading branch information
Ceiridge committed Nov 2, 2021
1 parent 596b9ba commit 4a33b1d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ChromeDevExtWarningPatcher/ChromeDevExtWarningPatcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>net5.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<Version>5.2.1.0</Version>
<Version>5.3.0.0</Version>
<Authors>Ceiridge</Authors>
<Company />
<Product>Chromium Developer Extension Warning Patcher</Product>
Expand All @@ -19,7 +19,7 @@
<EnableDefaultApplicationDefinition>false</EnableDefaultApplicationDefinition>
<StartupObject>ChromeDevExtWarningPatcher.MainClass</StartupObject>
<ApplicationManifest>app.manifest</ApplicationManifest>
<AssemblyVersion>5.2.0.0</AssemblyVersion>
<AssemblyVersion>5.3.0.0</AssemblyVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.IO;

namespace ChromeDevExtWarningPatcher.InstallationFinder.Defaults {
Expand All @@ -10,6 +11,7 @@ public override List<InstallationPaths> FindInstallationPaths() {

AddDllAndExeToList(dllFiles, this.GetLatestDllAndExe(new DirectoryInfo(@"C:\Program Files (x86)\Microsoft\Edge\Application"), "msedge.dll", "msedge.exe"));
AddDllAndExeToList(dllFiles, this.GetLatestDllAndExe(new DirectoryInfo(@"C:\Program Files\Microsoft\Edge\Application"), "msedge.dll", "msedge.exe"));
AddDllAndExeToList(dllFiles, this.GetLatestDllAndExe(new DirectoryInfo(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"Microsoft\Edge\Application")), "msedge.dll", "msedge.exe")); // From the MS Store

return dllFiles;
}
Expand Down
2 changes: 1 addition & 1 deletion ChromeDllInjector/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.2.1.0")]
[assembly: AssemblyVersion("5.3.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
2 changes: 1 addition & 1 deletion ChromeDllInjectorBuildZipper/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.2.1.0")]
[assembly: AssemblyVersion("5.3.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
4 changes: 2 additions & 2 deletions ChromePatcherDll/ChromePatcherDll.rc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ END

VS_VERSION_INFO VERSIONINFO
FILEVERSION 7,0,0,0
PRODUCTVERSION 5,2,1,0
PRODUCTVERSION 5,3,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -74,7 +74,7 @@ BEGIN
VALUE "LegalCopyright", "GNU General Public License 3, Ceiridge"
VALUE "OriginalFilename", "ChromePatcherDll.dll"
VALUE "ProductName", "Chromium Developer Extension Warning Patcher"
VALUE "ProductVersion", "5.2.1.0"
VALUE "ProductVersion", "5.3.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
2 changes: 1 addition & 1 deletion patterns.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
For Brave: Download .sym debug files at https://github.com/brave/brave-browser/releases/tag (Search for the function name and add the offset to the base address)
-->

<Defaults version="5.1">
<Defaults version="5.3">
<Patterns>
<Pattern name="Remove Extension Warning">
<!-- DevModeBubbleDelegate::ShouldIncludeExtension; ("ProxyOverriddenBubble.UserSelection" 2nd function in the vtable) -->
Expand Down

0 comments on commit 4a33b1d

Please sign in to comment.