mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
Set appropriate migration version number for new installations
This commit is contained in:
parent
39f054eef6
commit
e7ebbffbfd
3 changed files with 10 additions and 2 deletions
|
@ -188,7 +188,6 @@ int main(int argc, char *argv[])
|
|||
#ifndef DISABLE_GUI
|
||||
if (!userAgreesWithLegalNotice())
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
#elif defined(Q_OS_WIN)
|
||||
if (_isatty(_fileno(stdin))
|
||||
&& _isatty(_fileno(stdout))
|
||||
|
@ -201,6 +200,8 @@ int main(int argc, char *argv[])
|
|||
&& !userAgreesWithLegalNotice())
|
||||
return EXIT_SUCCESS;
|
||||
#endif
|
||||
|
||||
setCurrentMigrationVersion();
|
||||
}
|
||||
|
||||
// Check if qBittorrent is already running for this user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue