├── .gitattributes ├── Chrome Updater 2.ico ├── Chrome Updater 32.ico ├── Form1.Designer.cs ├── Form1.cs ├── Form1.resx ├── LICENSE ├── Langfile.cs ├── Launcher ├── Chrome Beta x64 Launcher │ ├── Chrome Beta x64 Launcher.csproj │ ├── Chrome Beta x64 Launcher.csproj.user │ ├── Chrome Beta x64 Launcher.sln │ ├── Chrome_Beta.ico │ ├── Chrome_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 ├── Chrome Beta x86 Launcher │ ├── Chrome Beta x86 Launcher.csproj │ ├── Chrome Beta x86 Launcher.csproj.user │ ├── Chrome Beta x86 Launcher.sln │ ├── Chrome_Beta.ico │ ├── Chrome_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 ├── Chrome Canary x64 Launcher │ ├── Chrome Canary x64 Launcher.csproj │ ├── Chrome Canary x64 Launcher.csproj.user │ ├── Chrome Canary x64 Launcher.sln │ ├── Chrome_Canary.ico │ ├── Chrome_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 ├── Chrome Canary x86 Launcher │ ├── Chrome Canary x86 Launcher.csproj │ ├── Chrome Canary x86 Launcher.csproj.user │ ├── Chrome Canary x86 Launcher.sln │ ├── Chrome_Canary.ico │ ├── Chrome_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 ├── Chrome Dev x64 Launcher │ ├── Chrome Dev x64 Launcher.csproj │ ├── Chrome Dev x64 Launcher.csproj.user │ ├── Chrome Dev x64 Launcher.sln │ ├── Chrome_Dev 32.ico │ ├── Chrome_Dev.ico │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Chrome Dev x86 Launcher │ ├── Chrome Dev x86 Launcher.csproj │ ├── Chrome Dev x86 Launcher.csproj.user │ ├── Chrome Dev x86 Launcher.sln │ ├── Chrome_Dev 32.ico │ ├── Chrome_Dev.ico │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Chrome Launcher │ ├── Chrome 32.ico │ ├── Chrome Launcher.csproj │ ├── Chrome Launcher.csproj.user │ ├── Chrome Launcher.ico │ ├── Chrome Launcher.sln │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Chrome Stable x64 Launcher │ ├── Chrome 32.ico │ ├── Chrome Stable x64 Launcher.csproj │ ├── Chrome Stable x64 Launcher.csproj.user │ ├── Chrome Stable x64 Launcher.sln │ ├── Chrome.ico │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Chrome Stable x86 Launcher │ ├── Chrome 32.ico │ ├── Chrome Stable x86 Launcher.csproj │ ├── Chrome Stable x86 Launcher.csproj.user │ ├── Chrome Stable x86 Launcher.sln │ ├── Chrome.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 Chrome Updater.csproj ├── Portable Chrome Updater.sln ├── 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 | -------------------------------------------------------------------------------- /Chrome Updater 2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Chrome Updater 2.ico -------------------------------------------------------------------------------- /Chrome Updater 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Chrome Updater 32.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/Chrome Beta x64 Launcher/Chrome Beta x64 Launcher.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3} 8 | WinExe 9 | Chrome_Beta_x64_Launcher 10 | Chrome 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 | Chrome_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/Chrome Beta x64 Launcher/Chrome Beta x64 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Chrome Beta x64 Launcher/Chrome 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}") = "Chrome Beta x64 Launcher", "Chrome 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/Chrome Beta x64 Launcher/Chrome_Beta.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Beta x64 Launcher/Chrome_Beta.ico -------------------------------------------------------------------------------- /Launcher/Chrome Beta x64 Launcher/Chrome_Beta_32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Beta x64 Launcher/Chrome_Beta_32.ico -------------------------------------------------------------------------------- /Launcher/Chrome Beta x64 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Chrome_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.TopMost = true; 75 | this.ResumeLayout(false); 76 | this.PerformLayout(); 77 | 78 | } 79 | 80 | #endregion 81 | private System.Windows.Forms.Button button1; 82 | private System.Windows.Forms.RadioButton radioButton1; 83 | private System.Windows.Forms.RadioButton radioButton2; 84 | private System.Windows.Forms.RadioButton radioButton3; 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /Launcher/Chrome Beta x64 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Chrome_Beta_x64_Launcher 6 | { 7 | public partial class Form1 : Form 8 | { 9 | 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 Google Chrome 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 Google Chrome"; 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 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Beta x64\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Beta x64\\Profile.txt", "--user-data-dir=\"Chrome Beta x64\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Beta x64\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Chrome 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 Chrome_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 + "\\Chrome Beta x64\\Chrome.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 + "\\Chrome Beta x64\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Beta x64\\Chrome.exe", Arguments3); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Chrome Beta x64\\Chrome.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Beta x64\\Chrome.exe", Arguments3); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Chrome Beta x64\\Chrome.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | MessageBox.Show("Chrome ist nicht installiert", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | MessageBox.Show("Google Chrome Portable не найден", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | MessageBox.Show("Chrome is not installed", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Chrome 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("Chrome Beta x64 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Chrome 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/Chrome 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 Chrome_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("Chrome_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/Chrome 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 Chrome_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/Chrome Beta x64 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Chrome Beta x86 Launcher/Chrome Beta x86 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Chrome Beta x86 Launcher/Chrome 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}") = "Chrome Beta x86 Launcher", "Chrome 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/Chrome Beta x86 Launcher/Chrome_Beta.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Beta x86 Launcher/Chrome_Beta.ico -------------------------------------------------------------------------------- /Launcher/Chrome Beta x86 Launcher/Chrome_Beta_32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Beta x86 Launcher/Chrome_Beta_32.ico -------------------------------------------------------------------------------- /Launcher/Chrome Beta x86 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Chrome_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.TopMost = true; 75 | this.ResumeLayout(false); 76 | this.PerformLayout(); 77 | 78 | } 79 | 80 | #endregion 81 | private System.Windows.Forms.Button button1; 82 | private System.Windows.Forms.RadioButton radioButton1; 83 | private System.Windows.Forms.RadioButton radioButton2; 84 | private System.Windows.Forms.RadioButton radioButton3; 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /Launcher/Chrome Beta x86 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Chrome_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 Google Chrome 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 Google Chrome"; 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 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Beta x86\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Beta x86\\Profile.txt", "--user-data-dir=\"Chrome Beta x86\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Beta x86\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Chrome 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 Chrome_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 + "\\Chrome Beta x86\\Chrome.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 + "\\Chrome Beta x86\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Beta x86\\Chrome.exe", Arguments3); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Chrome Beta x86\\Chrome.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Beta x86\\Chrome.exe", Arguments3); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Chrome Beta x86\\Chrome.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | _ = MessageBox.Show("Chrome ist nicht installiert", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | _ = MessageBox.Show("Google Chrome Portable не найден", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | _ = MessageBox.Show("Chrome is not installed", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Chrome 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("Chrome Beta x86 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Chrome 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/Chrome 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 Chrome_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("Chrome_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/Chrome 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 Chrome_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/Chrome Beta x86 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Chrome Canary x64 Launcher/Chrome Canary x64 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Chrome Canary x64 Launcher/Chrome 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}") = "Chrome Canary x64 Launcher", "Chrome 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/Chrome Canary x64 Launcher/Chrome_Canary.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Canary x64 Launcher/Chrome_Canary.ico -------------------------------------------------------------------------------- /Launcher/Chrome Canary x64 Launcher/Chrome_Canary_32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Canary x64 Launcher/Chrome_Canary_32.ico -------------------------------------------------------------------------------- /Launcher/Chrome Canary x64 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Chrome_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.TopMost = true; 75 | this.ResumeLayout(false); 76 | this.PerformLayout(); 77 | 78 | } 79 | 80 | #endregion 81 | private System.Windows.Forms.Button button1; 82 | private System.Windows.Forms.RadioButton radioButton1; 83 | private System.Windows.Forms.RadioButton radioButton2; 84 | private System.Windows.Forms.RadioButton radioButton3; 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /Launcher/Chrome Canary x64 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Chrome_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 Google Chrome 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 Google Chrome"; 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 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Canary x64\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Canary x64\\Profile.txt", "--user-data-dir=\"Chrome Canary x64\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Canary x64\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Chrome 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 Chrome_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 + "\\Chrome Canary x64\\Chrome.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 + "\\Chrome Canary x64\\Profile.txt")) 51 | { 52 | 53 | Application.EnableVisualStyles(); 54 | Application.SetCompatibleTextRenderingDefault(false); 55 | Application.Run(new Form1()); 56 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome Canary x64\\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 + "\\Chrome Canary x64\\Chrome.exe", Arguments3); 62 | } 63 | else 64 | { 65 | Process.Start(applicationPath + "\\Chrome Canary x64\\Chrome.exe", Arguments); 66 | } 67 | } 68 | else 69 | { 70 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome Canary x64\\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 + "\\Chrome Canary x64\\Chrome.exe", Arguments3); 76 | } 77 | else 78 | { 79 | Process.Start(applicationPath + "\\Chrome Canary x64\\Chrome.exe", Arguments); 80 | } 81 | } 82 | } 83 | else if (culture1.TwoLetterISOLanguageName == "de") 84 | { 85 | MessageBox.Show("Chrome ist nicht installiert", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 86 | } 87 | else if (culture1.TwoLetterISOLanguageName == "ru") 88 | { 89 | MessageBox.Show("Google Chrome Portable не найден", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 90 | } 91 | else 92 | { 93 | MessageBox.Show("Chrome is not installed", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 94 | } 95 | } 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /Launcher/Chrome 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("Chrome Canary x64 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Chrome 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/Chrome 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 Chrome_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("Chrome_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/Chrome 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 Chrome_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/Chrome Canary x64 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Chrome Canary x86 Launcher/Chrome Canary x86 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Chrome Canary x86 Launcher/Chrome 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}") = "Chrome Canary x86 Launcher", "Chrome 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/Chrome Canary x86 Launcher/Chrome_Canary.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Canary x86 Launcher/Chrome_Canary.ico -------------------------------------------------------------------------------- /Launcher/Chrome Canary x86 Launcher/Chrome_Canary_32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Canary x86 Launcher/Chrome_Canary_32.ico -------------------------------------------------------------------------------- /Launcher/Chrome Canary x86 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Chrome_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.TopMost = true; 75 | this.ResumeLayout(false); 76 | this.PerformLayout(); 77 | 78 | } 79 | 80 | #endregion 81 | private System.Windows.Forms.Button button1; 82 | private System.Windows.Forms.RadioButton radioButton1; 83 | private System.Windows.Forms.RadioButton radioButton2; 84 | private System.Windows.Forms.RadioButton radioButton3; 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /Launcher/Chrome Canary x86 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Chrome_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 Google Chrome 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 Google Chrome"; 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 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Canary x86\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Canary x86\\Profile.txt", "--user-data-dir=\"Chrome Canary x86\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Canary x86\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Chrome 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 Chrome_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 + "\\Chrome Canary x86\\Chrome.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 + "\\Chrome Canary x86\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Canary x86\\Chrome.exe", Arguments3); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Chrome Canary x86\\Chrome.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Canary x86\\Chrome.exe", Arguments3); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Chrome Canary x86\\Chrome.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | _ = MessageBox.Show("Chrome ist nicht installiert", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | _ = MessageBox.Show("Google Chrome Portable не найден", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | _ = MessageBox.Show("Chrome is not installed", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Chrome 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("Chrome Canary x86 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Chrome Canary x86 Starter")] 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/Chrome 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 Chrome_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("Chrome_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/Chrome 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 Chrome_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/Chrome Canary x86 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Chrome Dev x64 Launcher/Chrome Dev x64 Launcher.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3} 8 | WinExe 9 | Chrome_Dev_x64_Launcher 10 | Chrome 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 | Chrome_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/Chrome Dev x64 Launcher/Chrome Dev x64 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Chrome Dev x64 Launcher/Chrome 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}") = "Chrome Dev x64 Launcher", "Chrome 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/Chrome Dev x64 Launcher/Chrome_Dev 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Dev x64 Launcher/Chrome_Dev 32.ico -------------------------------------------------------------------------------- /Launcher/Chrome Dev x64 Launcher/Chrome_Dev.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Dev x64 Launcher/Chrome_Dev.ico -------------------------------------------------------------------------------- /Launcher/Chrome Dev x64 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Chrome_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.TopMost = true; 75 | this.ResumeLayout(false); 76 | this.PerformLayout(); 77 | 78 | } 79 | 80 | #endregion 81 | private System.Windows.Forms.Button button1; 82 | private System.Windows.Forms.RadioButton radioButton1; 83 | private System.Windows.Forms.RadioButton radioButton2; 84 | private System.Windows.Forms.RadioButton radioButton3; 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /Launcher/Chrome Dev x64 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Chrome_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 Google Chrome 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 Google Chrome"; 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 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Dev x64\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Dev x64\\Profile.txt", "--user-data-dir=\"Chrome Dev x64\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Dev x64\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Chrome 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 Chrome_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 + "\\Chrome Dev x64\\Chrome.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 + "\\Chrome Dev x64\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Dev x64\\Chrome.exe", Arguments3); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Chrome Dev x64\\Chrome.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Dev x64\\Chrome.exe", Arguments3); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Chrome Dev x64\\Chrome.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | _ = MessageBox.Show("Chrome ist nicht installiert", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | _ = MessageBox.Show("Google Chrome Portable не найден", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | _ = MessageBox.Show("Chrome is not installed", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Chrome 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("Chrome Dev x64 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Chrome 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/Chrome 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 Chrome_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("Chrome_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/Chrome 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 Chrome_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/Chrome Dev x64 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Chrome Dev x86 Launcher/Chrome Dev x86 Launcher.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3} 8 | WinExe 9 | Chrome_Dev_x86_Launcher 10 | Chrome 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 | Chrome_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/Chrome Dev x86 Launcher/Chrome Dev x86 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Chrome Dev x86 Launcher/Chrome 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}") = "Chrome Dev x86 Launcher", "Chrome 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/Chrome Dev x86 Launcher/Chrome_Dev 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Dev x86 Launcher/Chrome_Dev 32.ico -------------------------------------------------------------------------------- /Launcher/Chrome Dev x86 Launcher/Chrome_Dev.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Dev x86 Launcher/Chrome_Dev.ico -------------------------------------------------------------------------------- /Launcher/Chrome Dev x86 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Chrome_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.TopMost = true; 75 | this.ResumeLayout(false); 76 | this.PerformLayout(); 77 | 78 | } 79 | 80 | #endregion 81 | private System.Windows.Forms.Button button1; 82 | private System.Windows.Forms.RadioButton radioButton1; 83 | private System.Windows.Forms.RadioButton radioButton2; 84 | private System.Windows.Forms.RadioButton radioButton3; 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /Launcher/Chrome Dev x86 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Chrome_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 Google Chrome 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 Google Chrome"; 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 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Dev x86\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Dev x86\\Profile.txt", "--user-data-dir=\"Chrome Dev x86\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Dev x86\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Chrome 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 Chrome_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 + "\\Chrome Dev x86\\Chrome.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 + "\\Chrome Dev x86\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Dev x86\\Chrome.exe", Arguments3); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Chrome Dev x86\\Chrome.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Dev x86\\Chrome.exe", Arguments3); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Chrome Dev x86\\Chrome.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | MessageBox.Show("Chrome ist nicht installiert", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | MessageBox.Show("Google Chrome Portable не найден", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | MessageBox.Show("Chrome is not installed", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Chrome 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("Chrome Dev x86 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Chrome 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/Chrome 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 Chrome_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("Chrome_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/Chrome 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 Chrome_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/Chrome Dev x86 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Chrome Launcher/Chrome 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Launcher/Chrome 32.ico -------------------------------------------------------------------------------- /Launcher/Chrome Launcher/Chrome Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Chrome Launcher/Chrome Launcher.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Launcher/Chrome Launcher.ico -------------------------------------------------------------------------------- /Launcher/Chrome Launcher/Chrome 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}") = "Chrome Launcher", "Chrome 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/Chrome Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Chrome_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.TopMost = true; 75 | this.ResumeLayout(false); 76 | this.PerformLayout(); 77 | 78 | } 79 | 80 | #endregion 81 | private System.Windows.Forms.Button button1; 82 | private System.Windows.Forms.RadioButton radioButton1; 83 | private System.Windows.Forms.RadioButton radioButton2; 84 | private System.Windows.Forms.RadioButton radioButton3; 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /Launcher/Chrome Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | using System.Globalization; 4 | 5 | namespace Chrome_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 Google Chrome 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 Google Chrome"; 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 | System.IO.File.WriteAllText(applicationPath + "\\Chrome\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Chrome\\Profile.txt", "--user-data-dir=\"Chrome\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Chrome\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Chrome 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 Chrome_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 + "\\Chrome\\Chrome.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 + "\\Chrome\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome\\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 + "\\Chrome\\Chrome.exe", Arguments3); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Chrome\\Chrome.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome\\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 + "\\Chrome\\Chrome.exe", Arguments3); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Chrome\\Chrome.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | MessageBox.Show("Chrome ist nicht installiert", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | MessageBox.Show("Google Chrome Portable не найден", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | MessageBox.Show("Chrome is not installed", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Chrome 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("Chrome Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Chrome 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/Chrome 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 Chrome_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("Chrome_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/Chrome 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 Chrome_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/Chrome Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Chrome Stable x64 Launcher/Chrome 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Stable x64 Launcher/Chrome 32.ico -------------------------------------------------------------------------------- /Launcher/Chrome Stable x64 Launcher/Chrome Stable x64 Launcher.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3} 8 | WinExe 9 | Chrome_Stable_x64_Launcher 10 | Chrome 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 | Chrome.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/Chrome Stable x64 Launcher/Chrome Stable x64 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Chrome Stable x64 Launcher/Chrome 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}") = "Chrome Stable x64 Launcher", "Chrome 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/Chrome Stable x64 Launcher/Chrome.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Stable x64 Launcher/Chrome.ico -------------------------------------------------------------------------------- /Launcher/Chrome Stable x64 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Chrome_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.TopMost = true; 75 | this.ResumeLayout(false); 76 | this.PerformLayout(); 77 | 78 | } 79 | 80 | #endregion 81 | private System.Windows.Forms.Button button1; 82 | private System.Windows.Forms.RadioButton radioButton1; 83 | private System.Windows.Forms.RadioButton radioButton2; 84 | private System.Windows.Forms.RadioButton radioButton3; 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /Launcher/Chrome Stable x64 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Chrome_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 Google Chrome 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 Google Chrome"; 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 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Stable x64\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Stable x64\\Profile.txt", "--user-data-dir=\"Chrome Stable x64\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Stable x64\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Chrome 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 Chrome_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 + "\\Chrome Stable x64\\Chrome.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 + "\\Chrome Stable x64\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Stable x64\\Chrome.exe", Arguments3); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Chrome Stable x64\\Chrome.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Stable x64\\Chrome.exe", Arguments3); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Chrome Stable x64\\Chrome.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | MessageBox.Show("Chrome ist nicht installiert", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | MessageBox.Show("Google Chrome Portable не найден", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | MessageBox.Show("Chrome is not installed", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Chrome 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("Chrome Stable x64 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Chrome 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/Chrome 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 Chrome_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("Chrome_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/Chrome 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 Chrome_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/Chrome Stable x64 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Chrome Stable x86 Launcher/Chrome 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Stable x86 Launcher/Chrome 32.ico -------------------------------------------------------------------------------- /Launcher/Chrome Stable x86 Launcher/Chrome Stable x86 Launcher.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3} 8 | WinExe 9 | Chrome_Stable_x86_Launcher 10 | Chrome Stable 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 | Chrome.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/Chrome Stable x86 Launcher/Chrome Stable x86 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Chrome Stable x86 Launcher/Chrome 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}") = "Chrome Stable x86 Launcher", "Chrome 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/Chrome Stable x86 Launcher/Chrome.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Chrome Stable x86 Launcher/Chrome.ico -------------------------------------------------------------------------------- /Launcher/Chrome Stable x86 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Chrome_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.TopMost = true; 75 | this.ResumeLayout(false); 76 | this.PerformLayout(); 77 | 78 | } 79 | 80 | #endregion 81 | private System.Windows.Forms.Button button1; 82 | private System.Windows.Forms.RadioButton radioButton1; 83 | private System.Windows.Forms.RadioButton radioButton2; 84 | private System.Windows.Forms.RadioButton radioButton3; 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /Launcher/Chrome Stable x86 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Chrome_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 Google Chrome 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 Google Chrome"; 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 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Stable x86\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Stable x86\\Profile.txt", "--user-data-dir=\"Chrome Stable x86\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Chrome Stable x86\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Chrome 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 Chrome_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 + "\\Chrome Stable x86\\Chrome.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 + "\\Chrome Stable x86\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Stable x86\\Chrome.exe", Arguments3); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Chrome Stable x86\\Chrome.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | String Arguments = File.ReadAllText(applicationPath + "\\Chrome 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 + "\\Chrome Stable x86\\Chrome.exe", Arguments3); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Chrome Stable x86\\Chrome.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | MessageBox.Show("Chrome ist nicht installiert", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | MessageBox.Show("Google Chrome Portable не найден", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | MessageBox.Show("Chrome is not installed", "Chrome Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Chrome 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("Chrome Stable x86 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Chrome 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/Chrome 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 Chrome_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("Chrome_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/Chrome 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 Chrome_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/Chrome Stable x86 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Launcher.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorChromeUpd/6913f8ed10ad4bde03f30ed8623acccf2cb749b0/Launcher/Launcher.7z -------------------------------------------------------------------------------- /Launcher/Version.txt: -------------------------------------------------------------------------------- 1 | 1.2.0.0 -------------------------------------------------------------------------------- /Portable Chrome Updater.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {2A1B5F60-3435-48FA-8CCD-B878D6A0FCEB} 8 | WinExe 9 | Chrome_Updater 10 | Portable Chrome Updater 11 | v4.5 12 | 512 13 | true 14 | 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | false 21 | bin\Debug\ 22 | DEBUG;TRACE 23 | prompt 24 | 4 25 | false 26 | 27 | 28 | AnyCPU 29 | pdbonly 30 | true 31 | bin\Release\ 32 | TRACE 33 | prompt 34 | 4 35 | 36 | 37 | false 38 | 39 | 40 | Chrome Updater 2.ico 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | Form 57 | 58 | 59 | Form1.cs 60 | 61 | 62 | 63 | 64 | 65 | 66 | Form1.cs 67 | 68 | 69 | ResXFileCodeGenerator 70 | Resources.Designer.cs 71 | Designer 72 | 73 | 74 | True 75 | Resources.resx 76 | True 77 | 78 | 79 | 80 | SettingsSingleFileGenerator 81 | Settings.Designer.cs 82 | 83 | 84 | True 85 | Settings.settings 86 | True 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | {F935DC20-1CF0-11D0-ADB9-00C04FD58A0B} 95 | 1 96 | 0 97 | 0 98 | tlbimp 99 | False 100 | True 101 | 102 | 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /Portable Chrome 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 Chrome Updater", "Portable Chrome Updater.csproj", "{2A1B5F60-3435-48FA-8CCD-B878D6A0FCEB}" 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 | {2A1B5F60-3435-48FA-8CCD-B878D6A0FCEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {2A1B5F60-3435-48FA-8CCD-B878D6A0FCEB}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {2A1B5F60-3435-48FA-8CCD-B878D6A0FCEB}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {2A1B5F60-3435-48FA-8CCD-B878D6A0FCEB}.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 = {B86653CC-8653-4D08-B15F-D26514015745} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Windows.Forms; 5 | 6 | namespace Chrome_Updater 7 | { 8 | static class Program 9 | { 10 | /// 11 | /// Der Haupteinstiegspunkt für die Anwendung. 12 | /// 13 | [STAThread] 14 | static void Main() 15 | { 16 | Application.EnableVisualStyles(); 17 | Application.SetCompatibleTextRenderingDefault(false); 18 | Application.Run(new Form1()); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /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("Portable Chrome Updater")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben' Rumpelkammer")] 12 | [assembly: AssemblyProduct("Portable Chrome 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("2a1b5f60-3435-48fa-8ccd-b878d6a0fceb")] 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.4.3.0")] 36 | [assembly: AssemblyFileVersion("1.4.3.0")] 37 | -------------------------------------------------------------------------------- /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 Chrome_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("Chrome_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 | -------------------------------------------------------------------------------- /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 Chrome_Updater.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.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 | -------------------------------------------------------------------------------- /Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PorChromeUpd 2 | Portable Chrome Updater 3 | 4 | For unpacking the downloaded chrome offline installer i use 7zr.exe 5 | 6 | - 7zr.exe - https://www.7-zip.org/ (Public Domain) 7 | -------------------------------------------------------------------------------- /Version.txt: -------------------------------------------------------------------------------- 1 | 1.4.3.0 -------------------------------------------------------------------------------- /app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | --------------------------------------------------------------------------------