Skip to content

Commit

Permalink
Version 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gamelaster committed Jan 23, 2021
1 parent d95af2a commit 07c79a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ Application for updating Pine64's Pinecil soldering iron.
# Supported platforms

- [X] Windows 7 - 10 (64-bit)
- [ ] MacOS
- [X] MacOS
- [ ] Linux

# Screenshots

![Screenshot 1](https://i.imgur.com/WYzyAUE.png)
![Screenshot 2](https://i.imgur.com/BmVQINS.png)
2 changes: 1 addition & 1 deletion aboutdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</rect>
</property>
<property name="text">
<string>Pinecil Firmware Updater v1.0 by gamiee</string>
<string>Pinecil Firmware Updater v1.1 by gamiee</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
Expand Down
4 changes: 2 additions & 2 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ MainWindow::MainWindow(QWidget *parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
this->ConsolePrintInfo("<span style='color: blue;'>Pinecil Firmware Updater v1.0</span>");
this->ConsolePrintInfo("<span style='color: blue;'>Pinecil Firmware Updater v1.1</span>");
this->ConsolePrint("Looking for firmwares and latest version...");

this->networkMgr = new QNetworkAccessManager(this);
Expand All @@ -119,7 +119,7 @@ MainWindow::MainWindow(QWidget *parent)
QJsonObject firmware = firmwareValue.toObject();
ui->firmwareComboBox->addItem(firmware["name"].toString(), firmware["file"].toString());
}
if (json["latest_version"].toString() != "1.0") {
if (json["latest_version"].toString() != "1.1") {
QMessageBox msgBox;
msgBox.setText("New version of Pinecil Firmware Updater was found.");
msgBox.setInformativeText("Do you want to download it?");
Expand Down

0 comments on commit 07c79a5

Please sign in to comment.