diff --git a/LibgenDesktop.Setup/AppFiles.cs b/LibgenDesktop.Setup/AppFiles.cs index 1a01c67..d3696f0 100644 --- a/LibgenDesktop.Setup/AppFiles.cs +++ b/LibgenDesktop.Setup/AppFiles.cs @@ -34,7 +34,6 @@ static AppFiles() AddFile(@"Mirrors\libgen_io_nonfiction.xslt"); AddFile(@"Mirrors\libgen_io_fiction.xslt"); AddFile(@"Mirrors\libgen_io_scimag.xslt"); - AddFile(@"Mirrors\gen_lib_rus_ec_nonfiction.xslt"); AddFile(@"Mirrors\libgen_pw_nonfiction_step1.xslt"); AddFile(@"Mirrors\libgen_pw_nonfiction_step2.xslt"); AddFile(@"Mirrors\libgen_pw_fiction_step1.xslt"); diff --git a/LibgenDesktop.Setup/Constants.cs b/LibgenDesktop.Setup/Constants.cs index 68e9407..e10688f 100644 --- a/LibgenDesktop.Setup/Constants.cs +++ b/LibgenDesktop.Setup/Constants.cs @@ -2,8 +2,8 @@ { internal static class Constants { - public const string CURRENT_VERSION = "1.2.2"; - public const string TITLE_VERSION = "1.2.2"; + public const string CURRENT_VERSION = "1.2.3"; + public const string TITLE_VERSION = "1.2.3"; public const string PRODUCT_TITLE_FORMAT = "Libgen Desktop " + TITLE_VERSION + " ({0}-bit)"; public const string SHORTCUT_TITLE_FORMAT = "Libgen Desktop ({0}-bit)"; public const string PRODUCT_COMPANY = "Libgen Apps"; diff --git a/LibgenDesktop/Common/Constants.cs b/LibgenDesktop/Common/Constants.cs index c025174..3173500 100644 --- a/LibgenDesktop/Common/Constants.cs +++ b/LibgenDesktop/Common/Constants.cs @@ -5,9 +5,9 @@ namespace LibgenDesktop.Common internal static class Constants { public const string DATABASE_METADATA_APP_NAME = "LibgenDesktop"; - public const string CURRENT_VERSION = "1.2.2"; - public const string CURRENT_GITHUB_RELEASE_NAME = "1.2.2"; - public static readonly DateTime CURRENT_GITHUB_RELEASE_DATE = new DateTime(2018, 12, 31); + public const string CURRENT_VERSION = "1.2.3"; + public const string CURRENT_GITHUB_RELEASE_NAME = "1.2.3"; + public static readonly DateTime CURRENT_GITHUB_RELEASE_DATE = new DateTime(2019, 1, 2); public const string CURRENT_DATABASE_VERSION = "1.2.1"; public const string APP_SETTINGS_FILE_NAME = "libgen.config"; diff --git a/LibgenDesktop/LibgenDesktop.csproj b/LibgenDesktop/LibgenDesktop.csproj index 6a0d9eb..354cf22 100644 --- a/LibgenDesktop/LibgenDesktop.csproj +++ b/LibgenDesktop/LibgenDesktop.csproj @@ -677,10 +677,6 @@ PreserveNewest Mirrors\libgen_io_scimag.xslt - - PreserveNewest - Mirrors\gen_lib_rus_ec_nonfiction.xslt - PreserveNewest Mirrors\libgen_pw_nonfiction_step1.xslt diff --git a/LibgenDesktop/Resources/Languages/Romanian.lng b/LibgenDesktop/Resources/Languages/Romanian.lng index 8b28278..1508b03 100644 --- a/LibgenDesktop/Resources/Languages/Romanian.lng +++ b/LibgenDesktop/Resources/Languages/Romanian.lng @@ -44,6 +44,7 @@ "FirstRunMessage": "Bine ați venit la Biblioteca Digitală Libgen.", "DatabaseNotFound": "Baza de date nu a fost gasită.", "DatabaseCorrupted": "Baza de date este coruptă.", + "LibgenServerDatabase": "Baza de date {database} este o bază de date Libgen Server care nu este compatibilă cu structura bazei de date Libgen Desktop.", "ChooseOption": "Alege o acțiune", "CreateNewDatabase": "Creează o nouă Baza de date", "OpenExistingDatabase": "Deschide o Baza de date deja creată", diff --git a/LibgenDesktop/Resources/Mirrors/gen_lib_rus_ec_nonfiction.xslt b/LibgenDesktop/Resources/Mirrors/gen_lib_rus_ec_nonfiction.xslt deleted file mode 100644 index 26f9578..0000000 --- a/LibgenDesktop/Resources/Mirrors/gen_lib_rus_ec_nonfiction.xslt +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/LibgenDesktop/Resources/Mirrors/mirrors.config b/LibgenDesktop/Resources/Mirrors/mirrors.config index b482e0b..317abad 100644 --- a/LibgenDesktop/Resources/Mirrors/mirrors.config +++ b/LibgenDesktop/Resources/Mirrors/mirrors.config @@ -14,8 +14,7 @@ }, "gen.lib.rus.ec": { - "NonFictionDownloadUrl": "http://library1.org/_ads/{md5}", - "NonFictionDownloadTransformations": "gen_lib_rus_ec_nonfiction", + "NonFictionDownloadUrl": "http://download.library1.org/main/{thousand-bucket}/{md5:l}/", "NonFictionCoverUrl": "http://gen.lib.rus.ec/covers/{cover-url}", "NonFictionSynchronizationUrl": "http://gen.lib.rus.ec/json.php" },