Split AM2R update and Launcher update + default to latest after am2r update

pull/27/head
Miepee 5 years ago
parent 200cc939fc
commit d73a5f38be

@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<connectionStrings>
<add name="AutoUpdate"
<add name="AutoUpdateAM2R"
connectionString="true"/>
<add name="AutoUpdateLauncher"
connectionString="true"/>
<add name="Language"
connectionString="Default"/>

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
@ -13,12 +13,12 @@ namespace AM2RLauncher.Language {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
@ -33,7 +33,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager {
@ -47,8 +47,8 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture {
@ -61,7 +61,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to ABORT.
/// Sucht eine lokalisierte Zeichenfolge, die ABORT ähnelt.
/// </summary>
public static string Abort {
get {
@ -70,7 +70,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to ADD NEW MOD.
/// Sucht eine lokalisierte Zeichenfolge, die ADD NEW MOD ähnelt.
/// </summary>
public static string AddNewMod {
get {
@ -79,7 +79,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Select a mod to be installed..
/// Sucht eine lokalisierte Zeichenfolge, die Select a mod to be installed. ähnelt.
/// </summary>
public static string AddNewModToolTip {
get {
@ -88,7 +88,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Can&apos;t create an APK..
/// Sucht eine lokalisierte Zeichenfolge, die Can&apos;t create an APK. ähnelt.
/// </summary>
public static string ApkButtonDisabledToolTip {
get {
@ -97,7 +97,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Create an APK for .
/// Sucht eine lokalisierte Zeichenfolge, die Create an APK for ähnelt.
/// </summary>
public static string ApkButtonEnabledToolTip {
get {
@ -106,7 +106,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to This is an archive of a previously installed Community Update. It cannot be re-installed and will remove itself if its game files are deleted. It shares saves with the currently installed Community Updates, so be sure to create a backup of your saves before running this profile!.
/// Sucht eine lokalisierte Zeichenfolge, die This is an archive of a previously installed Community Update. It cannot be re-installed and will remove itself if its game files are deleted. It shares saves with the currently installed Community Updates, so be sure to create a backup of your saves before running this profile! ähnelt.
/// </summary>
public static string ArchiveNotes {
get {
@ -115,7 +115,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Author(s):.
/// Sucht eine lokalisierte Zeichenfolge, die Author(s): ähnelt.
/// </summary>
public static string Author {
get {
@ -124,16 +124,25 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Automatically update AM2R and the AM2RLauncher.
/// Sucht eine lokalisierte Zeichenfolge, die Automatically update AM2R ähnelt.
/// </summary>
public static string AutoUpdate {
public static string AutoUpdateAM2R {
get {
return ResourceManager.GetString("AutoUpdate", resourceCulture);
return ResourceManager.GetString("AutoUpdateAM2R", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Changelog.
/// Sucht eine lokalisierte Zeichenfolge, die Automatically update the AM2RLauncher ähnelt.
/// </summary>
public static string AutoUpdateLauncher {
get {
return ResourceManager.GetString("AutoUpdateLauncher", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Changelog ähnelt.
/// </summary>
public static string ChangelogTab {
get {
@ -142,7 +151,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Are you sure you want to cancel this now? This will delete all your progress!.
/// Sucht eine lokalisierte Zeichenfolge, die Are you sure you want to cancel this now? This will delete all your progress! ähnelt.
/// </summary>
public static string CloseOnCloningText {
get {
@ -151,7 +160,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Sorry, you can&apos;t close this while it&apos;s installing! Please wait until it&apos;s finished..
/// Sucht eine lokalisierte Zeichenfolge, die Sorry, you can&apos;t close this while it&apos;s installing! Please wait until it&apos;s finished. ähnelt.
/// </summary>
public static string CloseOnInstallingText {
get {
@ -160,7 +169,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to There was a problem with your Patchdata folder. It has been deleted, please download it again..
/// Sucht eine lokalisierte Zeichenfolge, die There was a problem with your Patchdata folder. It has been deleted, please download it again. ähnelt.
/// </summary>
public static string CorruptPatchData {
get {
@ -169,7 +178,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to CREATE APK.
/// Sucht eine lokalisierte Zeichenfolge, die CREATE APK ähnelt.
/// </summary>
public static string CreateAPK {
get {
@ -178,7 +187,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to CREATING APK.
/// Sucht eine lokalisierte Zeichenfolge, die CREATING APK ähnelt.
/// </summary>
public static string CreatingAPK {
get {
@ -187,7 +196,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Current profile:.
/// Sucht eine lokalisierte Zeichenfolge, die Current profile: ähnelt.
/// </summary>
public static string CurrentProfile {
get {
@ -196,7 +205,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Enter custom game environment variables:.
/// Sucht eine lokalisierte Zeichenfolge, die Enter custom game environment variables: ähnelt.
/// </summary>
public static string CustomEnvVarLabel {
get {
@ -205,7 +214,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Use custom download mirror.
/// Sucht eine lokalisierte Zeichenfolge, die Use custom download mirror ähnelt.
/// </summary>
public static string CustomMirrorCheck {
get {
@ -214,7 +223,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to $NAME couldn&apos;t be deleted..
/// Sucht eine lokalisierte Zeichenfolge, die $NAME couldn&apos;t be deleted. ähnelt.
/// </summary>
public static string DeleteModButtonCantDelete {
get {
@ -223,7 +232,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to $NAME was successfully deleted!.
/// Sucht eine lokalisierte Zeichenfolge, die $NAME was successfully deleted! ähnelt.
/// </summary>
public static string DeleteModButtonSuccess {
get {
@ -232,7 +241,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to DELETE MOD.
/// Sucht eine lokalisierte Zeichenfolge, die DELETE MOD ähnelt.
/// </summary>
public static string DeleteModButtonText {
get {
@ -241,7 +250,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Delete $NAME..
/// Sucht eine lokalisierte Zeichenfolge, die Delete $NAME. ähnelt.
/// </summary>
public static string DeleteModButtonToolTip {
get {
@ -250,7 +259,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to This will delete all files for $NAME. Are you sure you want to continue?.
/// Sucht eine lokalisierte Zeichenfolge, die This will delete all files for $NAME. Are you sure you want to continue? ähnelt.
/// </summary>
public static string DeleteModWarning {
get {
@ -259,7 +268,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to The Official AM2R Discord.
/// Sucht eine lokalisierte Zeichenfolge, die The Official AM2R Discord ähnelt.
/// </summary>
public static string DiscordToolTip {
get {
@ -268,7 +277,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to DOWNLOAD.
/// Sucht eine lokalisierte Zeichenfolge, die DOWNLOAD ähnelt.
/// </summary>
public static string Download {
get {
@ -277,7 +286,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to DOWNLOADING.
/// Sucht eine lokalisierte Zeichenfolge, die DOWNLOADING ähnelt.
/// </summary>
public static string Downloading {
get {
@ -286,7 +295,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Download source:.
/// Sucht eine lokalisierte Zeichenfolge, die Download source: ähnelt.
/// </summary>
public static string DownloadSource {
get {
@ -295,7 +304,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Error.
/// Sucht eine lokalisierte Zeichenfolge, die Error ähnelt.
/// </summary>
public static string ErrorWindowTitle {
get {
@ -304,7 +313,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to The Community-Developers Github Page.
/// Sucht eine lokalisierte Zeichenfolge, die The Community-Developers Github Page ähnelt.
/// </summary>
public static string GithubToolTip {
get {
@ -313,7 +322,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Use high quality music when patching to Android.
/// Sucht eine lokalisierte Zeichenfolge, die Use high quality music when patching to Android ähnelt.
/// </summary>
public static string HighQualityAndroid {
get {
@ -322,7 +331,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Use high quality music when patching to PC.
/// Sucht eine lokalisierte Zeichenfolge, die Use high quality music when patching to PC ähnelt.
/// </summary>
public static string HighQualityPC {
get {
@ -331,7 +340,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to INSTALL.
/// Sucht eine lokalisierte Zeichenfolge, die INSTALL ähnelt.
/// </summary>
public static string Install {
get {
@ -340,7 +349,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to INSTALLING.
/// Sucht eine lokalisierte Zeichenfolge, die INSTALLING ähnelt.
/// </summary>
public static string Installing {
get {
@ -349,7 +358,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Couldn&apos;t establish an internet connection! Try again later!.
/// Sucht eine lokalisierte Zeichenfolge, die Couldn&apos;t establish an internet connection! Try again later! ähnelt.
/// </summary>
public static string InternetConnectionDrop {
get {
@ -358,7 +367,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Java not found! Cannot generate an APK without a Java installation. Please make sure that Java is installed and added to PATH..
/// Sucht eine lokalisierte Zeichenfolge, die Java not found! Cannot generate an APK without a Java installation. Please make sure that Java is installed and added to PATH. ähnelt.
/// </summary>
public static string JavaNotFound {
get {
@ -367,7 +376,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Launcher Language: (requires restart to take effect).
/// Sucht eine lokalisierte Zeichenfolge, die Launcher Language: (requires restart to take effect) ähnelt.
/// </summary>
public static string LanguageNotice {
get {
@ -376,7 +385,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Settings.
/// Sucht eine lokalisierte Zeichenfolge, die Settings ähnelt.
/// </summary>
public static string LauncherSettingsTab {
get {
@ -385,7 +394,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to GitHub (Primary).
/// Sucht eine lokalisierte Zeichenfolge, die GitHub (Primary) ähnelt.
/// </summary>
public static string MirrorGithubText {
get {
@ -394,7 +403,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to GitLab (Mirror).
/// Sucht eine lokalisierte Zeichenfolge, die GitLab (Mirror) ähnelt.
/// </summary>
public static string MirrorGitlabText {
get {
@ -403,7 +412,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to $NAME is already installed!.
/// Sucht eine lokalisierte Zeichenfolge, die $NAME is already installed! ähnelt.
/// </summary>
public static string ModIsAlreadyInstalledMessage {
get {
@ -412,7 +421,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to $NAME cannot be installed! It&apos;s for $OS. Download the $CURRENTOS version instead if it exists, or ask the mod authors to make one..
/// Sucht eine lokalisierte Zeichenfolge, die $NAME cannot be installed! It&apos;s for $OS. Download the $CURRENTOS version instead if it exists, or ask the mod authors to make one. ähnelt.
/// </summary>
public static string ModIsForWrongOS {
get {
@ -421,7 +430,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to $NAME is an invalid AM2R mod!.
/// Sucht eine lokalisierte Zeichenfolge, die $NAME is an invalid AM2R mod! ähnelt.
/// </summary>
public static string ModIsInvalidMessage {
get {
@ -430,7 +439,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to $NAME was successfully added! Go to the Play Tab in order to install it!.
/// Sucht eine lokalisierte Zeichenfolge, die $NAME was successfully added! Go to the Play Tab in order to install it! ähnelt.
/// </summary>
public static string ModSuccessfullyInstalledMessage {
get {
@ -439,7 +448,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to News.
/// Sucht eine lokalisierte Zeichenfolge, die News ähnelt.
/// </summary>
public static string NewsTab {
get {
@ -448,7 +457,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Couldn&apos;t establish an internet connection! You can still play the game, but updates will not occur until the launcher is restarted and can connect to the internet..
/// Sucht eine lokalisierte Zeichenfolge, die Couldn&apos;t establish an internet connection! You can still play the game, but updates will not occur until the launcher is restarted and can connect to the internet. ähnelt.
/// </summary>
public static string NoInternetConnection {
get {
@ -457,7 +466,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to OPEN PROFILE SAVE FOLDER.
/// Sucht eine lokalisierte Zeichenfolge, die OPEN PROFILE SAVE FOLDER ähnelt.
/// </summary>
public static string OpenSaveFolder {
get {
@ -466,7 +475,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Opens the Folder where save files are located for $NAME..
/// Sucht eine lokalisierte Zeichenfolge, die Opens the Folder where save files are located for $NAME. ähnelt.
/// </summary>
public static string OpenSaveFolderToolTip {
get {
@ -475,7 +484,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to PLAY.
/// Sucht eine lokalisierte Zeichenfolge, die PLAY ähnelt.
/// </summary>
public static string Play {
get {
@ -484,7 +493,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Currently downloading . . ..
/// Sucht eine lokalisierte Zeichenfolge, die Currently downloading . . . ähnelt.
/// </summary>
public static string PlayButtonDownladingToolTip {
get {
@ -493,7 +502,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Download the necessary patch files..
/// Sucht eine lokalisierte Zeichenfolge, die Download the necessary patch files. ähnelt.
/// </summary>
public static string PlayButtonDownloadToolTip {
get {
@ -502,7 +511,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Currently installing. . ..
/// Sucht eine lokalisierte Zeichenfolge, die Currently installing. . . ähnelt.
/// </summary>
public static string PlayButtonInstallingToolTip {
get {
@ -511,7 +520,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Install .
/// Sucht eine lokalisierte Zeichenfolge, die Install ähnelt.
/// </summary>
public static string PlayButtonInstallToolTip {
get {
@ -520,7 +529,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Currently already playing!.
/// Sucht eine lokalisierte Zeichenfolge, die Currently already playing! ähnelt.
/// </summary>
public static string PlayButtonPlayingToolTip {
get {
@ -529,7 +538,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Play .
/// Sucht eine lokalisierte Zeichenfolge, die Play ähnelt.
/// </summary>
public static string PlayButtonPlayToolTip {
get {
@ -538,7 +547,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Select your AM2R_1.1.zip.
/// Sucht eine lokalisierte Zeichenfolge, die Select your AM2R_1.1.zip ähnelt.
/// </summary>
public static string PlayButtonSelect11ToolTip {
get {
@ -547,7 +556,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to PLAYING.
/// Sucht eine lokalisierte Zeichenfolge, die PLAYING ähnelt.
/// </summary>
public static string Playing {
get {
@ -556,7 +565,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Play.
/// Sucht eine lokalisierte Zeichenfolge, die Play ähnelt.
/// </summary>
public static string PlayTab {
get {
@ -565,7 +574,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Create game debug logs.
/// Sucht eine lokalisierte Zeichenfolge, die Create game debug logs ähnelt.
/// </summary>
public static string ProfileDebugCheckBox {
get {
@ -574,8 +583,8 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Profile notes:
///.
/// Sucht eine lokalisierte Zeichenfolge, die Profile notes:
/// ähnelt.
/// </summary>
public static string ProfileNotes {
get {
@ -584,7 +593,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Mod Settings.
/// Sucht eine lokalisierte Zeichenfolge, die Mod Settings ähnelt.
/// </summary>
public static string ProfileSettingsTab {
get {
@ -593,7 +602,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Progress: .
/// Sucht eine lokalisierte Zeichenfolge, die Progress: ähnelt.
/// </summary>
public static string ProgressbarProgress {
get {
@ -602,7 +611,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to The Official AM2R Subreddit.
/// Sucht eine lokalisierte Zeichenfolge, die The Official AM2R Subreddit ähnelt.
/// </summary>
public static string RedditToolTip {
get {
@ -611,7 +620,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to WARNING: This profile uses the default save location! This could corrupt your save data - please ensure that you have made a backup..
/// Sucht eine lokalisierte Zeichenfolge, die WARNING: This profile uses the default save location! This could corrupt your save data - please ensure that you have made a backup. ähnelt.
/// </summary>
public static string SaveLocationWarning {
get {
@ -620,7 +629,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to SELECT AM2R_1.1.zip.
/// Sucht eine lokalisierte Zeichenfolge, die SELECT AM2R_1.1.zip ähnelt.
/// </summary>
public static string Select11 {
get {
@ -629,7 +638,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Select AM2R_1.1.zip.
/// Sucht eine lokalisierte Zeichenfolge, die Select AM2R_1.1.zip ähnelt.
/// </summary>
public static string Select11FileDialog {
get {
@ -638,7 +647,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Select your Mod.
/// Sucht eine lokalisierte Zeichenfolge, die Select your Mod ähnelt.
/// </summary>
public static string SelectModFileDialog {
get {
@ -647,7 +656,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Success.
/// Sucht eine lokalisierte Zeichenfolge, die Success ähnelt.
/// </summary>
public static string SuccessWindowTitle {
get {
@ -656,7 +665,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to System Language.
/// Sucht eine lokalisierte Zeichenfolge, die System Language ähnelt.
/// </summary>
public static string SystemLanguage {
get {
@ -665,7 +674,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Show Launcher.
/// Sucht eine lokalisierte Zeichenfolge, die Show Launcher ähnelt.
/// </summary>
public static string TrayButtonShow {
get {
@ -674,7 +683,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Can&apos;t access the Folder in order to download the update! Consider moving the program, or disabling auto-updates..
/// Sucht eine lokalisierte Zeichenfolge, die Can&apos;t access the Folder in order to download the update! Consider moving the program, or disabling auto-updates. ähnelt.
/// </summary>
public static string UnauthorizedAccessMessage {
get {
@ -683,7 +692,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Unhandled Exception has occured in your Application..
/// Sucht eine lokalisierte Zeichenfolge, die Unhandled Exception has occured in your Application. ähnelt.
/// </summary>
public static string UnhandledException {
get {
@ -692,7 +701,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Select Mod Update.
/// Sucht eine lokalisierte Zeichenfolge, die Select Mod Update ähnelt.
/// </summary>
public static string UpdateMod {
get {
@ -701,7 +710,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to UPDATE MOD.
/// Sucht eine lokalisierte Zeichenfolge, die UPDATE MOD ähnelt.
/// </summary>
public static string UpdateModButtonText {
get {
@ -710,7 +719,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Select a zip to update $NAME..
/// Sucht eine lokalisierte Zeichenfolge, die Select a zip to update $NAME. ähnelt.
/// </summary>
public static string UpdateModButtonToolTip {
get {
@ -719,7 +728,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Can&apos;t update $NAME with $SELECT. Add $SELECT as a new mod instead!.
/// Sucht eine lokalisierte Zeichenfolge, die Can&apos;t update $NAME with $SELECT. Add $SELECT as a new mod instead! ähnelt.
/// </summary>
public static string UpdateModButtonWrongMod {
get {
@ -728,7 +737,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to This will replace all files for $NAME with the selected new version. Are you sure you want to continue?.
/// Sucht eine lokalisierte Zeichenfolge, die This will replace all files for $NAME with the selected new version. Are you sure you want to continue? ähnelt.
/// </summary>
public static string UpdateModWarning {
get {
@ -737,7 +746,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Version:.
/// Sucht eine lokalisierte Zeichenfolge, die Version: ähnelt.
/// </summary>
public static string VersionLabel {
get {
@ -746,7 +755,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to OK.
/// Sucht eine lokalisierte Zeichenfolge, die OK ähnelt.
/// </summary>
public static string WarningWindowOk {
get {
@ -755,11 +764,11 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to The AM2RLauncher can NOT validate custom mirror links.
/// Sucht eine lokalisierte Zeichenfolge, die The AM2RLauncher can NOT validate custom mirror links.
///
///If somebody is telling you to paste a link in this field, they may be trying to infect your computer.
///
///Proceed with caution..
///Proceed with caution. ähnelt.
/// </summary>
public static string WarningWindowText {
get {
@ -768,7 +777,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to WARNING.
/// Sucht eine lokalisierte Zeichenfolge, die WARNING ähnelt.
/// </summary>
public static string WarningWindowTitle {
get {
@ -777,7 +786,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Xdelta not found! Cannot install Profiles without it. Please install xdelta3 from your local package manager..
/// Sucht eine lokalisierte Zeichenfolge, die Xdelta not found! Cannot install Profiles without it. Please install xdelta3 from your local package manager. ähnelt.
/// </summary>
public static string XdeltaNotFound {
get {
@ -786,7 +795,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to The Community-Developers YouTube Channel.
/// Sucht eine lokalisierte Zeichenfolge, die The Community-Developers YouTube Channel ähnelt.
/// </summary>
public static string YoutubeToolTip {
get {
@ -795,7 +804,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to Zip Archives (*.zip).
/// Sucht eine lokalisierte Zeichenfolge, die Zip Archives (*.zip) ähnelt.
/// </summary>
public static string ZipArchiveText {
get {
@ -804,7 +813,7 @@ namespace AM2RLauncher.Language {
}
/// <summary>
/// Looks up a localized string similar to The selected Zip is not AM2R 1.1! Please choose another Zip file..
/// Sucht eine lokalisierte Zeichenfolge, die The selected Zip is not AM2R 1.1! Please choose another Zip file. ähnelt.
/// </summary>
public static string ZipIsNotAM2R11 {
get {

@ -138,8 +138,11 @@
<data name="Author" xml:space="preserve">
<value>Autor(en):</value>
</data>
<data name="AutoUpdate" xml:space="preserve">
<value>AM2R und den Launcher automatisch aktualisieren</value>
<data name="AutoUpdateAM2R" xml:space="preserve">
<value>AM2R automatisch aktualisieren</value>
</data>
<data name="AutoUpdateLauncher" xml:space="preserve">
<value>Den Launcher automatisch aktualisieren</value>
</data>
<data name="ChangelogTab" xml:space="preserve">
<value>Changelog</value>

@ -138,8 +138,11 @@
<data name="Author" xml:space="preserve">
<value>Autor(es):</value>
</data>
<data name="AutoUpdate" xml:space="preserve">
<value>Actualizar AM2R y AM2RLauncher automáticamente</value>
<data name="AutoUpdateAM2R" xml:space="preserve">
<value>Actualizar AM2R automáticamente</value>
</data>
<data name="AutoUpdateLauncher" xml:space="preserve">
<value>Actualizar AM2RLauncher automáticamente</value>
</data>
<data name="ChangelogTab" xml:space="preserve">
<value>Registro de cambios</value>
@ -369,4 +372,4 @@ Procede con cautela.</value>
<data name="ZipIsNotAM2R11" xml:space="preserve">
<value>¡El Zip seleccionado no es AM2R_1.1! Por favor elige otro archivo Zip.</value>
</data>
</root>
</root>

@ -140,8 +140,11 @@ ce profil !</value>
<data name="Author" xml:space="preserve">
<value>Auteur(s) :</value>
</data>
<data name="AutoUpdate" xml:space="preserve">
<value>Mettre à jour AM2R et AM2RLauncher automatiquement.</value>
<data name="AutoUpdateAM2R" xml:space="preserve">
<value>Mettre à jour AM2R automatiquement.</value>
</data>
<data name="AutoUpdateLauncher" xml:space="preserve">
<value>Mettre à jour AM2RLauncher automatiquement.</value>
</data>
<data name="ChangelogTab" xml:space="preserve">
<value>Journal des modifications</value>

@ -138,8 +138,11 @@
<data name="Author" xml:space="preserve">
<value>Autore/i:</value>
</data>
<data name="AutoUpdate" xml:space="preserve">
<value>Aggiorna automaticamente AM2R e il AM2RLauncher</value>
<data name="AutoUpdateAM2R" xml:space="preserve">
<value>Aggiorna automaticamente AM2R</value>
</data>
<data name="AutoUpdateLauncher" xml:space="preserve">
<value>Aggiorna automaticamente il AM2RLauncher</value>
</data>
<data name="ChangelogTab" xml:space="preserve">
<value>Registro dei cambiamenti</value>

@ -138,8 +138,11 @@
<data name="Author" xml:space="preserve">
<value>制作者:</value>
</data>
<data name="AutoUpdate" xml:space="preserve">
<value>AM2RとAM2RLauncherを自動でアップデートする</value>
<data name="AutoUpdateAM2R" xml:space="preserve">
<value>AM2Rを自動でアップデートする</value>
</data>
<data name="AutoUpdateAM2RLauncher" xml:space="preserve">
<value>AM2RLauncherを自動でアップデートする</value>
</data>
<data name="ChangelogTab" xml:space="preserve">
<value>更新履歴</value>

@ -138,8 +138,11 @@
<data name="Author" xml:space="preserve">
<value>Autor(es):</value>
</data>
<data name="AutoUpdate" xml:space="preserve">
<value>Atualizar AM2R e o AM2RLauncher automaticamente</value>
<data name="AutoUpdateAM2R" xml:space="preserve">
<value>Atualizar AM2R automaticamente</value>
</data>
<data name="AutoUpdateAM2RLauncher" xml:space="preserve">
<value>Atualizar AM2RLauncher automaticamente</value>
</data>
<data name="ChangelogTab" xml:space="preserve">
<value>Mudanças</value>

@ -138,8 +138,11 @@
<data name="Author" xml:space="preserve">
<value>Author(s):</value>
</data>
<data name="AutoUpdate" xml:space="preserve">
<value>Automatically update AM2R and the AM2RLauncher</value>
<data name="AutoUpdateAM2R" xml:space="preserve">
<value>Automatically update AM2R</value>
</data>
<data name="AutoUpdateLauncher" xml:space="preserve">
<value>Automatically update the AM2RLauncher</value>
</data>
<data name="ChangelogTab" xml:space="preserve">
<value>Changelog</value>

@ -138,8 +138,11 @@
<data name="Author" xml:space="preserve">
<value>Автор(ы):</value>
</data>
<data name="AutoUpdate" xml:space="preserve">
<value>Автоматически обновлять AM2R и лаунчер AM2R</value>
<data name="AutoUpdateAM2R" xml:space="preserve">
<value>Автоматически обновлять AM2R</value>
</data>
<data name="AutoUpdateLauncher" xml:space="preserve">
<value>Автоматически обновлять лаунчер AM2R</value>
</data>
<data name="ChangelogTab" xml:space="preserve">
<value>Изменения</value>

@ -86,12 +86,12 @@ namespace AM2RLauncher
}
}
//check settings if autoUpdate is set to true
bool autoUpdate = bool.Parse(CrossPlatformOperations.ReadFromConfig("AutoUpdate"));
//check settings if autoUpdateLauncher is set to true
bool autoUpdate = bool.Parse(CrossPlatformOperations.ReadFromConfig("AutoUpdateLauncher"));
if (autoUpdate)
{
log.Info("AutoUpdate set to true!");
log.Info("AutoUpdate Launcher set to true!");
//this is supposed to fix the updater throwing an exception on windows 7 and earlier(?)
//see this for information: https://stackoverflow.com/questions/2859790/the-request-was-aborted-could-not-create-ssl-tls-secure-channel and https://stackoverflow.com/a/50977774
@ -217,7 +217,7 @@ namespace AM2RLauncher
}
else
{
log.Info("AutoUpdate set to false. Exiting update check.");
log.Info("AutoUpdate Launcher set to false. Exiting update check.");
}
}
}

@ -47,10 +47,9 @@ namespace AM2RLauncher
/// </summary>
private async void PlayButtonLoadComplete(object sender, EventArgs e)
{
if (IsPatchDataCloned())
LoadProfiles();
if (IsPatchDataCloned() && (bool)autoUpdateAM2RCheck.Checked)
{
LoadProfiles();
SetPlayButtonState(UpdateState.Downloading);
progressBar.Visible = true;
@ -78,7 +77,7 @@ namespace AM2RLauncher
if (ex.Message.ToLower().Contains("failed to send request") || ex.Message.ToLower().Contains("connection with the server was terminated") ||
ex.Message.ToLower().Contains("failed to resolve address"))
{
if (!(bool)autoUpdateCheck.Checked)
if (!(bool)autoUpdateAM2RCheck.Checked)
{
log.Error("Internet connection failed while attempting to pull repository" + currentMirror + "!");
MessageBox.Show(Language.Text.InternetConnectionDrop, Language.Text.WarningWindowTitle, MessageBoxType.Warning);
@ -149,6 +148,8 @@ namespace AM2RLauncher
log.Info("Cancelling archival! User-defined archive in Profiles already exists.");
}
profileDropDown.SelectedIndex = 0;
LoadProfiles();
@ -740,11 +741,18 @@ namespace AM2RLauncher
else CrossPlatformOperations.WriteToConfig("Language", languageDropDown.Items[languageDropDown.SelectedIndex].Text);
}
/// <summary>Gets called when <see cref="autoUpdateCheck"/> gets clicked and writes its new value to the config.</summary>
private void AutoUpdateCheckChanged(object sender, EventArgs e)
/// <summary>Gets called when <see cref="autoUpdateAM2RCheck"/> gets clicked and writes its new value to the config.</summary>
private void AutoUpdateAM2RCheckChanged(object sender, EventArgs e)
{
log.Info("Auto Update AM2R has been set to " + autoUpdateAM2RCheck.Checked + ".");
CrossPlatformOperations.WriteToConfig("AutoUpdateAM2R", (bool)autoUpdateAM2RCheck.Checked);
}
/// <summary>Gets called when <see cref="autoUpdateLauncherCheck"/> gets clicked and writes its new value to the config.</summary>
private void AutoUpdateLauncherCheckChanged(object sender, EventArgs e)
{
log.Info("Auto Update has been set to " + autoUpdateCheck.Checked + ".");
CrossPlatformOperations.WriteToConfig("AutoUpdate", (bool)autoUpdateCheck.Checked);
log.Info("Auto Update Launcher has been set to " + autoUpdateAM2RCheck.Checked + ".");
CrossPlatformOperations.WriteToConfig("AutoUpdateLauncher", (bool)autoUpdateAM2RCheck.Checked);
}
/// <summary>Gets called when <see cref="customMirrorCheck"/> gets clicked, displays a warning <see cref="MessageBox"/>

@ -335,6 +335,7 @@ namespace AM2RLauncher
//these are not needed by linux at all, so we delete them
File.Delete(profilePath + "/data.win");
File.Delete(profilePath + "/AM2R.exe");
File.Delete(profilePath + "/D3DX9_43.dll");
// Move exe one directory out
File.Move(profilePath + "/" + exe, profilePath.Substring(0, profilePath.LastIndexOf("/")) + "/" + exe);

@ -530,11 +530,20 @@ namespace AM2RLauncher
languageDropDown.SelectedIndex = 0;
}
// autoUpdate checkbox
autoUpdateCheck = new CheckBox
// autoUpdateAM2R checkbox
autoUpdateAM2RCheck = new CheckBox
{
Checked = bool.Parse(CrossPlatformOperations.ReadFromConfig("AutoUpdate")),
Text = Language.Text.AutoUpdate,
Checked = bool.Parse(CrossPlatformOperations.ReadFromConfig("AutoUpdateAM2R")),
Text = Language.Text.AutoUpdateAM2R,
TextColor = colGreen
};
// autoUpdateLauncher checkbox
autoUpdateLauncherCheck = new CheckBox
{
Checked = bool.Parse(CrossPlatformOperations.ReadFromConfig("AutoUpdateLauncher")),
Text = Language.Text.AutoUpdateLauncher,
TextColor = colGreen
};
@ -623,7 +632,7 @@ namespace AM2RLauncher
settingsLayout.BeginHorizontal();
settingsLayout.AddSpace();
settingsLayout.AddColumn(null, languageLabel, languageDropDown, autoUpdateCheck, hqMusicPCCheck, hqMusicAndroidCheck, (Control)profileDebugLogCheck ?? new Label(), customEnvVarLabel, (Control)customEnvVarTextBox ?? new Label(), mirrorLabel, mirrorDropDown, customMirrorCheck, customMirrorTextBox, null);
settingsLayout.AddColumn(null, languageLabel, languageDropDown, autoUpdateAM2RCheck, autoUpdateLauncherCheck, hqMusicPCCheck, hqMusicAndroidCheck, (Control)profileDebugLogCheck ?? new Label(), customEnvVarLabel, (Control)customEnvVarTextBox ?? new Label(), mirrorLabel, mirrorDropDown, customMirrorCheck, customMirrorTextBox, null);
settingsLayout.AddSpace();
TabPage settingsPage = new TabPage
@ -763,7 +772,8 @@ namespace AM2RLauncher
showButton.Click += ShowButtonClick;
profileDropDown.SelectedIndexChanged += ProfileDropDownSelectedIndexChanged;
languageDropDown.SelectedIndexChanged += LanguageDropDownSelectedIndexChanged;
autoUpdateCheck.CheckedChanged += AutoUpdateCheckChanged;
autoUpdateAM2RCheck.CheckedChanged += AutoUpdateAM2RCheckChanged;
autoUpdateLauncherCheck.CheckedChanged += AutoUpdateLauncherCheckChanged;
hqMusicAndroidCheck.CheckedChanged += HqMusicAndroidCheckChanged;
hqMusicPCCheck.CheckedChanged += HqMusicPCCheckChanged;
customMirrorCheck.CheckedChanged += CustomMirrorCheckChanged;
@ -885,7 +895,9 @@ namespace AM2RLauncher
/// <summary>A <see cref="CheckBox"/>, that indicates wether to automatically update or not.</summary>
private CheckBox autoUpdateCheck;
private CheckBox autoUpdateAM2RCheck;
/// <summary>A <see cref="CheckBox"/>, that indicates wether to automatically update or not.</summary>
private CheckBox autoUpdateLauncherCheck;
/// <summary>A <see cref="CheckBox"/>, that indicates wether to use a custom mirror or not.</summary>
private CheckBox customMirrorCheck;
/// <summary>A <see cref="CheckBox"/>, that indicates wether to use HQ Music when patching to PC or not.</summary>

@ -15,9 +15,13 @@ namespace AM2RLauncher.XML
[XmlRoot("settings")]
public class LauncherConfigXML
{
/// <summary>Indicates wether or not to auto-update the Launcher. Used for <see cref="MainForm.autoUpdateCheck"/></summary>
[XmlAttribute("AutoUpdate")]
public bool AutoUpdate
/// <summary>Indicates wether or not to auto-update the Launcher. Used for <see cref="MainForm.autoUpdateAM2RCheck"/></summary>
[XmlAttribute("AutoUpdateAM2R")]
public bool AutoUpdateAM2R
{ get; set; }
/// <summary>Indicates wether or not to auto-update the Launcher. Used for <see cref="MainForm.autoUpdateLauncherCheck"/></summary>
[XmlAttribute("AutoUpdateLauncher")]
public bool AutoUpdateLauncher
{ get; set; }
/// <summary>Indicates the Language of the Launcher. Used for <see cref="MainForm.languageDropDown"/></summary>
[XmlAttribute("Language")]
@ -98,7 +102,8 @@ namespace AM2RLauncher.XML
/// </summary>
public LauncherConfigXML()
{
AutoUpdate = true;
AutoUpdateAM2R = true;
AutoUpdateLauncher = true;
Language = "Default";
MusicHQPC = true;
MusicHQAndroid = false;
@ -116,7 +121,8 @@ namespace AM2RLauncher.XML
/// <summary>
/// Creates a <see cref="LauncherConfigXML"/> with custom attributes.
/// </summary>
/// <param name="autoUpdate">Paramater that indicates if <see cref="MainForm.autoUpdateCheck"/> is enabled or not.</param>
/// <param name="autoUpdateAM2R">Paramater that indicates if <see cref="MainForm.autoUpdateAM2RCheck"/> is enabled or not.</param>
/// <param name="autoUpdateLauncher">Paramater that indicates if <see cref="MainForm.autoUpdateLauncherCheck"/> is enabled or not.</param>
/// <param name="language">Parameter that indicates the language of the launcher.</param>
/// <param name="musicHQPC">Parameter that indicates if <see cref="MainForm.hqMusicPCCheck"/> is enabled or not.</param>
/// <param name="musicHQAndroid">Parameter that indicates if <see cref="MainForm.hqMusicAndroidCheck"/> is enabled or not.</param>
@ -128,11 +134,12 @@ namespace AM2RLauncher.XML
/// <param name="width">Parameter that indicates the width of <see cref="MainForm"/>.</param>
/// <param name="height">Parameter that indicates the height of <see cref="MainForm"/>.</param>
/// <param name="isMaximized">Parameter that indicates if <see cref="MainForm"/> has been set to fullscreen or not.</param>
public LauncherConfigXML(bool autoUpdate, string language, bool musicHQPC, bool musicHQAndroid,
public LauncherConfigXML(bool autoUpdateAM2R, bool autoUpdateLauncher, string language, bool musicHQPC, bool musicHQAndroid,
string profileIndex, int mirrorIndex, string customEnvVar, bool customMirrorEnabled,
string customMirrorText, int width, int height, bool isMaximized)
{
AutoUpdate = autoUpdate;
AutoUpdateAM2R = autoUpdateAM2R;
AutoUpdateLauncher = autoUpdateLauncher;
Language = language;
MusicHQPC = musicHQPC;
MusicHQAndroid = musicHQAndroid;

Loading…
Cancel
Save