Skip to content

Commit

Permalink
Release 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Sep 11, 2021
1 parent 48be27b commit 562fa62
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 5 deletions.
2 changes: 1 addition & 1 deletion installer/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Put these files in `data` directory before running `setup.iss` :
Put these files in `data` directory before running `setup.iss` and `package.ps1` :

* UMWP Autochanger.exe (with a space, not an underscore)
* redist/vcredist_x86.exe ([Visual C++ 2017 Redistributable x86](https://aka.ms/vs/15/release/vc_redist.x86.exe))
Expand Down
1 change: 1 addition & 0 deletions installer/package.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Compress-Archive -Path 'data\*' -DestinationPath 'UMWP_Autochanger_2.4.1.zip'
2 changes: 1 addition & 1 deletion installer/setup.iss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define AppId "{401CCECB-FFCC-4AF3-846D-A535F59D0834}"
#define AppName "UMWP Autochanger"
#define AppVersion "2.4.0"
#define AppVersion "2.4.1"
#define AppPublisher "StrangePlanet"
#define PublisherURL "https://www.strangeplanet.fr"
#define ProjectURL "https://www.strangeplanet.fr/work/umwp-autochanger"
Expand Down
6 changes: 3 additions & 3 deletions src/constants.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#ifndef VERSION_H
#define VERSION_H

#define CURRENT_YEAR "2020"
#define CURRENT_YEAR "2021"
#define APP_NAME "UMWP Autochanger"
#define APP_VERSION "2.4.0"
#define APP_VERSION_DW 2,4,0
#define APP_VERSION "2.4.1"
#define APP_VERSION_DW 2,4,1
#define APP_COMPANYNAME "StrangePlanet"
#define APP_FILEDESCRIPTION "Ultimate Monitor Wallpaper Autochanger"
#define APP_LEGALCOPYRIGHT "Copyright (c) 2013-" CURRENT_YEAR " StrangePlanet"
Expand Down
4 changes: 4 additions & 0 deletions src/environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Environment::Environment()
QDir dirHelper;
m_isPortable = !dirHelper.exists(APP_UNINSTALLER_FILENAME);

if (m_isPortable) {
QLOG_DEBUG() << "Running in portable mode";
}

// CREATE CACHE DIR
Environment::APPDATA_DIR = getAppDataFolder();

Expand Down
2 changes: 2 additions & 0 deletions src/gui/newversiondialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ void NewVersionDialog::downloadChangelog()
{
QString url = QString(APP_CHANGELOG_URL).arg(m_version.code);

QLOG_DEBUG() << "Download " << url;

QNetworkAccessManager* manager = new QNetworkAccessManager();
connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(onChangelogFinished(QNetworkReply*)));

Expand Down
7 changes: 7 additions & 0 deletions src/lang/en_GB/changelog.htm
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
<dl>
<dt>Version 2.4.1 <small>September 11th 2021</small></dt>
<dd>
<ul>
<li>Fix small bug in settings loading</li>
</ul>
</dd>

<dt>Version 2.4.0 <small>May 2nd 2020</small></dt>
<dd>
<ul>
Expand Down
7 changes: 7 additions & 0 deletions src/lang/fr_FR/changelog.htm
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
<dl>
<dt>Version 2.4.1 <small>11 Septembre 2021</small></dt>
<dd>
<ul>
<li>Correction d'un bug dans le chargement des paramètres</li>
</ul>
</dd>

<dt>Version 2.4.0 <small>2 Mai 2020</small></dt>
<dd>
<ul>
Expand Down
2 changes: 2 additions & 0 deletions src/versionchecker.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class VersionChecker : public QObject
public slots:
void run()
{
QLOG_DEBUG() << "Download " << APP_VERSION_URL;

QNetworkAccessManager* manager = new QNetworkAccessManager();
connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(downloadFinished(QNetworkReply*)));

Expand Down

0 comments on commit 562fa62

Please sign in to comment.