Disable Auto-Update, by default, when running in "portable" mode.
This commit is contained in:
parent
40250a3cad
commit
272214778a
@ -35,7 +35,7 @@
|
|||||||
#define VER_LAMEXP_MINOR_LO 9
|
#define VER_LAMEXP_MINOR_LO 9
|
||||||
#define VER_LAMEXP_TYPE Final
|
#define VER_LAMEXP_TYPE Final
|
||||||
#define VER_LAMEXP_PATCH 1
|
#define VER_LAMEXP_PATCH 1
|
||||||
#define VER_LAMEXP_BUILD 1524
|
#define VER_LAMEXP_BUILD 1525
|
||||||
#define VER_LAMEXP_CONFG 1524
|
#define VER_LAMEXP_CONFG 1524
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -311,7 +311,7 @@ bool lamexp_portable_mode(void)
|
|||||||
QString baseName = QFileInfo(QApplication::applicationFilePath()).completeBaseName();
|
QString baseName = QFileInfo(QApplication::applicationFilePath()).completeBaseName();
|
||||||
int idx1 = baseName.indexOf("lamexp", 0, Qt::CaseInsensitive);
|
int idx1 = baseName.indexOf("lamexp", 0, Qt::CaseInsensitive);
|
||||||
int idx2 = baseName.lastIndexOf("portable", -1, Qt::CaseInsensitive);
|
int idx2 = baseName.lastIndexOf("portable", -1, Qt::CaseInsensitive);
|
||||||
g_lamexp_portable.bPortableModeEnabled = (idx1 >= 0) && (idx2 >= 0) && (idx1 < idx2);
|
g_lamexp_portable.bPortableModeEnabled = ((idx1 >= 0) && (idx2 >= 0) && (idx1 < idx2));
|
||||||
}
|
}
|
||||||
g_lamexp_portable.bInitialized = true;
|
g_lamexp_portable.bInitialized = true;
|
||||||
}
|
}
|
||||||
|
@ -561,7 +561,7 @@ LAMEXP_MAKE_OPTION_I(aftenExponentSearchSize, 8)
|
|||||||
LAMEXP_MAKE_OPTION_B(aftenFastBitAllocation, false)
|
LAMEXP_MAKE_OPTION_B(aftenFastBitAllocation, false)
|
||||||
LAMEXP_MAKE_OPTION_B(antivirNotificationsEnabled, true)
|
LAMEXP_MAKE_OPTION_B(antivirNotificationsEnabled, true)
|
||||||
LAMEXP_MAKE_OPTION_B(autoUpdateCheckBeta, false)
|
LAMEXP_MAKE_OPTION_B(autoUpdateCheckBeta, false)
|
||||||
LAMEXP_MAKE_OPTION_B(autoUpdateEnabled, true)
|
LAMEXP_MAKE_OPTION_B(autoUpdateEnabled, (!lamexp_portable_mode()));
|
||||||
LAMEXP_MAKE_OPTION_S(autoUpdateLastCheck, "Never")
|
LAMEXP_MAKE_OPTION_S(autoUpdateLastCheck, "Never")
|
||||||
LAMEXP_MAKE_OPTION_B(bitrateManagementEnabled, false)
|
LAMEXP_MAKE_OPTION_B(bitrateManagementEnabled, false)
|
||||||
LAMEXP_MAKE_OPTION_I(bitrateManagementMaxRate, 500)
|
LAMEXP_MAKE_OPTION_I(bitrateManagementMaxRate, 500)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user