Skip to content

Commit 562fa62

Browse files
committed
Release 2.4.1
1 parent 48be27b commit 562fa62

File tree

9 files changed

+28
-5
lines changed

9 files changed

+28
-5
lines changed

installer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Put these files in `data` directory before running `setup.iss` :
1+
Put these files in `data` directory before running `setup.iss` and `package.ps1` :
22

33
* UMWP Autochanger.exe (with a space, not an underscore)
44
* redist/vcredist_x86.exe ([Visual C++ 2017 Redistributable x86](https://aka.ms/vs/15/release/vc_redist.x86.exe))

installer/package.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Compress-Archive -Path 'data\*' -DestinationPath 'UMWP_Autochanger_2.4.1.zip'

installer/setup.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define AppId "{401CCECB-FFCC-4AF3-846D-A535F59D0834}"
22
#define AppName "UMWP Autochanger"
3-
#define AppVersion "2.4.0"
3+
#define AppVersion "2.4.1"
44
#define AppPublisher "StrangePlanet"
55
#define PublisherURL "https://www.strangeplanet.fr"
66
#define ProjectURL "https://www.strangeplanet.fr/work/umwp-autochanger"

src/constants.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#ifndef VERSION_H
22
#define VERSION_H
33

4-
#define CURRENT_YEAR "2020"
4+
#define CURRENT_YEAR "2021"
55
#define APP_NAME "UMWP Autochanger"
6-
#define APP_VERSION "2.4.0"
7-
#define APP_VERSION_DW 2,4,0
6+
#define APP_VERSION "2.4.1"
7+
#define APP_VERSION_DW 2,4,1
88
#define APP_COMPANYNAME "StrangePlanet"
99
#define APP_FILEDESCRIPTION "Ultimate Monitor Wallpaper Autochanger"
1010
#define APP_LEGALCOPYRIGHT "Copyright (c) 2013-" CURRENT_YEAR " StrangePlanet"

src/environment.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ Environment::Environment()
2323
QDir dirHelper;
2424
m_isPortable = !dirHelper.exists(APP_UNINSTALLER_FILENAME);
2525

26+
if (m_isPortable) {
27+
QLOG_DEBUG() << "Running in portable mode";
28+
}
29+
2630
// CREATE CACHE DIR
2731
Environment::APPDATA_DIR = getAppDataFolder();
2832

src/gui/newversiondialog.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ void NewVersionDialog::downloadChangelog()
9292
{
9393
QString url = QString(APP_CHANGELOG_URL).arg(m_version.code);
9494

95+
QLOG_DEBUG() << "Download " << url;
96+
9597
QNetworkAccessManager* manager = new QNetworkAccessManager();
9698
connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(onChangelogFinished(QNetworkReply*)));
9799

src/lang/en_GB/changelog.htm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
<dl>
2+
<dt>Version 2.4.1 <small>September 11th 2021</small></dt>
3+
<dd>
4+
<ul>
5+
<li>Fix small bug in settings loading</li>
6+
</ul>
7+
</dd>
8+
29
<dt>Version 2.4.0 <small>May 2nd 2020</small></dt>
310
<dd>
411
<ul>

src/lang/fr_FR/changelog.htm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
<dl>
2+
<dt>Version 2.4.1 <small>11 Septembre 2021</small></dt>
3+
<dd>
4+
<ul>
5+
<li>Correction d'un bug dans le chargement des paramètres</li>
6+
</ul>
7+
</dd>
8+
29
<dt>Version 2.4.0 <small>2 Mai 2020</small></dt>
310
<dd>
411
<ul>

src/versionchecker.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class VersionChecker : public QObject
2121
public slots:
2222
void run()
2323
{
24+
QLOG_DEBUG() << "Download " << APP_VERSION_URL;
25+
2426
QNetworkAccessManager* manager = new QNetworkAccessManager();
2527
connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(downloadFinished(QNetworkReply*)));
2628

0 commit comments

Comments
 (0)