├── .gitattributes
├── Edge Updater 32.ico
├── Edge Updater.ico
├── Form1.Designer.cs
├── Form1.cs
├── Form1.resx
├── LICENSE
├── Langfile.cs
├── Launcher
├── Edge Beta x64 Launcher
│ ├── Edge Beta x64 Launcher.csproj
│ ├── Edge Beta x64 Launcher.csproj.user
│ ├── Edge Beta x64 Launcher.sln
│ ├── Edge Launcher Beta.ico
│ ├── Edge launcher Beta 32.ico
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ └── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
├── Edge Beta x86 Launcher
│ ├── Edge Beta x86 Launcher.csproj
│ ├── Edge Beta x86 Launcher.csproj.user
│ ├── Edge Beta x86 Launcher.sln
│ ├── Edge Launcher Beta.ico
│ ├── Edge launcher Beta 32.ico
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ └── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
├── Edge Canary x64 Launcher
│ ├── Edge Canary x64 Launcher.csproj
│ ├── Edge Canary x64 Launcher.csproj.user
│ ├── Edge Canary x64 Launcher.sln
│ ├── Edge Launcher Canary.ico
│ ├── Edge launcher Canary 32.ico
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ └── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
├── Edge Canary x86 Launcher
│ ├── Edge Canary x86 Launcher.csproj
│ ├── Edge Canary x86 Launcher.csproj.user
│ ├── Edge Canary x86 Launcher.sln
│ ├── Edge Launcher Canary.ico
│ ├── Edge launcher Canary 32.ico
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ └── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
├── Edge Dev x64 Launcher
│ ├── Edge Dev x64 Launcher.csproj
│ ├── Edge Dev x64 Launcher.csproj.user
│ ├── Edge Dev x64 Launcher.sln
│ ├── Edge Launcher Dev.ico
│ ├── Edge launcher Dev 32.ico
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ └── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
├── Edge Dev x86 Launcher
│ ├── Edge Dev x86 Launcher.csproj
│ ├── Edge Dev x86 Launcher.csproj.user
│ ├── Edge Dev x86 Launcher.sln
│ ├── Edge Launcher Dev.ico
│ ├── Edge launcher Dev 32.ico
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ └── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
├── Edge Launcher
│ ├── Edge Launcher.csproj
│ ├── Edge Launcher.csproj.user
│ ├── Edge Launcher.ico
│ ├── Edge Launcher.sln
│ ├── Edge launcher 32.ico
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ └── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
├── Edge Stable x64 Launcher
│ ├── Edge Launcher.ico
│ ├── Edge Stable x64 Launcher.csproj
│ ├── Edge Stable x64 Launcher.csproj.user
│ ├── Edge Stable x64 Launcher.sln
│ ├── Edge launcher 32.ico
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ └── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
├── Edge Stable x86 Launcher
│ ├── Edge Launcher.ico
│ ├── Edge Stable x86 Launcher.csproj
│ ├── Edge Stable x86 Launcher.csproj.user
│ ├── Edge Stable x86 Launcher.sln
│ ├── Edge launcher 32.ico
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ └── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
├── Launcher.7z
└── Version.txt
├── Portable Edge (Chromium) Updater.csproj
├── Portable Edge (Chromium) Updater.sln
├── Portable Edge (Chromium) Updater.user
├── Program.cs
├── Properties
├── AssemblyInfo.cs
├── Resources.Designer.cs
├── Resources.resx
├── Settings.Designer.cs
└── Settings.settings
├── README.md
├── Regfile.cs
├── Version.txt
└── app.config
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/Edge Updater 32.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Edge Updater 32.ico
--------------------------------------------------------------------------------
/Edge Updater.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Edge Updater.ico
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 UndertakerBen
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Edge Beta x64 Launcher.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}
8 | WinExe
9 | Edge_Beta_x64_Launcher
10 | Edge Beta x64 Launcher
11 | v4.0
12 | 512
13 | true
14 | publish\
15 | true
16 | Disk
17 | false
18 | Foreground
19 | 7
20 | Days
21 | false
22 | false
23 | true
24 | 0
25 | 1.0.0.%2a
26 | false
27 | false
28 | true
29 |
30 |
31 | AnyCPU
32 | true
33 | full
34 | false
35 | bin\Debug\
36 | DEBUG;TRACE
37 | prompt
38 | 4
39 |
40 |
41 | AnyCPU
42 | pdbonly
43 | true
44 | bin\Release\
45 | TRACE
46 | prompt
47 | 4
48 |
49 |
50 | Edge Launcher Beta.ico
51 |
52 |
53 | true
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | Form
70 |
71 |
72 | Form1.cs
73 |
74 |
75 |
76 |
77 | Form1.cs
78 |
79 |
80 | ResXFileCodeGenerator
81 | Resources.Designer.cs
82 | Designer
83 |
84 |
85 | True
86 | Resources.resx
87 | True
88 |
89 |
90 | SettingsSingleFileGenerator
91 | Settings.Designer.cs
92 |
93 |
94 | True
95 | Settings.settings
96 | True
97 |
98 |
99 |
100 |
101 | False
102 | .NET Framework 3.5 SP1
103 | false
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Edge Beta x64 Launcher.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | publish\
5 |
6 |
7 |
8 |
9 |
10 | de-DE
11 | false
12 |
13 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Edge Beta x64 Launcher.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Edge Beta x64 Launcher", "Edge Beta x64 Launcher.csproj", "{989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {244BAEF9-A7A0-4236-8F25-8A4DF7FCB2AE}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Edge Launcher Beta.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Beta x64 Launcher/Edge Launcher Beta.ico
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Edge launcher Beta 32.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Beta x64 Launcher/Edge launcher Beta 32.ico
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Edge_Beta_x64_Launcher
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Erforderliche Designervariable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Verwendete Ressourcen bereinigen.
12 | ///
13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Vom Windows Form-Designer generierter Code
24 |
25 | ///
26 | /// Erforderliche Methode für die Designerunterstützung.
27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
32 | this.button1 = new System.Windows.Forms.Button();
33 | this.radioButton1 = new System.Windows.Forms.RadioButton();
34 | this.radioButton2 = new System.Windows.Forms.RadioButton();
35 | this.radioButton3 = new System.Windows.Forms.RadioButton();
36 | this.SuspendLayout();
37 | //
38 | // button1
39 | //
40 | resources.ApplyResources(this.button1, "button1");
41 | this.button1.Name = "button1";
42 | this.button1.UseVisualStyleBackColor = true;
43 | this.button1.Click += new System.EventHandler(this.Button1_Click);
44 | //
45 | // radioButton1
46 | //
47 | resources.ApplyResources(this.radioButton1, "radioButton1");
48 | this.radioButton1.Name = "radioButton1";
49 | this.radioButton1.UseVisualStyleBackColor = true;
50 | //
51 | // radioButton2
52 | //
53 | resources.ApplyResources(this.radioButton2, "radioButton2");
54 | this.radioButton2.Checked = true;
55 | this.radioButton2.Name = "radioButton2";
56 | this.radioButton2.TabStop = true;
57 | this.radioButton2.UseVisualStyleBackColor = true;
58 | //
59 | // radioButton3
60 | //
61 | resources.ApplyResources(this.radioButton3, "radioButton3");
62 | this.radioButton3.Name = "radioButton3";
63 | this.radioButton3.UseVisualStyleBackColor = true;
64 | //
65 | // Form1
66 | //
67 | resources.ApplyResources(this, "$this");
68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
69 | this.Controls.Add(this.radioButton3);
70 | this.Controls.Add(this.radioButton2);
71 | this.Controls.Add(this.radioButton1);
72 | this.Controls.Add(this.button1);
73 | this.Name = "Form1";
74 | this.ResumeLayout(false);
75 | this.PerformLayout();
76 |
77 | }
78 |
79 | #endregion
80 | private System.Windows.Forms.Button button1;
81 | private System.Windows.Forms.RadioButton radioButton1;
82 | private System.Windows.Forms.RadioButton radioButton2;
83 | private System.Windows.Forms.RadioButton radioButton3;
84 | }
85 | }
86 |
87 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Form1.cs:
--------------------------------------------------------------------------------
1 | using System.Globalization;
2 | using System.IO;
3 | using System.Windows.Forms;
4 |
5 | namespace Edge_Beta_x64_Launcher
6 | {
7 | public partial class Form1 : Form
8 | {
9 | private readonly string applicationPath = Application.StartupPath;
10 | public Form1()
11 | {
12 | CultureInfo culture = CultureInfo.CurrentUICulture;
13 | InitializeComponent();
14 | switch (culture.TwoLetterISOLanguageName)
15 | {
16 | case "de":
17 | radioButton3.Text = "Das Standard Profil von Edge (Chromium) verwenden";
18 | radioButton2.Text = "Für jede Version ein eigenes Profil verwenden";
19 | radioButton1.Text = "Ein Profil für alle Versionen verwenden";
20 | break;
21 | case "ru":
22 | radioButton3.Text = "Использовать стандартное месторасположение профиля (readme)";
23 | radioButton2.Text = "Использовать разные папки для профилей разных версий";
24 | radioButton1.Text = "Использовать один профиль для всех версий";
25 | break;
26 | default:
27 | radioButton3.Text = "Use the standard profile of Edge (Chromium)";
28 | radioButton2.Text = "Use a separate profile for each version";
29 | radioButton1.Text = "Use one profile for all versions";
30 | break;
31 | }
32 | }
33 | private void Button1_Click(object sender, System.EventArgs e)
34 | {
35 | if (radioButton1.Checked)
36 | {
37 | File.WriteAllText(applicationPath + "\\Edge Beta x64\\Profile.txt", "--user-data-dir=\"profile\"");
38 | this.Close();
39 | }
40 | if (radioButton2.Checked)
41 | {
42 | File.WriteAllText(applicationPath + "\\Edge Beta x64\\Profile.txt", "--user-data-dir=\"Edge Beta x64\\profile\"");
43 | this.Close();
44 | }
45 | if (radioButton3.Checked)
46 | {
47 | File.WriteAllText(applicationPath + "\\Edge Beta x64\\Profile.txt", "");
48 | this.Close();
49 | }
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Globalization;
4 | using System.Windows.Forms;
5 | using System.IO;
6 |
7 | namespace Edge_Beta_x64_Launcher
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// Der Haupteinstiegspunkt für die Anwendung.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | CultureInfo culture1 = CultureInfo.CurrentUICulture;
18 | string applicationPath = Application.StartupPath;
19 | if (File.Exists(applicationPath + "\\Edge Beta x64\\msedge.exe"))
20 | {
21 | var sb = new System.Text.StringBuilder();
22 | string[] CommandLineArgs = Environment.GetCommandLineArgs();
23 | for (int i = 1; i < CommandLineArgs.Length; i++)
24 | {
25 | if (CommandLineArgs[i].Contains("="))
26 | {
27 | if (CommandLineArgs[i].Contains("LinkID"))
28 | {
29 | sb.Append(" " + CommandLineArgs[i]);
30 | }
31 | else if (CommandLineArgs[i].Contains("http"))
32 | {
33 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
34 | }
35 | else
36 | {
37 | string[] test = CommandLineArgs[i].Split(new char[] { '=' }, 2);
38 | sb.Append(" " + test[0] + "=\"" + test[1] + "\"");
39 | }
40 | }
41 | else if (CommandLineArgs[i].Contains(".pdf"))
42 | {
43 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
44 | }
45 | else
46 | {
47 | sb.Append(" " + CommandLineArgs[i]);
48 | }
49 | }
50 | if (!File.Exists(applicationPath + "\\Edge Beta x64\\Profile.txt"))
51 | {
52 | Application.EnableVisualStyles();
53 | Application.SetCompatibleTextRenderingDefault(false);
54 | Application.Run(new Form1());
55 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Beta x64\\Profile.txt") + sb.ToString();
56 | if (Arguments.Contains("--user-data-dir="))
57 | {
58 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
59 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
60 | _ = Process.Start(applicationPath + "\\Edge Beta x64\\msedge.exe", Arguments3.Replace("'", ""));
61 | }
62 | else
63 | {
64 | Process.Start(applicationPath + "\\Edge Beta x64\\msedge.exe", Arguments);
65 | }
66 | }
67 | else
68 | {
69 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Beta x64\\Profile.txt") + sb.ToString();
70 | if (Arguments.Contains("--user-data-dir="))
71 | {
72 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
73 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
74 | _ = Process.Start(applicationPath + "\\Edge Beta x64\\msedge.exe", Arguments3.Replace("'", ""));
75 | }
76 | else
77 | {
78 | Process.Start(applicationPath + "\\Edge Beta x64\\msedge.exe", Arguments);
79 | }
80 | }
81 | }
82 | else if (culture1.TwoLetterISOLanguageName == "de")
83 | {
84 | _ = MessageBox.Show("Edge (Chromium) ist nicht installiert", "Edge Beta x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
85 | }
86 | else if (culture1.TwoLetterISOLanguageName == "ru")
87 | {
88 | _ = MessageBox.Show("Microsoft Edge (Chromium) Portable не найден", "Edge Beta x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
89 | }
90 | else
91 | {
92 | _ = MessageBox.Show("Edge (Chromium) is not installed", "Edge Beta x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
93 | }
94 | }
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("Edge Beta x64 Launcher")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")]
12 | [assembly: AssemblyProduct("Edge Beta x64 Launcher")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("989ac71b-8082-4a6b-ba4a-4d7aafd83fa3")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.2.0.0")]
36 | [assembly: AssemblyFileVersion("1.2.0.0")]
37 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Beta_x64_Launcher.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
17 | ///
18 | // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
19 | // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
20 | // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
21 | // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Edge_Beta_x64_Launcher.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
51 | /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Beta_x64_Launcher.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x64 Launcher/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Edge Beta x86 Launcher.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}
8 | WinExe
9 | Edge_Beta_x86_Launcher
10 | Edge Beta x86 Launcher
11 | v4.0
12 | 512
13 | true
14 | publish\
15 | true
16 | Disk
17 | false
18 | Foreground
19 | 7
20 | Days
21 | false
22 | false
23 | true
24 | 0
25 | 1.0.0.%2a
26 | false
27 | false
28 | true
29 |
30 |
31 | AnyCPU
32 | true
33 | full
34 | false
35 | bin\Debug\
36 | DEBUG;TRACE
37 | prompt
38 | 4
39 |
40 |
41 | AnyCPU
42 | pdbonly
43 | true
44 | bin\Release\
45 | TRACE
46 | prompt
47 | 4
48 |
49 |
50 | Edge Launcher Beta.ico
51 |
52 |
53 | true
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | Form
70 |
71 |
72 | Form1.cs
73 |
74 |
75 |
76 |
77 | Form1.cs
78 |
79 |
80 | ResXFileCodeGenerator
81 | Resources.Designer.cs
82 | Designer
83 |
84 |
85 | True
86 | Resources.resx
87 | True
88 |
89 |
90 | SettingsSingleFileGenerator
91 | Settings.Designer.cs
92 |
93 |
94 | True
95 | Settings.settings
96 | True
97 |
98 |
99 |
100 |
101 | False
102 | .NET Framework 3.5 SP1
103 | false
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Edge Beta x86 Launcher.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | publish\
5 |
6 |
7 |
8 |
9 |
10 | de-DE
11 | false
12 |
13 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Edge Beta x86 Launcher.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Edge Beta x86 Launcher", "Edge Beta x86 Launcher.csproj", "{989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {244BAEF9-A7A0-4236-8F25-8A4DF7FCB2AE}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Edge Launcher Beta.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Beta x86 Launcher/Edge Launcher Beta.ico
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Edge launcher Beta 32.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Beta x86 Launcher/Edge launcher Beta 32.ico
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Edge_Beta_x86_Launcher
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Erforderliche Designervariable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Verwendete Ressourcen bereinigen.
12 | ///
13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Vom Windows Form-Designer generierter Code
24 |
25 | ///
26 | /// Erforderliche Methode für die Designerunterstützung.
27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
32 | this.button1 = new System.Windows.Forms.Button();
33 | this.radioButton1 = new System.Windows.Forms.RadioButton();
34 | this.radioButton2 = new System.Windows.Forms.RadioButton();
35 | this.radioButton3 = new System.Windows.Forms.RadioButton();
36 | this.SuspendLayout();
37 | //
38 | // button1
39 | //
40 | resources.ApplyResources(this.button1, "button1");
41 | this.button1.Name = "button1";
42 | this.button1.UseVisualStyleBackColor = true;
43 | this.button1.Click += new System.EventHandler(this.Button1_Click);
44 | //
45 | // radioButton1
46 | //
47 | resources.ApplyResources(this.radioButton1, "radioButton1");
48 | this.radioButton1.Name = "radioButton1";
49 | this.radioButton1.UseVisualStyleBackColor = true;
50 | //
51 | // radioButton2
52 | //
53 | resources.ApplyResources(this.radioButton2, "radioButton2");
54 | this.radioButton2.Checked = true;
55 | this.radioButton2.Name = "radioButton2";
56 | this.radioButton2.TabStop = true;
57 | this.radioButton2.UseVisualStyleBackColor = true;
58 | //
59 | // radioButton3
60 | //
61 | resources.ApplyResources(this.radioButton3, "radioButton3");
62 | this.radioButton3.Name = "radioButton3";
63 | this.radioButton3.UseVisualStyleBackColor = true;
64 | //
65 | // Form1
66 | //
67 | resources.ApplyResources(this, "$this");
68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
69 | this.Controls.Add(this.radioButton3);
70 | this.Controls.Add(this.radioButton2);
71 | this.Controls.Add(this.radioButton1);
72 | this.Controls.Add(this.button1);
73 | this.Name = "Form1";
74 | this.ResumeLayout(false);
75 | this.PerformLayout();
76 |
77 | }
78 |
79 | #endregion
80 | private System.Windows.Forms.Button button1;
81 | private System.Windows.Forms.RadioButton radioButton1;
82 | private System.Windows.Forms.RadioButton radioButton2;
83 | private System.Windows.Forms.RadioButton radioButton3;
84 | }
85 | }
86 |
87 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Form1.cs:
--------------------------------------------------------------------------------
1 | using System.Globalization;
2 | using System.IO;
3 | using System.Windows.Forms;
4 |
5 | namespace Edge_Beta_x86_Launcher
6 | {
7 | public partial class Form1 : Form
8 | {
9 | private readonly string applicationPath = Application.StartupPath;
10 | public Form1()
11 | {
12 | CultureInfo culture = CultureInfo.CurrentUICulture;
13 | InitializeComponent();
14 | switch (culture.TwoLetterISOLanguageName)
15 | {
16 | case "de":
17 | radioButton3.Text = "Das Standard Profil von Edge (Chromium) verwenden";
18 | radioButton2.Text = "Für jede Version ein eigenes Profil verwenden";
19 | radioButton1.Text = "Ein Profil für alle Versionen verwenden";
20 | break;
21 | case "ru":
22 | radioButton3.Text = "Использовать стандартное месторасположение профиля (readme)";
23 | radioButton2.Text = "Использовать разные папки для профилей разных версий";
24 | radioButton1.Text = "Использовать один профиль для всех версий";
25 | break;
26 | default:
27 | radioButton3.Text = "Use the standard profile of Edge (Chromium)";
28 | radioButton2.Text = "Use a separate profile for each version";
29 | radioButton1.Text = "Use one profile for all versions";
30 | break;
31 | }
32 | }
33 | private void Button1_Click(object sender, System.EventArgs e)
34 | {
35 | if (radioButton1.Checked)
36 | {
37 | File.WriteAllText(applicationPath + "\\Edge Beta x86\\Profile.txt", "--user-data-dir=\"profile\"");
38 | this.Close();
39 | }
40 | if (radioButton2.Checked)
41 | {
42 | File.WriteAllText(applicationPath + "\\Edge Beta x86\\Profile.txt", "--user-data-dir=\"Edge Beta x86\\profile\"");
43 | this.Close();
44 | }
45 | if (radioButton3.Checked)
46 | {
47 | File.WriteAllText(applicationPath + "\\Edge Beta x86\\Profile.txt", "");
48 | this.Close();
49 | }
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Globalization;
4 | using System.Windows.Forms;
5 | using System.IO;
6 |
7 | namespace Edge_Beta_x86_Launcher
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// Der Haupteinstiegspunkt für die Anwendung.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | CultureInfo culture1 = CultureInfo.CurrentUICulture;
18 | string applicationPath = Application.StartupPath;
19 | if (File.Exists(applicationPath + "\\Edge Beta x86\\msedge.exe"))
20 | {
21 | var sb = new System.Text.StringBuilder();
22 | string[] CommandLineArgs = Environment.GetCommandLineArgs();
23 | for (int i = 1; i < CommandLineArgs.Length; i++)
24 | {
25 | if (CommandLineArgs[i].Contains("="))
26 | {
27 | if (CommandLineArgs[i].Contains("LinkID"))
28 | {
29 | sb.Append(" " + CommandLineArgs[i]);
30 | }
31 | else if (CommandLineArgs[i].Contains("http"))
32 | {
33 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
34 | }
35 | else
36 | {
37 | string[] test = CommandLineArgs[i].Split(new char[] { '=' }, 2);
38 | sb.Append(" " + test[0] + "=\"" + test[1] + "\"");
39 | }
40 | }
41 | else if (CommandLineArgs[i].Contains(".pdf"))
42 | {
43 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
44 | }
45 | else
46 | {
47 | sb.Append(" " + CommandLineArgs[i]);
48 | }
49 | }
50 | if (!File.Exists(applicationPath + "\\Edge Beta x86\\Profile.txt"))
51 | {
52 | Application.EnableVisualStyles();
53 | Application.SetCompatibleTextRenderingDefault(false);
54 | Application.Run(new Form1());
55 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Beta x86\\Profile.txt") + sb.ToString();
56 | if (Arguments.Contains("--user-data-dir="))
57 | {
58 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
59 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
60 | _ = Process.Start(applicationPath + "\\Edge Beta x86\\msedge.exe", Arguments3.Replace("'", ""));
61 | }
62 | else
63 | {
64 | Process.Start(applicationPath + "\\Edge Beta x86\\msedge.exe", Arguments);
65 | }
66 | }
67 | else
68 | {
69 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Beta x86\\Profile.txt") + sb.ToString();
70 | if (Arguments.Contains("--user-data-dir="))
71 | {
72 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
73 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
74 | _ = Process.Start(applicationPath + "\\Edge Beta x86\\msedge.exe", Arguments3.Replace("'", ""));
75 | }
76 | else
77 | {
78 | Process.Start(applicationPath + "\\Edge Beta x86\\msedge.exe", Arguments);
79 | }
80 | }
81 | }
82 | else if (culture1.TwoLetterISOLanguageName == "de")
83 | {
84 | _ = MessageBox.Show("Edge (Chromium) ist nicht installiert", "Edge Beta x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
85 | }
86 | else if (culture1.TwoLetterISOLanguageName == "ru")
87 | {
88 | _ = MessageBox.Show("Microsoft Edge (Chromium) Portable не найден", "Edge Beta x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
89 | }
90 | else
91 | {
92 | _ = MessageBox.Show("Edge (Chromium) is not installed", "Edge Beta x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
93 | }
94 | }
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("Edge Beta x86 Launcher")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")]
12 | [assembly: AssemblyProduct("Edge Beta x86 Launcher")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("989ac71b-8082-4a6b-ba4a-4d7aafd83fa3")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.2.0.0")]
36 | [assembly: AssemblyFileVersion("1.2.0.0")]
37 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Beta_x86_Launcher.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
17 | ///
18 | // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
19 | // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
20 | // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
21 | // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Edge_Beta_x86_Launcher.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
51 | /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Beta_x86_Launcher.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Launcher/Edge Beta x86 Launcher/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x64 Launcher/Edge Canary x64 Launcher.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | publish\
5 |
6 |
7 |
8 |
9 |
10 | de-DE
11 | false
12 |
13 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x64 Launcher/Edge Canary x64 Launcher.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Edge Canary x64 Launcher", "Edge Canary x64 Launcher.csproj", "{989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {244BAEF9-A7A0-4236-8F25-8A4DF7FCB2AE}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x64 Launcher/Edge Launcher Canary.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Canary x64 Launcher/Edge Launcher Canary.ico
--------------------------------------------------------------------------------
/Launcher/Edge Canary x64 Launcher/Edge launcher Canary 32.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Canary x64 Launcher/Edge launcher Canary 32.ico
--------------------------------------------------------------------------------
/Launcher/Edge Canary x64 Launcher/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Edge_Canary_x64_Launcher
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Erforderliche Designervariable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Verwendete Ressourcen bereinigen.
12 | ///
13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Vom Windows Form-Designer generierter Code
24 |
25 | ///
26 | /// Erforderliche Methode für die Designerunterstützung.
27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
32 | this.button1 = new System.Windows.Forms.Button();
33 | this.radioButton1 = new System.Windows.Forms.RadioButton();
34 | this.radioButton2 = new System.Windows.Forms.RadioButton();
35 | this.radioButton3 = new System.Windows.Forms.RadioButton();
36 | this.SuspendLayout();
37 | //
38 | // button1
39 | //
40 | resources.ApplyResources(this.button1, "button1");
41 | this.button1.Name = "button1";
42 | this.button1.UseVisualStyleBackColor = true;
43 | this.button1.Click += new System.EventHandler(this.Button1_Click);
44 | //
45 | // radioButton1
46 | //
47 | resources.ApplyResources(this.radioButton1, "radioButton1");
48 | this.radioButton1.Name = "radioButton1";
49 | this.radioButton1.UseVisualStyleBackColor = true;
50 | //
51 | // radioButton2
52 | //
53 | resources.ApplyResources(this.radioButton2, "radioButton2");
54 | this.radioButton2.Checked = true;
55 | this.radioButton2.Name = "radioButton2";
56 | this.radioButton2.TabStop = true;
57 | this.radioButton2.UseVisualStyleBackColor = true;
58 | //
59 | // radioButton3
60 | //
61 | resources.ApplyResources(this.radioButton3, "radioButton3");
62 | this.radioButton3.Name = "radioButton3";
63 | this.radioButton3.UseVisualStyleBackColor = true;
64 | //
65 | // Form1
66 | //
67 | resources.ApplyResources(this, "$this");
68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
69 | this.Controls.Add(this.radioButton3);
70 | this.Controls.Add(this.radioButton2);
71 | this.Controls.Add(this.radioButton1);
72 | this.Controls.Add(this.button1);
73 | this.Name = "Form1";
74 | this.ResumeLayout(false);
75 | this.PerformLayout();
76 |
77 | }
78 |
79 | #endregion
80 | private System.Windows.Forms.Button button1;
81 | private System.Windows.Forms.RadioButton radioButton1;
82 | private System.Windows.Forms.RadioButton radioButton2;
83 | private System.Windows.Forms.RadioButton radioButton3;
84 | }
85 | }
86 |
87 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x64 Launcher/Form1.cs:
--------------------------------------------------------------------------------
1 | using System.Globalization;
2 | using System.IO;
3 | using System.Windows.Forms;
4 |
5 | namespace Edge_Canary_x64_Launcher
6 | {
7 | public partial class Form1 : Form
8 | {
9 | private readonly string applicationPath = Application.StartupPath;
10 | public Form1()
11 | {
12 | CultureInfo culture = CultureInfo.CurrentUICulture;
13 | InitializeComponent();
14 | switch (culture.TwoLetterISOLanguageName)
15 | {
16 | case "de":
17 | radioButton3.Text = "Das Standard Profil von Edge (Chromium) verwenden";
18 | radioButton2.Text = "Für jede Version ein eigenes Profil verwenden";
19 | radioButton1.Text = "Ein Profil für alle Versionen verwenden";
20 | break;
21 | case "ru":
22 | radioButton3.Text = "Использовать стандартное месторасположение профиля (readme)";
23 | radioButton2.Text = "Использовать разные папки для профилей разных версий";
24 | radioButton1.Text = "Использовать один профиль для всех версий";
25 | break;
26 | default:
27 | radioButton3.Text = "Use the standard profile of Edge (Chromium)";
28 | radioButton2.Text = "Use a separate profile for each version";
29 | radioButton1.Text = "Use one profile for all versions";
30 | break;
31 | }
32 | }
33 | private void Button1_Click(object sender, System.EventArgs e)
34 | {
35 | if (radioButton1.Checked)
36 | {
37 | File.WriteAllText(applicationPath + "\\Edge Canary x64\\Profile.txt", "--user-data-dir=\"profile\"");
38 | this.Close();
39 | }
40 | if (radioButton2.Checked)
41 | {
42 | File.WriteAllText(applicationPath + "\\Edge Canary x64\\Profile.txt", "--user-data-dir=\"Edge Canary x64\\profile\"");
43 | this.Close();
44 | }
45 | if (radioButton3.Checked)
46 | {
47 | File.WriteAllText(applicationPath + "\\Edge Canary x64\\Profile.txt", "");
48 | this.Close();
49 | }
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x64 Launcher/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Globalization;
4 | using System.Windows.Forms;
5 | using System.IO;
6 |
7 | namespace Edge_Canary_x64_Launcher
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// Der Haupteinstiegspunkt für die Anwendung.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | CultureInfo culture1 = CultureInfo.CurrentUICulture;
18 | string applicationPath = Application.StartupPath;
19 | if (File.Exists(applicationPath + "\\Edge Canary x64\\msedge.exe"))
20 | {
21 | var sb = new System.Text.StringBuilder();
22 | string[] CommandLineArgs = Environment.GetCommandLineArgs();
23 | for (int i = 1; i < CommandLineArgs.Length; i++)
24 | {
25 | if (CommandLineArgs[i].Contains("="))
26 | {
27 | if (CommandLineArgs[i].Contains("LinkID"))
28 | {
29 | sb.Append(" " + CommandLineArgs[i]);
30 | }
31 | else if (CommandLineArgs[i].Contains("http"))
32 | {
33 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
34 | }
35 | else
36 | {
37 | string[] test = CommandLineArgs[i].Split(new char[] { '=' }, 2);
38 | sb.Append(" " + test[0] + "=\"" + test[1] + "\"");
39 | }
40 | }
41 | else if (CommandLineArgs[i].Contains(".pdf"))
42 | {
43 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
44 | }
45 | else
46 | {
47 | sb.Append(" " + CommandLineArgs[i]);
48 | }
49 | }
50 | if (!File.Exists(applicationPath + "\\Edge Canary x64\\Profile.txt"))
51 | {
52 | Application.EnableVisualStyles();
53 | Application.SetCompatibleTextRenderingDefault(false);
54 | Application.Run(new Form1());
55 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Canary x64\\Profile.txt") + sb.ToString();
56 | if (Arguments.Contains("--user-data-dir="))
57 | {
58 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
59 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
60 | _ = Process.Start(applicationPath + "\\Edge Canary x64\\msedge.exe", Arguments3.Replace("'", ""));
61 | }
62 | else
63 | {
64 | _ = Process.Start(applicationPath + "\\Edge Canary x64\\msedge.exe", Arguments);
65 | } }
66 | else
67 | {
68 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Canary x64\\Profile.txt") + sb.ToString();
69 | if (Arguments.Contains("--user-data-dir="))
70 | {
71 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
72 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
73 | _ = Process.Start(applicationPath + "\\Edge Canary x64\\msedge.exe", Arguments3.Replace("'", ""));
74 | }
75 | else
76 | {
77 | _ = Process.Start(applicationPath + "\\Edge Canary x64\\msedge.exe", Arguments);
78 | }
79 | }
80 | }
81 | else if (culture1.TwoLetterISOLanguageName == "de")
82 | {
83 | _ = MessageBox.Show("Edge (Chromium) ist nicht installiert", "Edge Canary x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
84 | }
85 | else if (culture1.TwoLetterISOLanguageName == "ru")
86 | {
87 | _ = MessageBox.Show("Microsoft Edge (Chromium) Portable не найден", "Edge Canary x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
88 | }
89 | else
90 | {
91 | _ = MessageBox.Show("Edge (Chromium) is not installed", "Edge Canary x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
92 | }
93 | }
94 | }
95 | }
96 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x64 Launcher/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("Edge Canary x64 Launcher")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")]
12 | [assembly: AssemblyProduct("Edge Canary x64 Launcher")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("989ac71b-8082-4a6b-ba4a-4d7aafd83fa3")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.2.0.0")]
36 | [assembly: AssemblyFileVersion("1.2.0.0")]
37 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x64 Launcher/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Canary_x64_Launcher.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
17 | ///
18 | // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
19 | // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
20 | // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
21 | // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Edge_Canary_x64_Launcher.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
51 | /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x64 Launcher/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Canary_x64_Launcher.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x64 Launcher/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x86 Launcher/Edge Canary x86 Launcher.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | publish\
5 |
6 |
7 |
8 |
9 |
10 | de-DE
11 | false
12 |
13 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x86 Launcher/Edge Canary x86 Launcher.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Edge Canary x86 Launcher", "Edge Canary x86 Launcher.csproj", "{989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {244BAEF9-A7A0-4236-8F25-8A4DF7FCB2AE}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x86 Launcher/Edge Launcher Canary.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Canary x86 Launcher/Edge Launcher Canary.ico
--------------------------------------------------------------------------------
/Launcher/Edge Canary x86 Launcher/Edge launcher Canary 32.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Canary x86 Launcher/Edge launcher Canary 32.ico
--------------------------------------------------------------------------------
/Launcher/Edge Canary x86 Launcher/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Edge_Canary_x86_Launcher
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Erforderliche Designervariable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Verwendete Ressourcen bereinigen.
12 | ///
13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Vom Windows Form-Designer generierter Code
24 |
25 | ///
26 | /// Erforderliche Methode für die Designerunterstützung.
27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
32 | this.button1 = new System.Windows.Forms.Button();
33 | this.radioButton1 = new System.Windows.Forms.RadioButton();
34 | this.radioButton2 = new System.Windows.Forms.RadioButton();
35 | this.radioButton3 = new System.Windows.Forms.RadioButton();
36 | this.SuspendLayout();
37 | //
38 | // button1
39 | //
40 | resources.ApplyResources(this.button1, "button1");
41 | this.button1.Name = "button1";
42 | this.button1.UseVisualStyleBackColor = true;
43 | this.button1.Click += new System.EventHandler(this.Button1_Click);
44 | //
45 | // radioButton1
46 | //
47 | resources.ApplyResources(this.radioButton1, "radioButton1");
48 | this.radioButton1.Name = "radioButton1";
49 | this.radioButton1.UseVisualStyleBackColor = true;
50 | //
51 | // radioButton2
52 | //
53 | resources.ApplyResources(this.radioButton2, "radioButton2");
54 | this.radioButton2.Checked = true;
55 | this.radioButton2.Name = "radioButton2";
56 | this.radioButton2.TabStop = true;
57 | this.radioButton2.UseVisualStyleBackColor = true;
58 | //
59 | // radioButton3
60 | //
61 | resources.ApplyResources(this.radioButton3, "radioButton3");
62 | this.radioButton3.Name = "radioButton3";
63 | this.radioButton3.UseVisualStyleBackColor = true;
64 | //
65 | // Form1
66 | //
67 | resources.ApplyResources(this, "$this");
68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
69 | this.Controls.Add(this.radioButton3);
70 | this.Controls.Add(this.radioButton2);
71 | this.Controls.Add(this.radioButton1);
72 | this.Controls.Add(this.button1);
73 | this.Name = "Form1";
74 | this.ResumeLayout(false);
75 | this.PerformLayout();
76 |
77 | }
78 |
79 | #endregion
80 | private System.Windows.Forms.Button button1;
81 | private System.Windows.Forms.RadioButton radioButton1;
82 | private System.Windows.Forms.RadioButton radioButton2;
83 | private System.Windows.Forms.RadioButton radioButton3;
84 | }
85 | }
86 |
87 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x86 Launcher/Form1.cs:
--------------------------------------------------------------------------------
1 | using System.Globalization;
2 | using System.IO;
3 | using System.Windows.Forms;
4 |
5 | namespace Edge_Canary_x86_Launcher
6 | {
7 | public partial class Form1 : Form
8 | {
9 | private readonly string applicationPath = Application.StartupPath;
10 | public Form1()
11 | {
12 | CultureInfo culture = CultureInfo.CurrentUICulture;
13 | InitializeComponent();
14 | switch (culture.TwoLetterISOLanguageName)
15 | {
16 | case "de":
17 | radioButton3.Text = "Das Standard Profil von Edge (Chromium) verwenden";
18 | radioButton2.Text = "Für jede Version ein eigenes Profil verwenden";
19 | radioButton1.Text = "Ein Profil für alle Versionen verwenden";
20 | break;
21 | case "ru":
22 | radioButton3.Text = "Использовать стандартное месторасположение профиля (readme)";
23 | radioButton2.Text = "Использовать разные папки для профилей разных версий";
24 | radioButton1.Text = "Использовать один профиль для всех версий";
25 | break;
26 | default:
27 | radioButton3.Text = "Use the standard profile of Edge (Chromium)";
28 | radioButton2.Text = "Use a separate profile for each version";
29 | radioButton1.Text = "Use one profile for all versions";
30 | break;
31 | }
32 | }
33 | private void Button1_Click(object sender, System.EventArgs e)
34 | {
35 | if (radioButton1.Checked)
36 | {
37 | File.WriteAllText(applicationPath + "\\Edge Canary x86\\Profile.txt", "--user-data-dir=\"profile\"");
38 | this.Close();
39 | }
40 | if (radioButton2.Checked)
41 | {
42 | File.WriteAllText(applicationPath + "\\Edge Canary x86\\Profile.txt", "--user-data-dir=\"Edge Canary x86\\profile\"");
43 | this.Close();
44 | }
45 | if (radioButton3.Checked)
46 | {
47 | File.WriteAllText(applicationPath + "\\Edge Canary x86\\Profile.txt", "");
48 | this.Close();
49 | }
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x86 Launcher/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Globalization;
4 | using System.Windows.Forms;
5 | using System.IO;
6 |
7 | namespace Edge_Canary_x86_Launcher
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// Der Haupteinstiegspunkt für die Anwendung.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | CultureInfo culture1 = CultureInfo.CurrentUICulture;
18 | string applicationPath = Application.StartupPath;
19 | if (File.Exists(applicationPath + "\\Edge Canary x86\\msedge.exe"))
20 | {
21 | var sb = new System.Text.StringBuilder();
22 | string[] CommandLineArgs = Environment.GetCommandLineArgs();
23 | for (int i = 1; i < CommandLineArgs.Length; i++)
24 | {
25 | if (CommandLineArgs[i].Contains("="))
26 | {
27 | if (CommandLineArgs[i].Contains("LinkID"))
28 | {
29 | sb.Append(" " + CommandLineArgs[i]);
30 | }
31 | else if (CommandLineArgs[i].Contains("http"))
32 | {
33 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
34 | }
35 | else
36 | {
37 | string[] test = CommandLineArgs[i].Split(new char[] { '=' }, 2);
38 | sb.Append(" " + test[0] + "=\"" + test[1] + "\"");
39 | }
40 | }
41 | else if (CommandLineArgs[i].Contains(".pdf"))
42 | {
43 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
44 | }
45 | else
46 | {
47 | sb.Append(" " + CommandLineArgs[i]);
48 | }
49 | }
50 | if (!File.Exists(applicationPath + "\\Edge Canary x86\\Profile.txt"))
51 | {
52 | Application.EnableVisualStyles();
53 | Application.SetCompatibleTextRenderingDefault(false);
54 | Application.Run(new Form1());
55 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Canary x86\\Profile.txt") + sb.ToString();
56 | if (Arguments.Contains("--user-data-dir="))
57 | {
58 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
59 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
60 | _ = Process.Start(applicationPath + "\\Edge Canary x86\\msedge.exe", Arguments3.Replace("'", ""));
61 | }
62 | else
63 | {
64 | _ = Process.Start(applicationPath + "\\Edge Canary x86\\msedge.exe", Arguments);
65 | }
66 | }
67 | else
68 | {
69 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Canary x86\\Profile.txt") + sb.ToString();
70 | if (Arguments.Contains("--user-data-dir="))
71 | {
72 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
73 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
74 | _ = Process.Start(applicationPath + "\\Edge Canary x86\\msedge.exe", Arguments3.Replace("'", ""));
75 | }
76 | else
77 | {
78 | _ = Process.Start(applicationPath + "\\Edge Canary x86\\msedge.exe", Arguments);
79 | }
80 | }
81 | }
82 | else if (culture1.TwoLetterISOLanguageName == "de")
83 | {
84 | _ = MessageBox.Show("Edge (Chromium) ist nicht installiert", "Edge Canary x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
85 | }
86 | else if (culture1.TwoLetterISOLanguageName == "ru")
87 | {
88 | _ = MessageBox.Show("Microsoft Edge (Chromium) Portable не найден", "Edge Canary x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
89 | }
90 | else
91 | {
92 | _ = MessageBox.Show("Edge (Chromium) is not installed", "Edge Canary x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
93 | }
94 | }
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x86 Launcher/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("Edge Canary x86 Launcher")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")]
12 | [assembly: AssemblyProduct("Edge Canary x86 Launcher")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("989ac71b-8082-4a6b-ba4a-4d7aafd83fa3")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.2.0.0")]
36 | [assembly: AssemblyFileVersion("1.2.0.0")]
37 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x86 Launcher/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Canary_x86_Launcher.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
17 | ///
18 | // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
19 | // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
20 | // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
21 | // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Edge_Canary_x86_Launcher.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
51 | /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x86 Launcher/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Canary_x86_Launcher.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Launcher/Edge Canary x86 Launcher/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Edge Dev x64 Launcher.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}
8 | WinExe
9 | Edge_Dev_x64_Launcher
10 | Edge Dev x64 Launcher
11 | v4.0
12 | 512
13 | true
14 | publish\
15 | true
16 | Disk
17 | false
18 | Foreground
19 | 7
20 | Days
21 | false
22 | false
23 | true
24 | 0
25 | 1.0.0.%2a
26 | false
27 | false
28 | true
29 |
30 |
31 | AnyCPU
32 | true
33 | full
34 | false
35 | bin\Debug\
36 | DEBUG;TRACE
37 | prompt
38 | 4
39 |
40 |
41 | AnyCPU
42 | pdbonly
43 | true
44 | bin\Release\
45 | TRACE
46 | prompt
47 | 4
48 |
49 |
50 | Edge Launcher Dev.ico
51 |
52 |
53 | true
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | Form
70 |
71 |
72 | Form1.cs
73 |
74 |
75 |
76 |
77 | Form1.cs
78 |
79 |
80 | ResXFileCodeGenerator
81 | Resources.Designer.cs
82 | Designer
83 |
84 |
85 | True
86 | Resources.resx
87 | True
88 |
89 |
90 | SettingsSingleFileGenerator
91 | Settings.Designer.cs
92 |
93 |
94 | True
95 | Settings.settings
96 | True
97 |
98 |
99 |
100 |
101 | False
102 | .NET Framework 3.5 SP1
103 | false
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Edge Dev x64 Launcher.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | publish\
5 |
6 |
7 |
8 |
9 |
10 | de-DE
11 | false
12 |
13 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Edge Dev x64 Launcher.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Edge Dev x64 Launcher", "Edge Dev x64 Launcher.csproj", "{989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {244BAEF9-A7A0-4236-8F25-8A4DF7FCB2AE}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Edge Launcher Dev.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Dev x64 Launcher/Edge Launcher Dev.ico
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Edge launcher Dev 32.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Dev x64 Launcher/Edge launcher Dev 32.ico
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Edge_Dev_x64_Launcher
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Erforderliche Designervariable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Verwendete Ressourcen bereinigen.
12 | ///
13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Vom Windows Form-Designer generierter Code
24 |
25 | ///
26 | /// Erforderliche Methode für die Designerunterstützung.
27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
32 | this.button1 = new System.Windows.Forms.Button();
33 | this.radioButton1 = new System.Windows.Forms.RadioButton();
34 | this.radioButton2 = new System.Windows.Forms.RadioButton();
35 | this.radioButton3 = new System.Windows.Forms.RadioButton();
36 | this.SuspendLayout();
37 | //
38 | // button1
39 | //
40 | resources.ApplyResources(this.button1, "button1");
41 | this.button1.Name = "button1";
42 | this.button1.UseVisualStyleBackColor = true;
43 | this.button1.Click += new System.EventHandler(this.Button1_Click);
44 | //
45 | // radioButton1
46 | //
47 | resources.ApplyResources(this.radioButton1, "radioButton1");
48 | this.radioButton1.Name = "radioButton1";
49 | this.radioButton1.UseVisualStyleBackColor = true;
50 | //
51 | // radioButton2
52 | //
53 | resources.ApplyResources(this.radioButton2, "radioButton2");
54 | this.radioButton2.Checked = true;
55 | this.radioButton2.Name = "radioButton2";
56 | this.radioButton2.TabStop = true;
57 | this.radioButton2.UseVisualStyleBackColor = true;
58 | //
59 | // radioButton3
60 | //
61 | resources.ApplyResources(this.radioButton3, "radioButton3");
62 | this.radioButton3.Name = "radioButton3";
63 | this.radioButton3.UseVisualStyleBackColor = true;
64 | //
65 | // Form1
66 | //
67 | resources.ApplyResources(this, "$this");
68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
69 | this.Controls.Add(this.radioButton3);
70 | this.Controls.Add(this.radioButton2);
71 | this.Controls.Add(this.radioButton1);
72 | this.Controls.Add(this.button1);
73 | this.Name = "Form1";
74 | this.ResumeLayout(false);
75 | this.PerformLayout();
76 |
77 | }
78 |
79 | #endregion
80 | private System.Windows.Forms.Button button1;
81 | private System.Windows.Forms.RadioButton radioButton1;
82 | private System.Windows.Forms.RadioButton radioButton2;
83 | private System.Windows.Forms.RadioButton radioButton3;
84 | }
85 | }
86 |
87 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Form1.cs:
--------------------------------------------------------------------------------
1 | using System.Globalization;
2 | using System.IO;
3 | using System.Windows.Forms;
4 |
5 | namespace Edge_Dev_x64_Launcher
6 | {
7 | public partial class Form1 : Form
8 | {
9 | private readonly string applicationPath = Application.StartupPath;
10 | public Form1()
11 | {
12 | CultureInfo culture = CultureInfo.CurrentUICulture;
13 | InitializeComponent();
14 | switch (culture.TwoLetterISOLanguageName)
15 | {
16 | case "de":
17 | radioButton3.Text = "Das Standard Profil von Edge (Chromium) verwenden";
18 | radioButton2.Text = "Für jede Version ein eigenes Profil verwenden";
19 | radioButton1.Text = "Ein Profil für alle Versionen verwenden";
20 | break;
21 | case "ru":
22 | radioButton3.Text = "Использовать стандартное месторасположение профиля (readme)";
23 | radioButton2.Text = "Использовать разные папки для профилей разных версий";
24 | radioButton1.Text = "Использовать один профиль для всех версий";
25 | break;
26 | default:
27 | radioButton3.Text = "Use the standard profile of Edge (Chromium)";
28 | radioButton2.Text = "Use a separate profile for each version";
29 | radioButton1.Text = "Use one profile for all versions";
30 | break;
31 | }
32 | }
33 | private void Button1_Click(object sender, System.EventArgs e)
34 | {
35 | if (radioButton1.Checked)
36 | {
37 | File.WriteAllText(applicationPath + "\\Edge Dev x64\\Profile.txt", "--user-data-dir=\"profile\"");
38 | this.Close();
39 | }
40 | if (radioButton2.Checked)
41 | {
42 | File.WriteAllText(applicationPath + "\\Edge Dev x64\\Profile.txt", "--user-data-dir=\"Edge Dev x64\\profile\"");
43 | this.Close();
44 | }
45 | if (radioButton3.Checked)
46 | {
47 | File.WriteAllText(applicationPath + "\\Edge Dev x64\\Profile.txt", "");
48 | this.Close();
49 | }
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Globalization;
4 | using System.Windows.Forms;
5 | using System.IO;
6 |
7 | namespace Edge_Dev_x64_Launcher
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// Der Haupteinstiegspunkt für die Anwendung.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | CultureInfo culture1 = CultureInfo.CurrentUICulture;
18 | string applicationPath = Application.StartupPath;
19 | if (File.Exists(applicationPath + "\\Edge Dev x64\\msedge.exe"))
20 | {
21 | var sb = new System.Text.StringBuilder();
22 | string[] CommandLineArgs = Environment.GetCommandLineArgs();
23 | for (int i = 1; i < CommandLineArgs.Length; i++)
24 | {
25 | if (CommandLineArgs[i].Contains("="))
26 | {
27 | if (CommandLineArgs[i].Contains("LinkID"))
28 | {
29 | sb.Append(" " + CommandLineArgs[i]);
30 | }
31 | else if (CommandLineArgs[i].Contains("http"))
32 | {
33 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
34 | }
35 | else
36 | {
37 | string[] test = CommandLineArgs[i].Split(new char[] { '=' }, 2);
38 | sb.Append(" " + test[0] + "=\"" + test[1] + "\"");
39 | }
40 | }
41 | else if (CommandLineArgs[i].Contains(".pdf"))
42 | {
43 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
44 | }
45 | else
46 | {
47 | sb.Append(" " + CommandLineArgs[i]);
48 | }
49 | }
50 | if (!File.Exists(applicationPath + "\\Edge Dev x64\\Profile.txt"))
51 | {
52 | Application.EnableVisualStyles();
53 | Application.SetCompatibleTextRenderingDefault(false);
54 | Application.Run(new Form1());
55 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Dev x64\\Profile.txt") + sb.ToString();
56 | if (Arguments.Contains("--user-data-dir="))
57 | {
58 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
59 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
60 | _ = Process.Start(applicationPath + "\\Edge Dev x64\\msedge.exe", Arguments3.Replace("'", ""));
61 | }
62 | else
63 | {
64 | _ = Process.Start(applicationPath + "\\Edge Dev x64\\msedge.exe", Arguments);
65 | }
66 | }
67 | else
68 | {
69 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Dev x64\\Profile.txt") + sb.ToString();
70 | if (Arguments.Contains("--user-data-dir="))
71 | {
72 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
73 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
74 | _ = Process.Start(applicationPath + "\\Edge Dev x64\\msedge.exe", Arguments3.Replace("'", ""));
75 | }
76 | else
77 | {
78 | _ = Process.Start(applicationPath + "\\Edge Dev x64\\msedge.exe", Arguments);
79 | }
80 | }
81 | }
82 | else if (culture1.TwoLetterISOLanguageName == "de")
83 | {
84 | _ = MessageBox.Show("Edge (Chromium) ist nicht installiert", "Edge Dev x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
85 | }
86 | else if (culture1.TwoLetterISOLanguageName == "ru")
87 | {
88 | _ = MessageBox.Show("Microsoft Edge (Chromium) Portable не найден", "Edge Dev x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
89 | }
90 | else
91 | {
92 | _ = MessageBox.Show("Edge (Chromium) is not installed", "Edge Dev x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
93 | }
94 | }
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("Edge Dev x64 Launcher")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")]
12 | [assembly: AssemblyProduct("Edge Dev x64 Launcher")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("989ac71b-8082-4a6b-ba4a-4d7aafd83fa3")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.2.0.0")]
36 | [assembly: AssemblyFileVersion("1.2.0.0")]
37 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Dev_x64_Launcher.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
17 | ///
18 | // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
19 | // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
20 | // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
21 | // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Edge_Dev_x64_Launcher.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
51 | /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Dev_x64_Launcher.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x64 Launcher/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Edge Dev x86 Launcher.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}
8 | WinExe
9 | Edge_Dev_x86_Launcher
10 | Edge Dev x86 Launcher
11 | v4.0
12 | 512
13 | true
14 | publish\
15 | true
16 | Disk
17 | false
18 | Foreground
19 | 7
20 | Days
21 | false
22 | false
23 | true
24 | 0
25 | 1.0.0.%2a
26 | false
27 | false
28 | true
29 |
30 |
31 | AnyCPU
32 | true
33 | full
34 | false
35 | bin\Debug\
36 | DEBUG;TRACE
37 | prompt
38 | 4
39 |
40 |
41 | AnyCPU
42 | pdbonly
43 | true
44 | bin\Release\
45 | TRACE
46 | prompt
47 | 4
48 |
49 |
50 | Edge Launcher Dev.ico
51 |
52 |
53 | true
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | Form
70 |
71 |
72 | Form1.cs
73 |
74 |
75 |
76 |
77 | Form1.cs
78 |
79 |
80 | ResXFileCodeGenerator
81 | Resources.Designer.cs
82 | Designer
83 |
84 |
85 | True
86 | Resources.resx
87 | True
88 |
89 |
90 | SettingsSingleFileGenerator
91 | Settings.Designer.cs
92 |
93 |
94 | True
95 | Settings.settings
96 | True
97 |
98 |
99 |
100 |
101 | False
102 | .NET Framework 3.5 SP1
103 | false
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Edge Dev x86 Launcher.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | publish\
5 |
6 |
7 |
8 |
9 |
10 | de-DE
11 | false
12 |
13 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Edge Dev x86 Launcher.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Edge Dev x86 Launcher", "Edge Dev x86 Launcher.csproj", "{989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {244BAEF9-A7A0-4236-8F25-8A4DF7FCB2AE}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Edge Launcher Dev.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Dev x86 Launcher/Edge Launcher Dev.ico
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Edge launcher Dev 32.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Dev x86 Launcher/Edge launcher Dev 32.ico
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Edge_Dev_x86_Launcher
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Erforderliche Designervariable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Verwendete Ressourcen bereinigen.
12 | ///
13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Vom Windows Form-Designer generierter Code
24 |
25 | ///
26 | /// Erforderliche Methode für die Designerunterstützung.
27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
32 | this.button1 = new System.Windows.Forms.Button();
33 | this.radioButton1 = new System.Windows.Forms.RadioButton();
34 | this.radioButton2 = new System.Windows.Forms.RadioButton();
35 | this.radioButton3 = new System.Windows.Forms.RadioButton();
36 | this.SuspendLayout();
37 | //
38 | // button1
39 | //
40 | resources.ApplyResources(this.button1, "button1");
41 | this.button1.Name = "button1";
42 | this.button1.UseVisualStyleBackColor = true;
43 | this.button1.Click += new System.EventHandler(this.Button1_Click);
44 | //
45 | // radioButton1
46 | //
47 | resources.ApplyResources(this.radioButton1, "radioButton1");
48 | this.radioButton1.Name = "radioButton1";
49 | this.radioButton1.UseVisualStyleBackColor = true;
50 | //
51 | // radioButton2
52 | //
53 | resources.ApplyResources(this.radioButton2, "radioButton2");
54 | this.radioButton2.Checked = true;
55 | this.radioButton2.Name = "radioButton2";
56 | this.radioButton2.TabStop = true;
57 | this.radioButton2.UseVisualStyleBackColor = true;
58 | //
59 | // radioButton3
60 | //
61 | resources.ApplyResources(this.radioButton3, "radioButton3");
62 | this.radioButton3.Name = "radioButton3";
63 | this.radioButton3.UseVisualStyleBackColor = true;
64 | //
65 | // Form1
66 | //
67 | resources.ApplyResources(this, "$this");
68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
69 | this.Controls.Add(this.radioButton3);
70 | this.Controls.Add(this.radioButton2);
71 | this.Controls.Add(this.radioButton1);
72 | this.Controls.Add(this.button1);
73 | this.Name = "Form1";
74 | this.ResumeLayout(false);
75 | this.PerformLayout();
76 |
77 | }
78 |
79 | #endregion
80 | private System.Windows.Forms.Button button1;
81 | private System.Windows.Forms.RadioButton radioButton1;
82 | private System.Windows.Forms.RadioButton radioButton2;
83 | private System.Windows.Forms.RadioButton radioButton3;
84 | }
85 | }
86 |
87 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Form1.cs:
--------------------------------------------------------------------------------
1 | using System.Globalization;
2 | using System.IO;
3 | using System.Windows.Forms;
4 |
5 | namespace Edge_Dev_x86_Launcher
6 | {
7 | public partial class Form1 : Form
8 | {
9 | private readonly string applicationPath = Application.StartupPath;
10 | public Form1()
11 | {
12 | CultureInfo culture = CultureInfo.CurrentUICulture;
13 | InitializeComponent();
14 | switch (culture.TwoLetterISOLanguageName)
15 | {
16 | case "de":
17 | radioButton3.Text = "Das Standard Profil von Edge (Chromium) verwenden";
18 | radioButton2.Text = "Für jede Version ein eigenes Profil verwenden";
19 | radioButton1.Text = "Ein Profil für alle Versionen verwenden";
20 | break;
21 | case "ru":
22 | radioButton3.Text = "Использовать стандартное месторасположение профиля (readme)";
23 | radioButton2.Text = "Использовать разные папки для профилей разных версий";
24 | radioButton1.Text = "Использовать один профиль для всех версий";
25 | break;
26 | default:
27 | radioButton3.Text = "Use the standard profile of Edge (Chromium)";
28 | radioButton2.Text = "Use a separate profile for each version";
29 | radioButton1.Text = "Use one profile for all versions";
30 | break;
31 | }
32 | }
33 | private void Button1_Click(object sender, System.EventArgs e)
34 | {
35 | if (radioButton1.Checked)
36 | {
37 | File.WriteAllText(applicationPath + "\\Edge Dev x86\\Profile.txt", "--user-data-dir=\"profile\"");
38 | this.Close();
39 | }
40 | if (radioButton2.Checked)
41 | {
42 | File.WriteAllText(applicationPath + "\\Edge Dev x86\\Profile.txt", "--user-data-dir=\"Edge Dev x86\\profile\"");
43 | this.Close();
44 | }
45 | if (radioButton3.Checked)
46 | {
47 | File.WriteAllText(applicationPath + "\\Edge Dev x86\\Profile.txt", "");
48 | this.Close();
49 | }
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Globalization;
4 | using System.Windows.Forms;
5 | using System.IO;
6 |
7 | namespace Edge_Dev_x86_Launcher
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// Der Haupteinstiegspunkt für die Anwendung.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | CultureInfo culture1 = CultureInfo.CurrentUICulture;
18 | string applicationPath = Application.StartupPath;
19 | if (File.Exists(applicationPath + "\\Edge Dev x86\\msedge.exe"))
20 | {
21 | var sb = new System.Text.StringBuilder();
22 | string[] CommandLineArgs = Environment.GetCommandLineArgs();
23 | for (int i = 1; i < CommandLineArgs.Length; i++)
24 | {
25 | if (CommandLineArgs[i].Contains("="))
26 | {
27 | if (CommandLineArgs[i].Contains("LinkID"))
28 | {
29 | sb.Append(" " + CommandLineArgs[i]);
30 | }
31 | else if (CommandLineArgs[i].Contains("http"))
32 | {
33 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
34 | }
35 | else
36 | {
37 | string[] test = CommandLineArgs[i].Split(new char[] { '=' }, 2);
38 | sb.Append(" " + test[0] + "=\"" + test[1] + "\"");
39 | }
40 | }
41 | else if (CommandLineArgs[i].Contains(".pdf"))
42 | {
43 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
44 | }
45 | else
46 | {
47 | sb.Append(" " + CommandLineArgs[i]);
48 | }
49 | }
50 | if (!File.Exists(applicationPath + "\\Edge Dev x86\\Profile.txt"))
51 | {
52 | Application.EnableVisualStyles();
53 | Application.SetCompatibleTextRenderingDefault(false);
54 | Application.Run(new Form1());
55 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Dev x86\\Profile.txt") + sb.ToString();
56 | if (Arguments.Contains("--user-data-dir="))
57 | {
58 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
59 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
60 | _ = Process.Start(applicationPath + "\\Edge Dev x86\\msedge.exe", Arguments3.Replace("'", ""));
61 | }
62 | else
63 | {
64 | _ = Process.Start(applicationPath + "\\Edge Dev x86\\msedge.exe", Arguments);
65 | }
66 | }
67 | else
68 | {
69 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Dev x86\\Profile.txt") + sb.ToString();
70 | if (Arguments.Contains("--user-data-dir="))
71 | {
72 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
73 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
74 | _ = Process.Start(applicationPath + "\\Edge Dev x86\\msedge.exe", Arguments3.Replace("'", ""));
75 | }
76 | else
77 | {
78 | _ = Process.Start(applicationPath + "\\Edge Dev x86\\msedge.exe", Arguments);
79 | }
80 | }
81 | }
82 | else if (culture1.TwoLetterISOLanguageName == "de")
83 | {
84 | _ = MessageBox.Show("Edge (Chromium) ist nicht installiert", "Edge Dev x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
85 | }
86 | else if (culture1.TwoLetterISOLanguageName == "ru")
87 | {
88 | _ = MessageBox.Show("Microsoft Edge (Chromium) Portable не найден", "Edge Dev x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
89 | }
90 | else
91 | {
92 | _ = MessageBox.Show("Edge (Chromium) is not installed", "Edge Dev x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
93 | }
94 | }
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("Edge Dev x86 Launcher")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")]
12 | [assembly: AssemblyProduct("Edge Dev x86 Launcher")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("989ac71b-8082-4a6b-ba4a-4d7aafd83fa3")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.2.0.0")]
36 | [assembly: AssemblyFileVersion("1.2.0.0")]
37 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Dev_x86_Launcher.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
17 | ///
18 | // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
19 | // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
20 | // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
21 | // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Edge_Dev_x86_Launcher.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
51 | /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Dev_x86_Launcher.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Launcher/Edge Dev x86 Launcher/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Edge Launcher.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}
8 | WinExe
9 | Edge_Launcher
10 | Edge Launcher
11 | v4.0
12 | 512
13 | true
14 | publish\
15 | true
16 | Disk
17 | false
18 | Foreground
19 | 7
20 | Days
21 | false
22 | false
23 | true
24 | 0
25 | 1.0.0.%2a
26 | false
27 | false
28 | true
29 |
30 |
31 | AnyCPU
32 | true
33 | full
34 | false
35 | bin\Debug\
36 | TRACE
37 | prompt
38 | 4
39 |
40 |
41 | AnyCPU
42 | pdbonly
43 | true
44 | bin\Release\
45 | TRACE
46 | prompt
47 | 4
48 |
49 |
50 | Edge Launcher.ico
51 |
52 |
53 | true
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | Form
70 |
71 |
72 | Form1.cs
73 |
74 |
75 |
76 |
77 | Form1.cs
78 |
79 |
80 | ResXFileCodeGenerator
81 | Resources.Designer.cs
82 | Designer
83 |
84 |
85 | True
86 | Resources.resx
87 | True
88 |
89 |
90 | SettingsSingleFileGenerator
91 | Settings.Designer.cs
92 |
93 |
94 | True
95 | Settings.settings
96 | True
97 |
98 |
99 |
100 |
101 | False
102 | .NET Framework 3.5 SP1
103 | false
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Edge Launcher.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | publish\
5 |
6 |
7 |
8 |
9 |
10 | de-DE
11 | false
12 |
13 |
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Edge Launcher.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Launcher/Edge Launcher.ico
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Edge Launcher.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Edge Launcher", "Edge Launcher.csproj", "{989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {244BAEF9-A7A0-4236-8F25-8A4DF7FCB2AE}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Edge launcher 32.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Launcher/Edge launcher 32.ico
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Edge_Launcher
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Erforderliche Designervariable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Verwendete Ressourcen bereinigen.
12 | ///
13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Vom Windows Form-Designer generierter Code
24 |
25 | ///
26 | /// Erforderliche Methode für die Designerunterstützung.
27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
32 | this.button1 = new System.Windows.Forms.Button();
33 | this.radioButton1 = new System.Windows.Forms.RadioButton();
34 | this.radioButton2 = new System.Windows.Forms.RadioButton();
35 | this.radioButton3 = new System.Windows.Forms.RadioButton();
36 | this.SuspendLayout();
37 | //
38 | // button1
39 | //
40 | resources.ApplyResources(this.button1, "button1");
41 | this.button1.Name = "button1";
42 | this.button1.UseVisualStyleBackColor = true;
43 | this.button1.Click += new System.EventHandler(this.Button1_Click);
44 | //
45 | // radioButton1
46 | //
47 | resources.ApplyResources(this.radioButton1, "radioButton1");
48 | this.radioButton1.Name = "radioButton1";
49 | this.radioButton1.UseVisualStyleBackColor = true;
50 | //
51 | // radioButton2
52 | //
53 | resources.ApplyResources(this.radioButton2, "radioButton2");
54 | this.radioButton2.Checked = true;
55 | this.radioButton2.Name = "radioButton2";
56 | this.radioButton2.TabStop = true;
57 | this.radioButton2.UseVisualStyleBackColor = true;
58 | //
59 | // radioButton3
60 | //
61 | resources.ApplyResources(this.radioButton3, "radioButton3");
62 | this.radioButton3.Name = "radioButton3";
63 | this.radioButton3.UseVisualStyleBackColor = true;
64 | //
65 | // Form1
66 | //
67 | resources.ApplyResources(this, "$this");
68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
69 | this.Controls.Add(this.radioButton3);
70 | this.Controls.Add(this.radioButton2);
71 | this.Controls.Add(this.radioButton1);
72 | this.Controls.Add(this.button1);
73 | this.Name = "Form1";
74 | this.ResumeLayout(false);
75 | this.PerformLayout();
76 |
77 | }
78 |
79 | #endregion
80 | private System.Windows.Forms.Button button1;
81 | private System.Windows.Forms.RadioButton radioButton1;
82 | private System.Windows.Forms.RadioButton radioButton2;
83 | private System.Windows.Forms.RadioButton radioButton3;
84 | }
85 | }
86 |
87 |
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Form1.cs:
--------------------------------------------------------------------------------
1 | using System.Globalization;
2 | using System.IO;
3 | using System.Windows.Forms;
4 |
5 | namespace Edge_Launcher
6 | {
7 | public partial class Form1 : Form
8 | {
9 | private readonly string applicationPath = Application.StartupPath;
10 | public Form1()
11 | {
12 | CultureInfo culture = CultureInfo.CurrentUICulture;
13 | InitializeComponent();
14 | switch (culture.TwoLetterISOLanguageName)
15 | {
16 | case "de":
17 | radioButton3.Text = "Das Standard Profil von Edge (Chromium) verwenden";
18 | radioButton2.Text = "Für jede Version ein eigenes Profil verwenden";
19 | radioButton1.Text = "Ein Profil für alle Versionen verwenden";
20 | break;
21 | case "ru":
22 | radioButton3.Text = "Использовать стандартное месторасположение профиля (readme)";
23 | radioButton2.Text = "Использовать разные папки для профилей разных версий";
24 | radioButton1.Text = "Использовать один профиль для всех версий";
25 | break;
26 | default:
27 | radioButton3.Text = "Use the standard profile of Edge (Chromium)";
28 | radioButton2.Text = "Use a separate profile for each version";
29 | radioButton1.Text = "Use one profile for all versions";
30 | break;
31 | }
32 | }
33 | private void Button1_Click(object sender, System.EventArgs e)
34 | {
35 | if (radioButton1.Checked)
36 | {
37 | File.WriteAllText(applicationPath + "\\Edge\\Profile.txt", "--user-data-dir=\"profile\"");
38 | this.Close();
39 | }
40 | if (radioButton2.Checked)
41 | {
42 | File.WriteAllText(applicationPath + "\\Edge\\Profile.txt", "--user-data-dir=\"Edge\\profile\"");
43 | this.Close();
44 | }
45 | if (radioButton3.Checked)
46 | {
47 | File.WriteAllText(applicationPath + "\\Edge\\Profile.txt", "");
48 | this.Close();
49 | }
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Globalization;
4 | using System.Windows.Forms;
5 | using System.IO;
6 | using System.Linq;
7 |
8 | namespace Edge_Launcher
9 | {
10 | static class Program
11 | {
12 | ///
13 | /// Der Haupteinstiegspunkt für die Anwendung.
14 | ///
15 | [STAThread]
16 | static void Main()
17 | {
18 | CultureInfo culture1 = CultureInfo.CurrentUICulture;
19 | string applicationPath = Application.StartupPath;
20 | if (File.Exists(applicationPath + "\\Edge\\msedge.exe"))
21 | {
22 | var sb = new System.Text.StringBuilder();
23 | string[] CommandLineArgs = Environment.GetCommandLineArgs();
24 | for (int i = 1; i < CommandLineArgs.Length; i++)
25 | {
26 | if (CommandLineArgs[i].Contains("="))
27 | {
28 | if (CommandLineArgs[i].Contains("LinkID"))
29 | {
30 | sb.Append(" " + CommandLineArgs[i]);
31 | }
32 | else if (CommandLineArgs[i].Contains("http"))
33 | {
34 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
35 | }
36 | else
37 | {
38 | string[] test = CommandLineArgs[i].Split(new char[] { '=' }, 2);
39 | sb.Append(" " + test[0] + "=\"" + test[1] + "\"");
40 | }
41 | }
42 | else if (CommandLineArgs[i].Contains(".pdf"))
43 | {
44 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
45 | }
46 | else
47 | {
48 | sb.Append(" " + CommandLineArgs[i]);
49 | }
50 | }
51 | if (!File.Exists(applicationPath + "\\Edge\\Profile.txt"))
52 | {
53 | Application.EnableVisualStyles();
54 | Application.SetCompatibleTextRenderingDefault(false);
55 | Application.Run(new Form1());
56 | String Arguments = File.ReadAllText(applicationPath + "\\Edge\\Profile.txt") + sb.ToString();
57 | if (Arguments.Contains("--user-data-dir="))
58 | {
59 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
60 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
61 | _ = Process.Start(applicationPath + "\\Edge\\msedge.exe", Arguments3.Replace("'", ""));
62 | }
63 | else
64 | {
65 | _ = Process.Start(applicationPath + "\\Edge\\msedge.exe", Arguments);
66 | }
67 | }
68 | else
69 | {
70 | String Arguments = File.ReadAllText(applicationPath + "\\Edge\\Profile.txt") + sb.ToString();
71 | if (Arguments.Contains("--user-data-dir="))
72 | {
73 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
74 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
75 | _ = Process.Start(applicationPath + "\\Edge\\msedge.exe", Arguments3.Replace("'", ""));
76 | }
77 | else
78 | {
79 | _ = Process.Start(applicationPath + "\\Edge\\msedge.exe", Arguments);
80 | }
81 | }
82 | }
83 | else if (culture1.TwoLetterISOLanguageName == "de")
84 | {
85 | _ = MessageBox.Show("Edge (Chromium) ist nicht installiert", "Edge Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
86 | }
87 | else if (culture1.TwoLetterISOLanguageName == "ru")
88 | {
89 | _ = MessageBox.Show("Microsoft Edge (Chromium) Portable не найден", "Edge Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
90 | }
91 | else
92 | {
93 | _ = MessageBox.Show("Edge (Chromium) is not installed", "Edge Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
94 | }
95 | }
96 | }
97 | }
98 |
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("Edge Launcher")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")]
12 | [assembly: AssemblyProduct("Edge Launcher")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("989ac71b-8082-4a6b-ba4a-4d7aafd83fa3")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.2.0.0")]
36 | [assembly: AssemblyFileVersion("1.2.0.0")]
37 |
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Launcher.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
17 | ///
18 | // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
19 | // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
20 | // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
21 | // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Edge_Stable_x64_Launcher.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
51 | /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Launcher.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Launcher/Edge Launcher/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Edge Launcher.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Stable x64 Launcher/Edge Launcher.ico
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Edge Stable x64 Launcher.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}
8 | WinExe
9 | Edge_Stable_x64_Launcher
10 | Edge Stable x64 Launcher
11 | v4.0
12 | 512
13 | true
14 | publish\
15 | true
16 | Disk
17 | false
18 | Foreground
19 | 7
20 | Days
21 | false
22 | false
23 | true
24 | 0
25 | 1.0.0.%2a
26 | false
27 | false
28 | true
29 |
30 |
31 | AnyCPU
32 | true
33 | full
34 | false
35 | bin\Debug\
36 | DEBUG;TRACE
37 | prompt
38 | 4
39 |
40 |
41 | AnyCPU
42 | pdbonly
43 | true
44 | bin\Release\
45 | TRACE
46 | prompt
47 | 4
48 |
49 |
50 | Edge Launcher.ico
51 |
52 |
53 | true
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | Form
70 |
71 |
72 | Form1.cs
73 |
74 |
75 |
76 |
77 | Form1.cs
78 |
79 |
80 | ResXFileCodeGenerator
81 | Resources.Designer.cs
82 | Designer
83 |
84 |
85 | True
86 | Resources.resx
87 | True
88 |
89 |
90 | SettingsSingleFileGenerator
91 | Settings.Designer.cs
92 |
93 |
94 | True
95 | Settings.settings
96 | True
97 |
98 |
99 |
100 |
101 | False
102 | .NET Framework 3.5 SP1
103 | false
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Edge Stable x64 Launcher.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | publish\
5 |
6 |
7 |
8 |
9 |
10 | de-DE
11 | false
12 |
13 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Edge Stable x64 Launcher.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Edge Stable x64 Launcher", "Edge Stable x64 Launcher.csproj", "{989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {244BAEF9-A7A0-4236-8F25-8A4DF7FCB2AE}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Edge launcher 32.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Stable x64 Launcher/Edge launcher 32.ico
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Edge_Stable_x64_Launcher
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Erforderliche Designervariable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Verwendete Ressourcen bereinigen.
12 | ///
13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Vom Windows Form-Designer generierter Code
24 |
25 | ///
26 | /// Erforderliche Methode für die Designerunterstützung.
27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
32 | this.button1 = new System.Windows.Forms.Button();
33 | this.radioButton1 = new System.Windows.Forms.RadioButton();
34 | this.radioButton2 = new System.Windows.Forms.RadioButton();
35 | this.radioButton3 = new System.Windows.Forms.RadioButton();
36 | this.SuspendLayout();
37 | //
38 | // button1
39 | //
40 | resources.ApplyResources(this.button1, "button1");
41 | this.button1.Name = "button1";
42 | this.button1.UseVisualStyleBackColor = true;
43 | this.button1.Click += new System.EventHandler(this.Button1_Click);
44 | //
45 | // radioButton1
46 | //
47 | resources.ApplyResources(this.radioButton1, "radioButton1");
48 | this.radioButton1.Name = "radioButton1";
49 | this.radioButton1.UseVisualStyleBackColor = true;
50 | //
51 | // radioButton2
52 | //
53 | resources.ApplyResources(this.radioButton2, "radioButton2");
54 | this.radioButton2.Checked = true;
55 | this.radioButton2.Name = "radioButton2";
56 | this.radioButton2.TabStop = true;
57 | this.radioButton2.UseVisualStyleBackColor = true;
58 | //
59 | // radioButton3
60 | //
61 | resources.ApplyResources(this.radioButton3, "radioButton3");
62 | this.radioButton3.Name = "radioButton3";
63 | this.radioButton3.UseVisualStyleBackColor = true;
64 | //
65 | // Form1
66 | //
67 | resources.ApplyResources(this, "$this");
68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
69 | this.Controls.Add(this.radioButton3);
70 | this.Controls.Add(this.radioButton2);
71 | this.Controls.Add(this.radioButton1);
72 | this.Controls.Add(this.button1);
73 | this.Name = "Form1";
74 | this.ResumeLayout(false);
75 | this.PerformLayout();
76 |
77 | }
78 |
79 | #endregion
80 | private System.Windows.Forms.Button button1;
81 | private System.Windows.Forms.RadioButton radioButton1;
82 | private System.Windows.Forms.RadioButton radioButton2;
83 | private System.Windows.Forms.RadioButton radioButton3;
84 | }
85 | }
86 |
87 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Form1.cs:
--------------------------------------------------------------------------------
1 | using System.Globalization;
2 | using System.IO;
3 | using System.Windows.Forms;
4 |
5 | namespace Edge_Stable_x64_Launcher
6 | {
7 | public partial class Form1 : Form
8 | {
9 | private readonly string applicationPath = Application.StartupPath;
10 | public Form1()
11 | {
12 | CultureInfo culture = CultureInfo.CurrentUICulture;
13 | InitializeComponent();
14 | switch (culture.TwoLetterISOLanguageName)
15 | {
16 | case "de":
17 | radioButton3.Text = "Das Standard Profil von Edge (Chromium) verwenden";
18 | radioButton2.Text = "Für jede Version ein eigenes Profil verwenden";
19 | radioButton1.Text = "Ein Profil für alle Versionen verwenden";
20 | break;
21 | case "ru":
22 | radioButton3.Text = "Использовать стандартное месторасположение профиля (readme)";
23 | radioButton2.Text = "Использовать разные папки для профилей разных версий";
24 | radioButton1.Text = "Использовать один профиль для всех версий";
25 | break;
26 | default:
27 | radioButton3.Text = "Use the standard profile of Edge (Chromium)";
28 | radioButton2.Text = "Use a separate profile for each version";
29 | radioButton1.Text = "Use one profile for all versions";
30 | break;
31 | }
32 | }
33 | private void Button1_Click(object sender, System.EventArgs e)
34 | {
35 | if (radioButton1.Checked)
36 | {
37 | File.WriteAllText(applicationPath + "\\Edge Stable x64\\Profile.txt", "--user-data-dir=\"profile\"");
38 | this.Close();
39 | }
40 | if (radioButton2.Checked)
41 | {
42 | File.WriteAllText(applicationPath + "\\Edge Stable x64\\Profile.txt", "--user-data-dir=\"Edge Stable x64\\profile\"");
43 | this.Close();
44 | }
45 | if (radioButton3.Checked)
46 | {
47 | File.WriteAllText(applicationPath + "\\Edge Stable x64\\Profile.txt", "");
48 | this.Close();
49 | }
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Globalization;
4 | using System.Windows.Forms;
5 | using System.IO;
6 |
7 | namespace Edge_Stable_x64_Launcher
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// Der Haupteinstiegspunkt für die Anwendung.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | CultureInfo culture1 = CultureInfo.CurrentUICulture;
18 | string applicationPath = Application.StartupPath;
19 | if (File.Exists(applicationPath + "\\Edge Stable x64\\msedge.exe"))
20 | {
21 | var sb = new System.Text.StringBuilder();
22 | string[] CommandLineArgs = Environment.GetCommandLineArgs();
23 | for (int i = 1; i < CommandLineArgs.Length; i++)
24 | {
25 | if (CommandLineArgs[i].Contains("="))
26 | {
27 | if (CommandLineArgs[i].Contains("LinkID"))
28 | {
29 | sb.Append(" " + CommandLineArgs[i]);
30 | }
31 | else if (CommandLineArgs[i].Contains("http"))
32 | {
33 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
34 | }
35 | else
36 | {
37 | string[] test = CommandLineArgs[i].Split(new char[] { '=' }, 2);
38 | sb.Append(" " + test[0] + "=\"" + test[1] + "\"");
39 | }
40 | }
41 | else if (CommandLineArgs[i].Contains(".pdf"))
42 | {
43 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
44 | }
45 | else
46 | {
47 | sb.Append(" " + CommandLineArgs[i]);
48 | }
49 | }
50 | if (!File.Exists(applicationPath + "\\Edge Stable x64\\Profile.txt"))
51 | {
52 | Application.EnableVisualStyles();
53 | Application.SetCompatibleTextRenderingDefault(false);
54 | Application.Run(new Form1());
55 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Stable x64\\Profile.txt") + sb.ToString();
56 | if (Arguments.Contains("--user-data-dir="))
57 | {
58 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
59 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
60 | _ = Process.Start(applicationPath + "\\Edge Stable x64\\msedge.exe", Arguments3.Replace("'", ""));
61 | }
62 | else
63 | {
64 | _ = Process.Start(applicationPath + "\\Edge Stable x64\\msedge.exe", Arguments);
65 | }
66 | }
67 | else
68 | {
69 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Stable x64\\Profile.txt") + sb.ToString();
70 | if (Arguments.Contains("--user-data-dir="))
71 | {
72 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
73 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
74 | _ = Process.Start(applicationPath + "\\Edge Stable x64\\msedge.exe", Arguments3.Replace("'", ""));
75 | }
76 | else
77 | {
78 | _ = Process.Start(applicationPath + "\\Edge Stable x64\\msedge.exe", Arguments);
79 | }
80 | }
81 | }
82 | else if (culture1.TwoLetterISOLanguageName == "de")
83 | {
84 | _ = MessageBox.Show("Edge (Chromium) ist nicht installiert", "Edge Stable x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
85 | }
86 | else if (culture1.TwoLetterISOLanguageName == "ru")
87 | {
88 | _ = MessageBox.Show("Microsoft Edge (Chromium) Portable не найден", "Edge Stable x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
89 | }
90 | else
91 | {
92 | _ = MessageBox.Show("Edge (Chromium) is not installed", "Edge Stable x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
93 | }
94 | }
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("Edge Stable x64 Launcher")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")]
12 | [assembly: AssemblyProduct("Edge Stable x64 Launcher")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("989ac71b-8082-4a6b-ba4a-4d7aafd83fa3")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.2.0.0")]
36 | [assembly: AssemblyFileVersion("1.2.0.0")]
37 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Stable_x64_Launcher.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
17 | ///
18 | // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
19 | // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
20 | // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
21 | // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Edge_Stable_x64_Launcher.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
51 | /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Stable_x64_Launcher.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x64 Launcher/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x86 Launcher/Edge Launcher.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Stable x86 Launcher/Edge Launcher.ico
--------------------------------------------------------------------------------
/Launcher/Edge Stable x86 Launcher/Edge Stable x86 Launcher.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | publish\
5 |
6 |
7 |
8 |
9 |
10 | de-DE
11 | false
12 |
13 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x86 Launcher/Edge Stable x86 Launcher.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Edge Stable x86 Launcher", "Edge Stable x86 Launcher.csproj", "{989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {244BAEF9-A7A0-4236-8F25-8A4DF7FCB2AE}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x86 Launcher/Edge launcher 32.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Edge Stable x86 Launcher/Edge launcher 32.ico
--------------------------------------------------------------------------------
/Launcher/Edge Stable x86 Launcher/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Edge_Stable_x86_Launcher
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Erforderliche Designervariable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Verwendete Ressourcen bereinigen.
12 | ///
13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Vom Windows Form-Designer generierter Code
24 |
25 | ///
26 | /// Erforderliche Methode für die Designerunterstützung.
27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
32 | this.button1 = new System.Windows.Forms.Button();
33 | this.radioButton1 = new System.Windows.Forms.RadioButton();
34 | this.radioButton2 = new System.Windows.Forms.RadioButton();
35 | this.radioButton3 = new System.Windows.Forms.RadioButton();
36 | this.SuspendLayout();
37 | //
38 | // button1
39 | //
40 | resources.ApplyResources(this.button1, "button1");
41 | this.button1.Name = "button1";
42 | this.button1.UseVisualStyleBackColor = true;
43 | this.button1.Click += new System.EventHandler(this.Button1_Click);
44 | //
45 | // radioButton1
46 | //
47 | resources.ApplyResources(this.radioButton1, "radioButton1");
48 | this.radioButton1.Name = "radioButton1";
49 | this.radioButton1.UseVisualStyleBackColor = true;
50 | //
51 | // radioButton2
52 | //
53 | resources.ApplyResources(this.radioButton2, "radioButton2");
54 | this.radioButton2.Checked = true;
55 | this.radioButton2.Name = "radioButton2";
56 | this.radioButton2.TabStop = true;
57 | this.radioButton2.UseVisualStyleBackColor = true;
58 | //
59 | // radioButton3
60 | //
61 | resources.ApplyResources(this.radioButton3, "radioButton3");
62 | this.radioButton3.Name = "radioButton3";
63 | this.radioButton3.UseVisualStyleBackColor = true;
64 | //
65 | // Form1
66 | //
67 | resources.ApplyResources(this, "$this");
68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
69 | this.Controls.Add(this.radioButton3);
70 | this.Controls.Add(this.radioButton2);
71 | this.Controls.Add(this.radioButton1);
72 | this.Controls.Add(this.button1);
73 | this.Name = "Form1";
74 | this.ResumeLayout(false);
75 | this.PerformLayout();
76 |
77 | }
78 |
79 | #endregion
80 | private System.Windows.Forms.Button button1;
81 | private System.Windows.Forms.RadioButton radioButton1;
82 | private System.Windows.Forms.RadioButton radioButton2;
83 | private System.Windows.Forms.RadioButton radioButton3;
84 | }
85 | }
86 |
87 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x86 Launcher/Form1.cs:
--------------------------------------------------------------------------------
1 | using System.Globalization;
2 | using System.IO;
3 | using System.Windows.Forms;
4 |
5 | namespace Edge_Stable_x86_Launcher
6 | {
7 | public partial class Form1 : Form
8 | {
9 | private readonly string applicationPath = Application.StartupPath;
10 | public Form1()
11 | {
12 | CultureInfo culture = CultureInfo.CurrentUICulture;
13 | InitializeComponent();
14 | switch (culture.TwoLetterISOLanguageName)
15 | {
16 | case "de":
17 | radioButton3.Text = "Das Standard Profil von Edge (Chromium) verwenden";
18 | radioButton2.Text = "Für jede Version ein eigenes Profil verwenden";
19 | radioButton1.Text = "Ein Profil für alle Versionen verwenden";
20 | break;
21 | case "ru":
22 | radioButton3.Text = "Использовать стандартное месторасположение профиля (readme)";
23 | radioButton2.Text = "Использовать разные папки для профилей разных версий";
24 | radioButton1.Text = "Использовать один профиль для всех версий";
25 | break;
26 | default:
27 | radioButton3.Text = "Use the standard profile of Edge (Chromium)";
28 | radioButton2.Text = "Use a separate profile for each version";
29 | radioButton1.Text = "Use one profile for all versions";
30 | break;
31 | }
32 | }
33 | private void Button1_Click(object sender, System.EventArgs e)
34 | {
35 | if (radioButton1.Checked)
36 | {
37 | File.WriteAllText(applicationPath + "\\Edge Stable x86\\Profile.txt", "--user-data-dir=\"profile\"");
38 | this.Close();
39 | }
40 | if (radioButton2.Checked)
41 | {
42 | File.WriteAllText(applicationPath + "\\Edge Stable x86\\Profile.txt", "--user-data-dir=\"Edge Stable x86\\profile\"");
43 | this.Close();
44 | }
45 | if (radioButton3.Checked)
46 | {
47 | File.WriteAllText(applicationPath + "\\Edge Stable x86\\Profile.txt", "");
48 | this.Close();
49 | }
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x86 Launcher/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Globalization;
4 | using System.Windows.Forms;
5 | using System.IO;
6 |
7 | namespace Edge_Stable_x86_Launcher
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// Der Haupteinstiegspunkt für die Anwendung.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | CultureInfo culture1 = CultureInfo.CurrentUICulture;
18 | string applicationPath = Application.StartupPath;
19 | if (File.Exists(applicationPath + "\\Edge Stable x86\\msedge.exe"))
20 | {
21 | var sb = new System.Text.StringBuilder();
22 | string[] CommandLineArgs = Environment.GetCommandLineArgs();
23 | for (int i = 1; i < CommandLineArgs.Length; i++)
24 | {
25 | if (CommandLineArgs[i].Contains("="))
26 | {
27 | if (CommandLineArgs[i].Contains("LinkID"))
28 | {
29 | sb.Append(" " + CommandLineArgs[i]);
30 | }
31 | else if (CommandLineArgs[i].Contains("http"))
32 | {
33 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
34 | }
35 | else
36 | {
37 | string[] test = CommandLineArgs[i].Split(new char[] { '=' }, 2);
38 | sb.Append(" " + test[0] + "=\"" + test[1] + "\"");
39 | }
40 | }
41 | else if (CommandLineArgs[i].Contains(".pdf"))
42 | {
43 | sb.Append(" \"" + CommandLineArgs[i] + "\"");
44 | }
45 | else
46 | {
47 | sb.Append(" " + CommandLineArgs[i]);
48 | }
49 | }
50 | if (!File.Exists(applicationPath + "\\Edge Stable x86\\Profile.txt"))
51 | {
52 | Application.EnableVisualStyles();
53 | Application.SetCompatibleTextRenderingDefault(false);
54 | Application.Run(new Form1());
55 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Stable x86\\Profile.txt") + sb.ToString();
56 | if (Arguments.Contains("--user-data-dir="))
57 | {
58 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
59 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
60 | _ = Process.Start(applicationPath + "\\Edge Stable x86\\msedge.exe", Arguments3.Replace("'", ""));
61 | }
62 | else
63 | {
64 | Process.Start(applicationPath + "\\Edge Stable x86\\msedge.exe", Arguments);
65 | }
66 | }
67 | else
68 | {
69 | String Arguments = File.ReadAllText(applicationPath + "\\Edge Stable x86\\Profile.txt") + sb.ToString();
70 | if (Arguments.Contains("--user-data-dir="))
71 | {
72 | string[] Arguments2 = Arguments.Split(new char[] { '=' }, 2);
73 | string Arguments3 = Arguments2[0] + "='\"" + applicationPath + "\\" + Arguments2[1].Remove(0, 1) + "'";
74 | _ = Process.Start(applicationPath + "\\Edge Stable x86\\msedge.exe", Arguments3.Replace("'", ""));
75 | }
76 | else
77 | {
78 | Process.Start(applicationPath + "\\Edge Stable x86\\msedge.exe", Arguments);
79 | }
80 | }
81 | }
82 | else if (culture1.TwoLetterISOLanguageName == "de")
83 | {
84 | _ = MessageBox.Show("Edge (Chromium) ist nicht installiert", "Edge Stable x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
85 | }
86 | else if (culture1.TwoLetterISOLanguageName == "ru")
87 | {
88 | _ = MessageBox.Show("Microsoft Edge (Chromium) Portable не найден", "Stable Beta x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
89 | }
90 | else
91 | {
92 | _ = MessageBox.Show("Edge (Chromium) is not installed", "Edge Stable x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
93 | }
94 | }
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x86 Launcher/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("Edge Stable x86 Launcher")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")]
12 | [assembly: AssemblyProduct("Edge Stable x86 Launcher")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("989ac71b-8082-4a6b-ba4a-4d7aafd83fa3")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.2.0.0")]
36 | [assembly: AssemblyFileVersion("1.2.0.0")]
37 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x86 Launcher/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Stable_x86_Launcher.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
17 | ///
18 | // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
19 | // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
20 | // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
21 | // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Edge_Stable_x86_Launcher.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
51 | /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x86 Launcher/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Stable_x86_Launcher.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Launcher/Edge Stable x86 Launcher/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Launcher/Launcher.7z:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/UndertakerBen/PorEdgeUpd/ae033decb0e329a52534748c22275d87b60f349a/Launcher/Launcher.7z
--------------------------------------------------------------------------------
/Launcher/Version.txt:
--------------------------------------------------------------------------------
1 | 1.2.0.1
--------------------------------------------------------------------------------
/Portable Edge (Chromium) Updater.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Portable Edge (Chromium) Updater", "Portable Edge (Chromium) Updater.csproj", "{C92E7FEF-585A-46F0-B081-BC896F4A954B}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {C92E7FEF-585A-46F0-B081-BC896F4A954B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {C92E7FEF-585A-46F0-B081-BC896F4A954B}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {C92E7FEF-585A-46F0-B081-BC896F4A954B}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {C92E7FEF-585A-46F0-B081-BC896F4A954B}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {BDB23719-A8B8-4F77-AA9D-EDBCB737E8B3}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Portable Edge (Chromium) Updater.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | publish\
5 |
6 |
7 |
8 |
9 |
10 | de-DE
11 | false
12 |
13 |
--------------------------------------------------------------------------------
/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Forms;
3 |
4 | namespace Edge_Updater
5 | {
6 | static class Program
7 | {
8 | ///
9 | /// Der Haupteinstiegspunkt für die Anwendung.
10 | ///
11 | [STAThread]
12 | static void Main()
13 | {
14 | //Console.WriteLine(GlobalVar.GlobalString);
15 | Application.EnableVisualStyles();
16 | Application.SetCompatibleTextRenderingDefault(false);
17 | Application.Run(new Edge_Updater.Form1());
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Resources;
2 | using System.Reflection;
3 | using System.Runtime.InteropServices;
4 |
5 | // Allgemeine Informationen über eine Assembly werden über die folgenden
6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7 | // die einer Assembly zugeordnet sind.
8 | [assembly: AssemblyTitle("Portable Edge (Chromium) Updater")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")]
12 | [assembly: AssemblyProduct("Portable Edge (Chromium) Updater")]
13 | [assembly: AssemblyCopyright("Copyright © 2022")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18 | // für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
19 | // COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20 | [assembly: ComVisible(false)]
21 |
22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23 | [assembly: Guid("c92e7fef-585a-46f0-b081-bc896f4a954b")]
24 |
25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26 | //
27 | // Hauptversion
28 | // Nebenversion
29 | // Buildnummer
30 | // Revision
31 | //
32 | // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33 | // indem Sie "*" wie unten gezeigt eingeben:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.5.1.0")]
36 | [assembly: AssemblyFileVersion("1.5.1.0")]
37 | [assembly: NeutralResourcesLanguage("en")]
38 |
--------------------------------------------------------------------------------
/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Updater.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
17 | ///
18 | // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
19 | // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
20 | // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
21 | // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Edge_Updater.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
51 | /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Icon ähnlich wie (Symbol).
65 | ///
66 | internal static System.Drawing.Icon Edge_Updater_32 {
67 | get {
68 | object obj = ResourceManager.GetObject("Edge_Updater_32", resourceCulture);
69 | return ((System.Drawing.Icon)(obj));
70 | }
71 | }
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // Dieser Code wurde von einem Tool generiert.
4 | // Laufzeitversion:4.0.30319.42000
5 | //
6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
7 | // der Code erneut generiert wird.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Edge_Updater.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.2.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # PorEdgeUpd
2 | Portable Edge (Chromium) Updater
3 |
4 | ## Notice of Non-Affiliation and Disclaimer
5 | PorEdgeUpd is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Microsoft Corporation.
6 | The name Edge as well as related names, marks, emblems and images are registered trademarks of Microsoft Corporation.
7 |
8 | For unpacking the downloaded Edge (Chromium) offline installer i use 7zr.exe
9 |
10 | - 7zr.exe - https://www.7-zip.org/ (Public Domain)
11 |
--------------------------------------------------------------------------------
/Version.txt:
--------------------------------------------------------------------------------
1 | 1.5.1.0
--------------------------------------------------------------------------------
/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------