├── .gitattributes ├── Brave Updater 32.ico ├── Brave Updater.ico ├── Form1.Designer.cs ├── Form1.cs ├── Form1.resx ├── LICENSE ├── Launcher ├── Brave Beta x64 Launcher │ ├── Brave Beta 32.ico │ ├── Brave Beta x64 Launcher.csproj │ ├── Brave Beta x64 Launcher.csproj.user │ ├── Brave Beta x64 Launcher.sln │ ├── Brave Beta.ico │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Brave Beta x86 Launcher │ ├── Brave Beta 32.ico │ ├── Brave Beta x86 Launcher.csproj │ ├── Brave Beta x86 Launcher.csproj.user │ ├── Brave Beta.ico │ ├── Chrome Beta x86 Launcher.sln │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Brave Dev x64 Launcher │ ├── Brave Dev 32.ico │ ├── Brave Dev x64 Launcher.csproj │ ├── Brave Dev x64 Launcher.csproj.user │ ├── Brave Dev x64 Launcher.sln │ ├── Brave Dev.ico │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Brave Dev x86 Launcher │ ├── Brave Dev 32.ico │ ├── Brave Dev x86 Launcher.csproj │ ├── Brave Dev x86 Launcher.csproj.user │ ├── Brave Dev x86 Launcher.sln │ ├── Brave Dev.ico │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Brave Launcher │ ├── Brave 32.ico │ ├── Brave Launcher.csproj │ ├── Brave Launcher.csproj.user │ ├── Brave Launcher.sln │ ├── Brave.ico │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Brave Nightly x64 Launcher │ ├── Brave Nightly x64 Launcher.csproj │ ├── Brave Nightly x64 Launcher.csproj.user │ ├── Brave Nightly x64 Launcher.sln │ ├── Brave nightly 32.ico │ ├── Brave nightly.ico │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Brave Nightly x86 Launcher │ ├── Brave Nightly x86 Launcher.csproj │ ├── Brave Nightly x86 Launcher.csproj.user │ ├── Brave Nightly x86 Launcher.sln │ ├── Brave nightly 32.ico │ ├── Brave nightly.ico │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Brave Stable x64 Launcher │ ├── Brave 32.ico │ ├── Brave Stable x64 Launcher.csproj │ ├── Brave Stable x64 Launcher.csproj.user │ ├── Brave Stable x64 Launcher.sln │ ├── Brave.ico │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ └── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings ├── Brave Stable x86 Launcher │ ├── Brave 32.ico │ ├── Brave Stable x86 Launcher.csproj │ ├── Brave Stable x86 Launcher.csproj.user │ ├── Brave Stable x86 Launcher.sln │ ├── Brave.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 Brave Updater.csproj ├── Portable Brave Updater.sln ├── Program.cs ├── Properties ├── AssemblyInfo.cs ├── Resources.Designer.cs ├── Resources.resx ├── Settings.Designer.cs └── Settings.settings ├── README.md ├── Version.txt ├── app.config └── packages.config /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /Brave Updater 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Brave Updater 32.ico -------------------------------------------------------------------------------- /Brave Updater.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Brave Updater.ico -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 UndertakerBen 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Launcher/Brave Beta x64 Launcher/Brave Beta 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Beta x64 Launcher/Brave Beta 32.ico -------------------------------------------------------------------------------- /Launcher/Brave Beta x64 Launcher/Brave Beta x64 Launcher.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3} 8 | WinExe 9 | Brave_Beta_x64_Launcher 10 | Brave 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 | Brave 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/Brave Beta x64 Launcher/Brave Beta x64 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Brave Beta x64 Launcher/Brave 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}") = "Brave Beta x64 Launcher", "Brave 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/Brave Beta x64 Launcher/Brave Beta.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Beta x64 Launcher/Brave Beta.ico -------------------------------------------------------------------------------- /Launcher/Brave Beta x64 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Brave_Beta_x64_Launcher 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Erforderliche Designervariable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Verwendete Ressourcen bereinigen. 12 | /// 13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Vom Windows Form-Designer generierter Code 24 | 25 | /// 26 | /// Erforderliche Methode für die Designerunterstützung. 27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.radioButton1 = new System.Windows.Forms.RadioButton(); 34 | this.radioButton2 = new System.Windows.Forms.RadioButton(); 35 | this.radioButton3 = new System.Windows.Forms.RadioButton(); 36 | this.SuspendLayout(); 37 | // 38 | // button1 39 | // 40 | resources.ApplyResources(this.button1, "button1"); 41 | this.button1.Name = "button1"; 42 | this.button1.UseVisualStyleBackColor = true; 43 | this.button1.Click += new System.EventHandler(this.Button1_Click); 44 | // 45 | // radioButton1 46 | // 47 | resources.ApplyResources(this.radioButton1, "radioButton1"); 48 | this.radioButton1.Name = "radioButton1"; 49 | this.radioButton1.UseVisualStyleBackColor = true; 50 | // 51 | // radioButton2 52 | // 53 | resources.ApplyResources(this.radioButton2, "radioButton2"); 54 | this.radioButton2.Checked = true; 55 | this.radioButton2.Name = "radioButton2"; 56 | this.radioButton2.TabStop = true; 57 | this.radioButton2.UseVisualStyleBackColor = true; 58 | // 59 | // radioButton3 60 | // 61 | resources.ApplyResources(this.radioButton3, "radioButton3"); 62 | this.radioButton3.Name = "radioButton3"; 63 | this.radioButton3.UseVisualStyleBackColor = true; 64 | // 65 | // Form1 66 | // 67 | resources.ApplyResources(this, "$this"); 68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 69 | this.Controls.Add(this.radioButton3); 70 | this.Controls.Add(this.radioButton2); 71 | this.Controls.Add(this.radioButton1); 72 | this.Controls.Add(this.button1); 73 | this.Name = "Form1"; 74 | this.ResumeLayout(false); 75 | this.PerformLayout(); 76 | 77 | } 78 | 79 | #endregion 80 | private System.Windows.Forms.Button button1; 81 | private System.Windows.Forms.RadioButton radioButton1; 82 | private System.Windows.Forms.RadioButton radioButton2; 83 | private System.Windows.Forms.RadioButton radioButton3; 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /Launcher/Brave Beta x64 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Brave_Beta_x64_Launcher 6 | { 7 | public partial class Form1 : Form 8 | { 9 | private readonly string applicationPath = Application.StartupPath; 10 | public Form1() 11 | { 12 | CultureInfo culture = CultureInfo.CurrentUICulture; 13 | InitializeComponent(); 14 | switch (culture.TwoLetterISOLanguageName) 15 | { 16 | case "de": 17 | radioButton3.Text = "Das Standard Profil von Brave 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 Brave"; 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 + "\\Brave Beta x64\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Brave Beta x64\\Profile.txt", "--user-data-dir=\"Brave Beta x64\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Brave Beta x64\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Brave 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 Brave_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(@"Brave Beta x64\Brave.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 + "\\Brave Beta x64\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Beta x64\\Brave.exe", Arguments3.Replace("'", "")); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Brave Beta x64\\Brave.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | string Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Beta x64\\Brave.exe", Arguments3.Replace("'", "")); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Brave Beta x64\\Brave.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | _ = MessageBox.Show("Brave ist nicht installiert", "Brave Beta x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | _ = MessageBox.Show("Brave Portable не найден", "Brave Beta x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | _ = MessageBox.Show("Brave is not installed", "Brave Beta x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Brave 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("Brave Beta x64 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Brave Beta x64 Launcher")] 13 | [assembly: AssemblyCopyright("Copyright © 2021")] 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/Brave 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 Brave_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("Brave_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/Brave 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 Brave_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/Brave Beta x64 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Brave Beta x86 Launcher/Brave Beta 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Beta x86 Launcher/Brave Beta 32.ico -------------------------------------------------------------------------------- /Launcher/Brave Beta x86 Launcher/Brave Beta x86 Launcher.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3} 8 | WinExe 9 | Brave_Beta_x86_Launcher 10 | Brave Beta x86 Launcher 11 | v4.0 12 | 512 13 | true 14 | publish\ 15 | true 16 | Disk 17 | false 18 | Foreground 19 | 7 20 | Days 21 | false 22 | false 23 | true 24 | 0 25 | 1.0.0.%2a 26 | false 27 | false 28 | true 29 | 30 | 31 | AnyCPU 32 | true 33 | full 34 | false 35 | bin\Debug\ 36 | DEBUG;TRACE 37 | prompt 38 | 4 39 | 40 | 41 | AnyCPU 42 | pdbonly 43 | true 44 | bin\Release\ 45 | TRACE 46 | prompt 47 | 4 48 | 49 | 50 | Brave 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/Brave Beta x86 Launcher/Brave Beta x86 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Brave Beta x86 Launcher/Brave Beta.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Beta x86 Launcher/Brave Beta.ico -------------------------------------------------------------------------------- /Launcher/Brave 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}") = "Brave Beta x86 Launcher", "Brave 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/Brave Beta x86 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Brave_Beta_x86_Launcher 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Erforderliche Designervariable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Verwendete Ressourcen bereinigen. 12 | /// 13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Vom Windows Form-Designer generierter Code 24 | 25 | /// 26 | /// Erforderliche Methode für die Designerunterstützung. 27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.radioButton1 = new System.Windows.Forms.RadioButton(); 34 | this.radioButton2 = new System.Windows.Forms.RadioButton(); 35 | this.radioButton3 = new System.Windows.Forms.RadioButton(); 36 | this.SuspendLayout(); 37 | // 38 | // button1 39 | // 40 | resources.ApplyResources(this.button1, "button1"); 41 | this.button1.Name = "button1"; 42 | this.button1.UseVisualStyleBackColor = true; 43 | this.button1.Click += new System.EventHandler(this.Button1_Click); 44 | // 45 | // radioButton1 46 | // 47 | resources.ApplyResources(this.radioButton1, "radioButton1"); 48 | this.radioButton1.Name = "radioButton1"; 49 | this.radioButton1.UseVisualStyleBackColor = true; 50 | // 51 | // radioButton2 52 | // 53 | resources.ApplyResources(this.radioButton2, "radioButton2"); 54 | this.radioButton2.Checked = true; 55 | this.radioButton2.Name = "radioButton2"; 56 | this.radioButton2.TabStop = true; 57 | this.radioButton2.UseVisualStyleBackColor = true; 58 | // 59 | // radioButton3 60 | // 61 | resources.ApplyResources(this.radioButton3, "radioButton3"); 62 | this.radioButton3.Name = "radioButton3"; 63 | this.radioButton3.UseVisualStyleBackColor = true; 64 | // 65 | // Form1 66 | // 67 | resources.ApplyResources(this, "$this"); 68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 69 | this.Controls.Add(this.radioButton3); 70 | this.Controls.Add(this.radioButton2); 71 | this.Controls.Add(this.radioButton1); 72 | this.Controls.Add(this.button1); 73 | this.Name = "Form1"; 74 | this.ResumeLayout(false); 75 | this.PerformLayout(); 76 | 77 | } 78 | 79 | #endregion 80 | private System.Windows.Forms.Button button1; 81 | private System.Windows.Forms.RadioButton radioButton1; 82 | private System.Windows.Forms.RadioButton radioButton2; 83 | private System.Windows.Forms.RadioButton radioButton3; 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /Launcher/Brave Beta x86 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Brave_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 Brave 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 the Brave Browser"; 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 + "\\Brave Beta x86\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Brave Beta x86\\Profile.txt", "--user-data-dir=\"Brave Beta x86\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Brave Beta x86\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Brave 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 Brave_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(@"Brave Beta x86\Brave.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 + "\\Brave Beta x86\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Beta x86\\Brave.exe", Arguments3.Replace("'", "")); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Brave Beta x86\\Brave.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | string Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Beta x86\\Brave.exe", Arguments3.Replace("'", "")); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Brave Beta x86\\Brave.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | _ = MessageBox.Show("Brave ist nicht installiert", "Brave Beta x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | _ = MessageBox.Show("Brave Portable не найден", "Brave Beta x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | _ = MessageBox.Show("Brave is not installed", "Brave Beta x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Brave 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("Brave Beta x86 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Brave Beta x86 Launcher")] 13 | [assembly: AssemblyCopyright("Copyright © 2021")] 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/Brave 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 Brave_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("Brave_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/Brave 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 Brave_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/Brave Beta x86 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Brave Dev x64 Launcher/Brave Dev 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Dev x64 Launcher/Brave Dev 32.ico -------------------------------------------------------------------------------- /Launcher/Brave Dev x64 Launcher/Brave Dev x64 Launcher.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3} 8 | WinExe 9 | Brave_Dev_x64_Launcher 10 | Brave 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 | Brave 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/Brave Dev x64 Launcher/Brave Dev x64 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Brave Dev x64 Launcher/Brave 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}") = "Brave Dev x64 Launcher", "Brave 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/Brave Dev x64 Launcher/Brave Dev.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Dev x64 Launcher/Brave Dev.ico -------------------------------------------------------------------------------- /Launcher/Brave Dev x64 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Brave_Dev_x64_Launcher 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Erforderliche Designervariable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Verwendete Ressourcen bereinigen. 12 | /// 13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Vom Windows Form-Designer generierter Code 24 | 25 | /// 26 | /// Erforderliche Methode für die Designerunterstützung. 27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.radioButton1 = new System.Windows.Forms.RadioButton(); 34 | this.radioButton2 = new System.Windows.Forms.RadioButton(); 35 | this.radioButton3 = new System.Windows.Forms.RadioButton(); 36 | this.SuspendLayout(); 37 | // 38 | // button1 39 | // 40 | resources.ApplyResources(this.button1, "button1"); 41 | this.button1.Name = "button1"; 42 | this.button1.UseVisualStyleBackColor = true; 43 | this.button1.Click += new System.EventHandler(this.Button1_Click); 44 | // 45 | // radioButton1 46 | // 47 | resources.ApplyResources(this.radioButton1, "radioButton1"); 48 | this.radioButton1.Name = "radioButton1"; 49 | this.radioButton1.UseVisualStyleBackColor = true; 50 | // 51 | // radioButton2 52 | // 53 | resources.ApplyResources(this.radioButton2, "radioButton2"); 54 | this.radioButton2.Checked = true; 55 | this.radioButton2.Name = "radioButton2"; 56 | this.radioButton2.TabStop = true; 57 | this.radioButton2.UseVisualStyleBackColor = true; 58 | // 59 | // radioButton3 60 | // 61 | resources.ApplyResources(this.radioButton3, "radioButton3"); 62 | this.radioButton3.Name = "radioButton3"; 63 | this.radioButton3.UseVisualStyleBackColor = true; 64 | // 65 | // Form1 66 | // 67 | resources.ApplyResources(this, "$this"); 68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 69 | this.Controls.Add(this.radioButton3); 70 | this.Controls.Add(this.radioButton2); 71 | this.Controls.Add(this.radioButton1); 72 | this.Controls.Add(this.button1); 73 | this.Name = "Form1"; 74 | this.ResumeLayout(false); 75 | this.PerformLayout(); 76 | 77 | } 78 | 79 | #endregion 80 | private System.Windows.Forms.Button button1; 81 | private System.Windows.Forms.RadioButton radioButton1; 82 | private System.Windows.Forms.RadioButton radioButton2; 83 | private System.Windows.Forms.RadioButton radioButton3; 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /Launcher/Brave Dev x64 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Brave_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 Brave 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 the Brave Browser"; 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 + "\\Brave Dev x64\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Brave Dev x64\\Profile.txt", "--user-data-dir=\"Brave Dev x64\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Brave Dev x64\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Brave 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 Brave_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(@"Brave Dev x64\Brave.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 + "\\Brave Dev x64\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Dev x64\\Brave.exe", Arguments3.Replace("'", "")); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Brave Dev x64\\Brave.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | string Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Dev x64\\Brave.exe", Arguments3.Replace("'", "")); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Brave Dev x64\\Brave.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | _ = MessageBox.Show("Brave ist nicht installiert", "Brave Dev x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | _ = MessageBox.Show("Brave Portable не найден", "Brave Dev x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | _ = MessageBox.Show("Brave is not installed", "Brave Dev x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Brave 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("Brave Dev x64 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Brave Dev x64 Launcher")] 13 | [assembly: AssemblyCopyright("Copyright © 2021")] 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/Brave 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 Brave_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("Brave_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/Brave 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 Brave_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/Brave Dev x64 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Brave Dev x86 Launcher/Brave Dev 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Dev x86 Launcher/Brave Dev 32.ico -------------------------------------------------------------------------------- /Launcher/Brave Dev x86 Launcher/Brave Dev x86 Launcher.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3} 8 | WinExe 9 | Brave_Dev_x86_Launcher 10 | Brave 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 | Brave 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/Brave Dev x86 Launcher/Brave Dev x86 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Brave Dev x86 Launcher/Brave 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}") = "Brave Dev x86 Launcher", "Brave 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/Brave Dev x86 Launcher/Brave Dev.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Dev x86 Launcher/Brave Dev.ico -------------------------------------------------------------------------------- /Launcher/Brave Dev x86 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Brave_Dev_x86_Launcher 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Erforderliche Designervariable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Verwendete Ressourcen bereinigen. 12 | /// 13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Vom Windows Form-Designer generierter Code 24 | 25 | /// 26 | /// Erforderliche Methode für die Designerunterstützung. 27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.radioButton1 = new System.Windows.Forms.RadioButton(); 34 | this.radioButton2 = new System.Windows.Forms.RadioButton(); 35 | this.radioButton3 = new System.Windows.Forms.RadioButton(); 36 | this.SuspendLayout(); 37 | // 38 | // button1 39 | // 40 | resources.ApplyResources(this.button1, "button1"); 41 | this.button1.Name = "button1"; 42 | this.button1.UseVisualStyleBackColor = true; 43 | this.button1.Click += new System.EventHandler(this.Button1_Click); 44 | // 45 | // radioButton1 46 | // 47 | resources.ApplyResources(this.radioButton1, "radioButton1"); 48 | this.radioButton1.Name = "radioButton1"; 49 | this.radioButton1.UseVisualStyleBackColor = true; 50 | // 51 | // radioButton2 52 | // 53 | resources.ApplyResources(this.radioButton2, "radioButton2"); 54 | this.radioButton2.Checked = true; 55 | this.radioButton2.Name = "radioButton2"; 56 | this.radioButton2.TabStop = true; 57 | this.radioButton2.UseVisualStyleBackColor = true; 58 | // 59 | // radioButton3 60 | // 61 | resources.ApplyResources(this.radioButton3, "radioButton3"); 62 | this.radioButton3.Name = "radioButton3"; 63 | this.radioButton3.UseVisualStyleBackColor = true; 64 | // 65 | // Form1 66 | // 67 | resources.ApplyResources(this, "$this"); 68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 69 | this.Controls.Add(this.radioButton3); 70 | this.Controls.Add(this.radioButton2); 71 | this.Controls.Add(this.radioButton1); 72 | this.Controls.Add(this.button1); 73 | this.Name = "Form1"; 74 | this.ResumeLayout(false); 75 | this.PerformLayout(); 76 | 77 | } 78 | 79 | #endregion 80 | private System.Windows.Forms.Button button1; 81 | private System.Windows.Forms.RadioButton radioButton1; 82 | private System.Windows.Forms.RadioButton radioButton2; 83 | private System.Windows.Forms.RadioButton radioButton3; 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /Launcher/Brave Dev x86 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Brave_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 Brave 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 the Brave Browser"; 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 + "\\Brave Dev x86\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Brave Dev x86\\Profile.txt", "--user-data-dir=\"Brave Dev x86\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Brave Dev x86\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Brave 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 Brave_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(@"Brave Dev x86\Brave.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 + "\\Brave Dev x86\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Dev x86\\Brave.exe", Arguments3.Replace("'", "")); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Brave Dev x86\\Brave.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | string Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Dev x86\\Brave.exe", Arguments3.Replace("'", "")); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Brave Dev x86\\Brave.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | _ = MessageBox.Show("Brave ist nicht installiert", "Brave Dev x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | _ = MessageBox.Show("Brave Portable не найден", "Brave Dev x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | _ = MessageBox.Show("Brave is not installed", "Brave Dev x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Brave 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("Brave Dev x86 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Brave Dev x86 Launcher")] 13 | [assembly: AssemblyCopyright("Copyright © 2021")] 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/Brave 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 Brave_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("Brave_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/Brave 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 Brave_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/Brave Dev x86 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Brave Launcher/Brave 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Launcher/Brave 32.ico -------------------------------------------------------------------------------- /Launcher/Brave Launcher/Brave Launcher.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {989AC71B-8082-4A6B-BA4A-4D7AAFD83FA3} 8 | WinExe 9 | Brave_Launcher 10 | Brave Launcher 11 | v4.0 12 | 512 13 | true 14 | publish\ 15 | true 16 | Disk 17 | false 18 | Foreground 19 | 7 20 | Days 21 | false 22 | false 23 | true 24 | 0 25 | 1.0.0.%2a 26 | false 27 | false 28 | true 29 | 30 | 31 | AnyCPU 32 | true 33 | full 34 | false 35 | bin\Debug\ 36 | TRACE 37 | prompt 38 | 4 39 | 40 | 41 | AnyCPU 42 | pdbonly 43 | true 44 | bin\Release\ 45 | TRACE 46 | prompt 47 | 4 48 | 49 | 50 | Brave.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/Brave Launcher/Brave Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Brave Launcher/Brave 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}") = "Brave Launcher", "Brave 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/Brave Launcher/Brave.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Launcher/Brave.ico -------------------------------------------------------------------------------- /Launcher/Brave Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Brave_Launcher 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Erforderliche Designervariable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Verwendete Ressourcen bereinigen. 12 | /// 13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Vom Windows Form-Designer generierter Code 24 | 25 | /// 26 | /// Erforderliche Methode für die Designerunterstützung. 27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.radioButton1 = new System.Windows.Forms.RadioButton(); 34 | this.radioButton2 = new System.Windows.Forms.RadioButton(); 35 | this.radioButton3 = new System.Windows.Forms.RadioButton(); 36 | this.SuspendLayout(); 37 | // 38 | // button1 39 | // 40 | resources.ApplyResources(this.button1, "button1"); 41 | this.button1.Name = "button1"; 42 | this.button1.UseVisualStyleBackColor = true; 43 | this.button1.Click += new System.EventHandler(this.Button1_Click); 44 | // 45 | // radioButton1 46 | // 47 | resources.ApplyResources(this.radioButton1, "radioButton1"); 48 | this.radioButton1.Name = "radioButton1"; 49 | this.radioButton1.UseVisualStyleBackColor = true; 50 | // 51 | // radioButton2 52 | // 53 | resources.ApplyResources(this.radioButton2, "radioButton2"); 54 | this.radioButton2.Checked = true; 55 | this.radioButton2.Name = "radioButton2"; 56 | this.radioButton2.TabStop = true; 57 | this.radioButton2.UseVisualStyleBackColor = true; 58 | // 59 | // radioButton3 60 | // 61 | resources.ApplyResources(this.radioButton3, "radioButton3"); 62 | this.radioButton3.Name = "radioButton3"; 63 | this.radioButton3.UseVisualStyleBackColor = true; 64 | // 65 | // Form1 66 | // 67 | resources.ApplyResources(this, "$this"); 68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 69 | this.Controls.Add(this.radioButton3); 70 | this.Controls.Add(this.radioButton2); 71 | this.Controls.Add(this.radioButton1); 72 | this.Controls.Add(this.button1); 73 | this.Name = "Form1"; 74 | this.ResumeLayout(false); 75 | this.PerformLayout(); 76 | 77 | } 78 | 79 | #endregion 80 | private System.Windows.Forms.Button button1; 81 | private System.Windows.Forms.RadioButton radioButton1; 82 | private System.Windows.Forms.RadioButton radioButton2; 83 | private System.Windows.Forms.RadioButton radioButton3; 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /Launcher/Brave Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Brave_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 Brave 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 the Brave Browser"; 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 + "\\Brave\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Brave\\Profile.txt", "--user-data-dir=\"Brave\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Brave\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Brave 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 Brave_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 + "\\Brave\\Brave.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 + "\\Brave\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | string Arguments = File.ReadAllText(applicationPath + "\\Brave\\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 + "\\Brave\\Brave.exe", Arguments3.Replace("'", "")); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Brave\\Brave.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | string Arguments = File.ReadAllText(applicationPath + "\\Brave\\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 + "\\Brave\\Brave.exe", Arguments3.Replace("'", "")); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Brave\\Brave.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | _ = MessageBox.Show("Brave ist nicht installiert", "Brave Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | _ = MessageBox.Show("Brave Portable не найден", "Brave Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | _ = MessageBox.Show("Brave is not installed", "Brave Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Brave 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("Brave Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Brave Launcher")] 13 | [assembly: AssemblyCopyright("Copyright © 2021")] 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("A176BD3F-0D13-4BC3-A8E4-300A7A5BCB2A")] 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/Brave 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 Brave_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("Brave_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/Brave 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 Brave_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/Brave Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Brave Nightly x64 Launcher/Brave Nightly x64 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Brave Nightly x64 Launcher/Brave Nightly 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}") = "Brave Nightly x64 Launcher", "Brave Nightly 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/Brave Nightly x64 Launcher/Brave nightly 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Nightly x64 Launcher/Brave nightly 32.ico -------------------------------------------------------------------------------- /Launcher/Brave Nightly x64 Launcher/Brave nightly.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Nightly x64 Launcher/Brave nightly.ico -------------------------------------------------------------------------------- /Launcher/Brave Nightly x64 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Brave_Nightly_x64_Launcher 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Erforderliche Designervariable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Verwendete Ressourcen bereinigen. 12 | /// 13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Vom Windows Form-Designer generierter Code 24 | 25 | /// 26 | /// Erforderliche Methode für die Designerunterstützung. 27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.radioButton1 = new System.Windows.Forms.RadioButton(); 34 | this.radioButton2 = new System.Windows.Forms.RadioButton(); 35 | this.radioButton3 = new System.Windows.Forms.RadioButton(); 36 | this.SuspendLayout(); 37 | // 38 | // button1 39 | // 40 | resources.ApplyResources(this.button1, "button1"); 41 | this.button1.Name = "button1"; 42 | this.button1.UseVisualStyleBackColor = true; 43 | this.button1.Click += new System.EventHandler(this.Button1_Click); 44 | // 45 | // radioButton1 46 | // 47 | resources.ApplyResources(this.radioButton1, "radioButton1"); 48 | this.radioButton1.Name = "radioButton1"; 49 | this.radioButton1.UseVisualStyleBackColor = true; 50 | // 51 | // radioButton2 52 | // 53 | resources.ApplyResources(this.radioButton2, "radioButton2"); 54 | this.radioButton2.Checked = true; 55 | this.radioButton2.Name = "radioButton2"; 56 | this.radioButton2.TabStop = true; 57 | this.radioButton2.UseVisualStyleBackColor = true; 58 | // 59 | // radioButton3 60 | // 61 | resources.ApplyResources(this.radioButton3, "radioButton3"); 62 | this.radioButton3.Name = "radioButton3"; 63 | this.radioButton3.UseVisualStyleBackColor = true; 64 | // 65 | // Form1 66 | // 67 | resources.ApplyResources(this, "$this"); 68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 69 | this.Controls.Add(this.radioButton3); 70 | this.Controls.Add(this.radioButton2); 71 | this.Controls.Add(this.radioButton1); 72 | this.Controls.Add(this.button1); 73 | this.Name = "Form1"; 74 | this.ResumeLayout(false); 75 | this.PerformLayout(); 76 | 77 | } 78 | 79 | #endregion 80 | private System.Windows.Forms.Button button1; 81 | private System.Windows.Forms.RadioButton radioButton1; 82 | private System.Windows.Forms.RadioButton radioButton2; 83 | private System.Windows.Forms.RadioButton radioButton3; 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /Launcher/Brave Nightly x64 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Brave_Nightly_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 Brave 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 the Brave Browser"; 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 + "\\Brave Nightly x64\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Brave Nightly x64\\Profile.txt", "--user-data-dir=\"Brave Nightly x64\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Brave Nightly x64\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Brave Nightly 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 Brave_Nightly_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(@"Brave Nightly x64\Brave.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 + "\\Brave Nightly x64\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Brave Nightly 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 + "\\Brave Nightly x64\\Brave.exe", Arguments3.Replace("'", "")); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Brave Nightly x64\\Brave.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | string Arguments = File.ReadAllText(applicationPath + "\\Brave Nightly 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 + "\\Brave Nightly x64\\Brave.exe", Arguments3.Replace("'", "")); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Brave Nightly x64\\Brave.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | _ = MessageBox.Show("Brave ist nicht installiert", "Brave Nightly x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | _ = MessageBox.Show("Brave Portable не найден", "Brave Nightly x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | _ = MessageBox.Show("Brave is not installed", "Brave Nightly x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Brave Nightly 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("Brave Nightly x64 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Brave Nightly x64 Launcher")] 13 | [assembly: AssemblyCopyright("Copyright © 2021")] 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/Brave Nightly 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 Brave_Nightly_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("Brave_Nightly_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/Brave Nightly 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 Brave_Nightly_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/Brave Nightly x64 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Brave Nightly x86 Launcher/Brave Nightly x86 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Brave Nightly x86 Launcher/Brave Nightly 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}") = "Brave Nightly x86 Launcher", "Brave Nightly 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/Brave Nightly x86 Launcher/Brave nightly 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Nightly x86 Launcher/Brave nightly 32.ico -------------------------------------------------------------------------------- /Launcher/Brave Nightly x86 Launcher/Brave nightly.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Nightly x86 Launcher/Brave nightly.ico -------------------------------------------------------------------------------- /Launcher/Brave Nightly x86 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Brave_Nightly_x86_Launcher 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Erforderliche Designervariable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Verwendete Ressourcen bereinigen. 12 | /// 13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Vom Windows Form-Designer generierter Code 24 | 25 | /// 26 | /// Erforderliche Methode für die Designerunterstützung. 27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.radioButton1 = new System.Windows.Forms.RadioButton(); 34 | this.radioButton2 = new System.Windows.Forms.RadioButton(); 35 | this.radioButton3 = new System.Windows.Forms.RadioButton(); 36 | this.SuspendLayout(); 37 | // 38 | // button1 39 | // 40 | resources.ApplyResources(this.button1, "button1"); 41 | this.button1.Name = "button1"; 42 | this.button1.UseVisualStyleBackColor = true; 43 | this.button1.Click += new System.EventHandler(this.Button1_Click); 44 | // 45 | // radioButton1 46 | // 47 | resources.ApplyResources(this.radioButton1, "radioButton1"); 48 | this.radioButton1.Name = "radioButton1"; 49 | this.radioButton1.UseVisualStyleBackColor = true; 50 | // 51 | // radioButton2 52 | // 53 | resources.ApplyResources(this.radioButton2, "radioButton2"); 54 | this.radioButton2.Checked = true; 55 | this.radioButton2.Name = "radioButton2"; 56 | this.radioButton2.TabStop = true; 57 | this.radioButton2.UseVisualStyleBackColor = true; 58 | // 59 | // radioButton3 60 | // 61 | resources.ApplyResources(this.radioButton3, "radioButton3"); 62 | this.radioButton3.Name = "radioButton3"; 63 | this.radioButton3.UseVisualStyleBackColor = true; 64 | // 65 | // Form1 66 | // 67 | resources.ApplyResources(this, "$this"); 68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 69 | this.Controls.Add(this.radioButton3); 70 | this.Controls.Add(this.radioButton2); 71 | this.Controls.Add(this.radioButton1); 72 | this.Controls.Add(this.button1); 73 | this.Name = "Form1"; 74 | this.ResumeLayout(false); 75 | this.PerformLayout(); 76 | 77 | } 78 | 79 | #endregion 80 | private System.Windows.Forms.Button button1; 81 | private System.Windows.Forms.RadioButton radioButton1; 82 | private System.Windows.Forms.RadioButton radioButton2; 83 | private System.Windows.Forms.RadioButton radioButton3; 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /Launcher/Brave Nightly x86 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Brave_Nightly_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 Brave 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 the Brave Browser"; 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 + "\\Brave Nightly x86\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Brave Nightly x86\\Profile.txt", "--user-data-dir=\"Brave Nightly x86\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Brave Nightly x86\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Brave Nightly 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 Brave_Nightly_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(@"Brave Nightly x86\Brave.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 + "\\Brave Nightly x86\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | String Arguments = File.ReadAllText(applicationPath + "\\Brave Nightly 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 + "\\Brave Nightly x86\\Brave.exe", Arguments3.Replace("'", "")); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Brave Nightly x86\\Brave.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | string Arguments = File.ReadAllText(applicationPath + "\\Brave Nightly 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 + "\\Brave Nightly x86\\Brave.exe", Arguments3.Replace("'", "")); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Brave Nightly x86\\Brave.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | _ = MessageBox.Show("Brave ist nicht installiert", "Brave Nightly x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | _ = MessageBox.Show("Brave Portable не найден", "Brave Nightly x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | _ = MessageBox.Show("Brave is not installed", "Brave Nightly x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Brave Nightly 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("Brave Nightly x86 Starter")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Brave Nightly x86 Starter")] 13 | [assembly: AssemblyCopyright("Copyright © 2021")] 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/Brave Nightly 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 Brave_Nightly_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("Brave_Nightly_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/Brave Nightly 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 Brave_Nightly_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/Brave Nightly x86 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Brave Stable x64 Launcher/Brave 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Stable x64 Launcher/Brave 32.ico -------------------------------------------------------------------------------- /Launcher/Brave Stable x64 Launcher/Brave Stable x64 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Brave Stable x64 Launcher/Brave 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}") = "Brave Stable x64 Launcher", "Brave 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/Brave Stable x64 Launcher/Brave.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Stable x64 Launcher/Brave.ico -------------------------------------------------------------------------------- /Launcher/Brave Stable x64 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Brave_Stable_x64_Launcher 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Erforderliche Designervariable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Verwendete Ressourcen bereinigen. 12 | /// 13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Vom Windows Form-Designer generierter Code 24 | 25 | /// 26 | /// Erforderliche Methode für die Designerunterstützung. 27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.radioButton1 = new System.Windows.Forms.RadioButton(); 34 | this.radioButton2 = new System.Windows.Forms.RadioButton(); 35 | this.radioButton3 = new System.Windows.Forms.RadioButton(); 36 | this.SuspendLayout(); 37 | // 38 | // button1 39 | // 40 | resources.ApplyResources(this.button1, "button1"); 41 | this.button1.Name = "button1"; 42 | this.button1.UseVisualStyleBackColor = true; 43 | this.button1.Click += new System.EventHandler(this.Button1_Click); 44 | // 45 | // radioButton1 46 | // 47 | resources.ApplyResources(this.radioButton1, "radioButton1"); 48 | this.radioButton1.Name = "radioButton1"; 49 | this.radioButton1.UseVisualStyleBackColor = true; 50 | // 51 | // radioButton2 52 | // 53 | resources.ApplyResources(this.radioButton2, "radioButton2"); 54 | this.radioButton2.Checked = true; 55 | this.radioButton2.Name = "radioButton2"; 56 | this.radioButton2.TabStop = true; 57 | this.radioButton2.UseVisualStyleBackColor = true; 58 | // 59 | // radioButton3 60 | // 61 | resources.ApplyResources(this.radioButton3, "radioButton3"); 62 | this.radioButton3.Name = "radioButton3"; 63 | this.radioButton3.UseVisualStyleBackColor = true; 64 | // 65 | // Form1 66 | // 67 | resources.ApplyResources(this, "$this"); 68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 69 | this.Controls.Add(this.radioButton3); 70 | this.Controls.Add(this.radioButton2); 71 | this.Controls.Add(this.radioButton1); 72 | this.Controls.Add(this.button1); 73 | this.Name = "Form1"; 74 | this.ResumeLayout(false); 75 | this.PerformLayout(); 76 | 77 | } 78 | 79 | #endregion 80 | private System.Windows.Forms.Button button1; 81 | private System.Windows.Forms.RadioButton radioButton1; 82 | private System.Windows.Forms.RadioButton radioButton2; 83 | private System.Windows.Forms.RadioButton radioButton3; 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /Launcher/Brave Stable x64 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Brave_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 Brave 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 the Brave Browser"; 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 + "\\Brave Stable x64\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Brave Stable x64\\Profile.txt", "--user-data-dir=\"Brave Stable x64\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Brave Stable x64\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Brave 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 Brave_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 + "\\Brave Stable x64\\Brave.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 + "\\Brave Stable x64\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | string Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Stable x64\\Brave.exe", Arguments3.Replace("'", "")); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Brave Stable x64\\Brave.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | string Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Stable x64\\Brave.exe", Arguments3.Replace("'", "")); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Brave Stable x64\\Brave.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | _ = MessageBox.Show("Brave ist nicht installiert", "Brave Stable x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | _ = MessageBox.Show("Brave Portable не найден", "Brave Stable x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | _ = MessageBox.Show("Brave is not installed", "Brave Stable x64 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Brave 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("Brave Stable x64 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Brave Stable x64 Launcher")] 13 | [assembly: AssemblyCopyright("Copyright © 2021")] 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("5BB148CB-2B01-4248-934C-0BA75528DE3E")] 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/Brave 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 Brave_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("Brave_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/Brave 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 Brave_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/Brave Stable x64 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Brave Stable x86 Launcher/Brave 32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Stable x86 Launcher/Brave 32.ico -------------------------------------------------------------------------------- /Launcher/Brave Stable x86 Launcher/Brave Stable x86 Launcher.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | de-DE 11 | false 12 | 13 | -------------------------------------------------------------------------------- /Launcher/Brave Stable x86 Launcher/Brave 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}") = "Brave Stable x86 Launcher", "Brave 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/Brave Stable x86 Launcher/Brave.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Brave Stable x86 Launcher/Brave.ico -------------------------------------------------------------------------------- /Launcher/Brave Stable x86 Launcher/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Brave_Stable_x86_Launcher 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Erforderliche Designervariable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Verwendete Ressourcen bereinigen. 12 | /// 13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Vom Windows Form-Designer generierter Code 24 | 25 | /// 26 | /// Erforderliche Methode für die Designerunterstützung. 27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.radioButton1 = new System.Windows.Forms.RadioButton(); 34 | this.radioButton2 = new System.Windows.Forms.RadioButton(); 35 | this.radioButton3 = new System.Windows.Forms.RadioButton(); 36 | this.SuspendLayout(); 37 | // 38 | // button1 39 | // 40 | resources.ApplyResources(this.button1, "button1"); 41 | this.button1.Name = "button1"; 42 | this.button1.UseVisualStyleBackColor = true; 43 | this.button1.Click += new System.EventHandler(this.Button1_Click); 44 | // 45 | // radioButton1 46 | // 47 | resources.ApplyResources(this.radioButton1, "radioButton1"); 48 | this.radioButton1.Name = "radioButton1"; 49 | this.radioButton1.UseVisualStyleBackColor = true; 50 | // 51 | // radioButton2 52 | // 53 | resources.ApplyResources(this.radioButton2, "radioButton2"); 54 | this.radioButton2.Checked = true; 55 | this.radioButton2.Name = "radioButton2"; 56 | this.radioButton2.TabStop = true; 57 | this.radioButton2.UseVisualStyleBackColor = true; 58 | // 59 | // radioButton3 60 | // 61 | resources.ApplyResources(this.radioButton3, "radioButton3"); 62 | this.radioButton3.Name = "radioButton3"; 63 | this.radioButton3.UseVisualStyleBackColor = true; 64 | // 65 | // Form1 66 | // 67 | resources.ApplyResources(this, "$this"); 68 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 69 | this.Controls.Add(this.radioButton3); 70 | this.Controls.Add(this.radioButton2); 71 | this.Controls.Add(this.radioButton1); 72 | this.Controls.Add(this.button1); 73 | this.Name = "Form1"; 74 | this.ResumeLayout(false); 75 | this.PerformLayout(); 76 | 77 | } 78 | 79 | #endregion 80 | private System.Windows.Forms.Button button1; 81 | private System.Windows.Forms.RadioButton radioButton1; 82 | private System.Windows.Forms.RadioButton radioButton2; 83 | private System.Windows.Forms.RadioButton radioButton3; 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /Launcher/Brave Stable x86 Launcher/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Forms; 4 | 5 | namespace Brave_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 Brave 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 the Brave Browser"; 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 + "\\Brave Stable x86\\Profile.txt", "--user-data-dir=\"profile\""); 38 | this.Close(); 39 | } 40 | if (radioButton2.Checked) 41 | { 42 | System.IO.File.WriteAllText(applicationPath + "\\Brave Stable x86\\Profile.txt", "--user-data-dir=\"Brave Stable x86\\profile\""); 43 | this.Close(); 44 | } 45 | if (radioButton3.Checked) 46 | { 47 | System.IO.File.WriteAllText(applicationPath + "\\Brave Stable x86\\Profile.txt", ""); 48 | this.Close(); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Launcher/Brave 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 Brave_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 + "\\Brave Stable x86\\Brave.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 + "\\Brave Stable x86\\Profile.txt")) 51 | { 52 | Application.EnableVisualStyles(); 53 | Application.SetCompatibleTextRenderingDefault(false); 54 | Application.Run(new Form1()); 55 | string Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Stable x86\\Brave.exe", Arguments3.Replace("'", "")); 61 | } 62 | else 63 | { 64 | Process.Start(applicationPath + "\\Brave Stable x86\\Brave.exe", Arguments); 65 | } 66 | } 67 | else 68 | { 69 | string Arguments = File.ReadAllText(applicationPath + "\\Brave 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 + "\\Brave Stable x86\\Brave.exe", Arguments3.Replace("'", "")); 75 | } 76 | else 77 | { 78 | Process.Start(applicationPath + "\\Brave Stable x86\\Brave.exe", Arguments); 79 | } 80 | } 81 | } 82 | else if (culture1.TwoLetterISOLanguageName == "de") 83 | { 84 | MessageBox.Show("Brave ist nicht installiert", "Brave Stable x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 85 | } 86 | else if (culture1.TwoLetterISOLanguageName == "ru") 87 | { 88 | MessageBox.Show("Brave Portable не найден", "Brave Stable x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 89 | } 90 | else 91 | { 92 | MessageBox.Show("Brave is not installed", "Brave Stable x86 Launcher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Launcher/Brave 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("Brave Stable x86 Launcher")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Brave Stable x86 Launcher")] 13 | [assembly: AssemblyCopyright("Copyright © 2021")] 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("89399370-A2F2-4B6E-9EEC-6CAA186B4575")] 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/Brave 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 Brave_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("Brave_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/Brave 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 Brave_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/Brave Stable x86 Launcher/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Launcher/Launcher.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UndertakerBen/PorBraveUpd/85811f79409a2314ccf6479b13dbe899a36617f2/Launcher/Launcher.7z -------------------------------------------------------------------------------- /Launcher/Version.txt: -------------------------------------------------------------------------------- 1 | 1.2.0.0 -------------------------------------------------------------------------------- /Portable Brave Updater.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {35518A07-1388-4DDA-8518-D93319C317F1} 8 | WinExe 9 | Portable_Brave_Updater 10 | Portable Brave Updater 11 | v4.7 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 | false 36 | 37 | 38 | Brave Updater.ico 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | Form 55 | 56 | 57 | Form1.cs 58 | 59 | 60 | 61 | 62 | Form1.cs 63 | 64 | 65 | ResXFileCodeGenerator 66 | Resources.Designer.cs 67 | Designer 68 | 69 | 70 | True 71 | Resources.resx 72 | True 73 | 74 | 75 | 76 | SettingsSingleFileGenerator 77 | Settings.Designer.cs 78 | 79 | 80 | True 81 | Settings.settings 82 | True 83 | 84 | 85 | 86 | 87 | {F935DC20-1CF0-11D0-ADB9-00C04FD58A0B} 88 | 1 89 | 0 90 | 0 91 | tlbimp 92 | False 93 | True 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /Portable Brave Updater.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29728.190 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Portable Brave Updater", "Portable Brave Updater.csproj", "{35518A07-1388-4DDA-8518-D93319C317F1}" 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 | {35518A07-1388-4DDA-8518-D93319C317F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {35518A07-1388-4DDA-8518-D93319C317F1}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {35518A07-1388-4DDA-8518-D93319C317F1}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {35518A07-1388-4DDA-8518-D93319C317F1}.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 = {0F12E23E-164A-4A17-9FDA-36E8496627D6} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- 1 | using Brave_Updater; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Windows.Forms; 6 | 7 | namespace Portable_Brave_Updater 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// Der Haupteinstiegspunkt für die Anwendung. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new Form1()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /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 Brave Updater")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Ben's Rumpelkammer")] 12 | [assembly: AssemblyProduct("Portable Brave 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("35518a07-1388-4dda-8518-d93319c317f1")] 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.3.0.0")] 36 | [assembly: AssemblyFileVersion("1.3.0.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 Portable_Brave_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", "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("Portable_Brave_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 Portable_Brave_Updater.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.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 | # PorBraveUpd 2 | Portable Brave Updater 3 | 4 | ## Notice of Non-Affiliation and Disclaimer 5 | PorBraveUpd is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Brave™, or any of its subsidiaries or its affiliates. 6 | The name Brave™ as well as related names, marks, emblems and images are registered trademarks of their respective owners. 7 | 8 | For unpacking the downloaded Brave offline installer i use 7zr.exe 9 | 10 | - 7zr.exe - https://www.7-zip.org/ (Public Domain) 11 | -------------------------------------------------------------------------------- /Version.txt: -------------------------------------------------------------------------------- 1 | 1.3.0.0 -------------------------------------------------------------------------------- /app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | --------------------------------------------------------------------------------