Remove DRM, Bump Version, Re-enable Updater.
Doing this in hopes it is easier to base upon the new version, alongside hopes of the patch system not breaking the updater.
This commit is contained in:
parent
0f33e12922
commit
168b980d7a
@ -180,8 +180,8 @@ set(Launcher_LOGIN_CALLBACK_URL "https://prismlauncher.org/successful-login" CAC
|
|||||||
set(Launcher_FMLLIBS_BASE_URL "https://files.prismlauncher.org/fmllibs/" CACHE STRING "URL for FML Libraries.")
|
set(Launcher_FMLLIBS_BASE_URL "https://files.prismlauncher.org/fmllibs/" CACHE STRING "URL for FML Libraries.")
|
||||||
|
|
||||||
######## Set version numbers ########
|
######## Set version numbers ########
|
||||||
set(Launcher_VERSION_MAJOR 9)
|
set(Launcher_VERSION_MAJOR 1)
|
||||||
set(Launcher_VERSION_MINOR 1)
|
set(Launcher_VERSION_MINOR 4)
|
||||||
set(Launcher_VERSION_PATCH 0)
|
set(Launcher_VERSION_PATCH 0)
|
||||||
|
|
||||||
set(Launcher_VERSION_NAME "${Launcher_VERSION_MAJOR}.${Launcher_VERSION_MINOR}.${Launcher_VERSION_PATCH}")
|
set(Launcher_VERSION_NAME "${Launcher_VERSION_MAJOR}.${Launcher_VERSION_MINOR}.${Launcher_VERSION_PATCH}")
|
||||||
@ -192,7 +192,7 @@ set(Launcher_VERSION_NAME4_COMMA "${Launcher_VERSION_MAJOR},${Launcher_VERSION_M
|
|||||||
set(Launcher_BUILD_PLATFORM "unknown" CACHE STRING "A short string identifying the platform that this build was built for. Only used to display in the about dialog.")
|
set(Launcher_BUILD_PLATFORM "unknown" CACHE STRING "A short string identifying the platform that this build was built for. Only used to display in the about dialog.")
|
||||||
|
|
||||||
# Github repo URL with releases for updater
|
# Github repo URL with releases for updater
|
||||||
set(Launcher_UPDATER_GITHUB_REPO "" CACHE STRING "Base github URL for the updater.")
|
set(Launcher_UPDATER_GITHUB_REPO "https://github.com/unmojang/FjordLauncher" CACHE STRING "Base github URL for the updater.")
|
||||||
|
|
||||||
# Name to help updater identify valid artifacts
|
# Name to help updater identify valid artifacts
|
||||||
set(Launcher_BUILD_ARTIFACT "" CACHE STRING "Artifact name to help the updater identify valid artifacts.")
|
set(Launcher_BUILD_ARTIFACT "" CACHE STRING "Artifact name to help the updater identify valid artifacts.")
|
||||||
|
@ -134,14 +134,6 @@ void AccountListPage::listChanged()
|
|||||||
|
|
||||||
void AccountListPage::on_actionAddAuthlibInjector_triggered()
|
void AccountListPage::on_actionAddAuthlibInjector_triggered()
|
||||||
{
|
{
|
||||||
if (!m_accounts->anyAccountIsValid()) {
|
|
||||||
QMessageBox::warning(this, tr("Error"),
|
|
||||||
tr("You must add a Microsoft account that owns Minecraft before you can add an account on a custom "
|
|
||||||
"authentication server."
|
|
||||||
"<br><br>"
|
|
||||||
"If you have lost your account you can contact Microsoft for support."));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
MinecraftAccountPtr account = AuthlibInjectorLoginDialog::newAccount(
|
MinecraftAccountPtr account = AuthlibInjectorLoginDialog::newAccount(
|
||||||
this, tr("Please enter your username (sometimes an email address), password, and the URL of your API server."
|
this, tr("Please enter your username (sometimes an email address), password, and the URL of your API server."
|
||||||
@ -172,13 +164,6 @@ void AccountListPage::on_actionAddMicrosoft_triggered()
|
|||||||
|
|
||||||
void AccountListPage::on_actionAddOffline_triggered()
|
void AccountListPage::on_actionAddOffline_triggered()
|
||||||
{
|
{
|
||||||
if (!m_accounts->anyAccountIsValid()) {
|
|
||||||
QMessageBox::warning(this, tr("Error"),
|
|
||||||
tr("You must add a Microsoft or Mojang account that owns Minecraft before you can add an offline account."
|
|
||||||
"<br><br>"
|
|
||||||
"If you have lost your account you can contact Microsoft for support."));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
MinecraftAccountPtr account =
|
MinecraftAccountPtr account =
|
||||||
OfflineLoginDialog::newAccount(this, tr("Please enter your desired username to add your offline account."));
|
OfflineLoginDialog::newAccount(this, tr("Please enter your desired username to add your offline account."));
|
||||||
|
@ -375,6 +375,7 @@ Section "@Launcher_DisplayName@"
|
|||||||
|
|
||||||
File "@Launcher_APP_BINARY_NAME@.exe"
|
File "@Launcher_APP_BINARY_NAME@.exe"
|
||||||
File "@Launcher_APP_BINARY_NAME@_filelink.exe"
|
File "@Launcher_APP_BINARY_NAME@_filelink.exe"
|
||||||
|
File "@Launcher_APP_BINARY_NAME@_updater.exe"
|
||||||
File "qt.conf"
|
File "qt.conf"
|
||||||
File "qtlogging.ini"
|
File "qtlogging.ini"
|
||||||
File *.dll
|
File *.dll
|
||||||
@ -466,6 +467,7 @@ Section "Uninstall"
|
|||||||
|
|
||||||
Delete $INSTDIR\@Launcher_APP_BINARY_NAME@.exe
|
Delete $INSTDIR\@Launcher_APP_BINARY_NAME@.exe
|
||||||
Delete $INSTDIR\@Launcher_APP_BINARY_NAME@_filelink.exe
|
Delete $INSTDIR\@Launcher_APP_BINARY_NAME@_filelink.exe
|
||||||
|
Delete $INSTDIR\@Launcher_APP_BINARY_NAME@_updater.exe
|
||||||
Delete $INSTDIR\qt.conf
|
Delete $INSTDIR\qt.conf
|
||||||
Delete $INSTDIR\*.dll
|
Delete $INSTDIR\*.dll
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user