Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9286fba63c | |||
| 6bf7084959 | |||
| 03cc3d82a7 |
@@ -6,7 +6,7 @@
|
||||
<b>SpotiFLAC</b> allows you to download Spotify tracks in true FLAC format through services like Tidal, Amazon Music and Qobuz with the help of Lucida.
|
||||
</div>
|
||||
|
||||
### [Download](https://github.com/afkarxyz/SpotiFLAC/releases/download/v1.6/SpotiFLAC.exe)
|
||||
### [Download](https://github.com/afkarxyz/SpotiFLAC/releases/download/v1.7/SpotiFLAC.exe)
|
||||
|
||||
#
|
||||
|
||||
|
||||
+3
-2
@@ -4,6 +4,7 @@ import os
|
||||
import time
|
||||
import requests
|
||||
from pathlib import Path
|
||||
from packaging import version
|
||||
from PyQt6.QtWidgets import (QApplication, QMainWindow, QWidget, QVBoxLayout,
|
||||
QHBoxLayout, QLabel, QLineEdit, QPushButton,
|
||||
QProgressBar, QFileDialog, QCheckBox, QRadioButton,
|
||||
@@ -217,7 +218,7 @@ class UpdateDialog(QDialog):
|
||||
class SpotiFlacGUI(QMainWindow):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.current_version = "1.6"
|
||||
self.current_version = "1.7"
|
||||
self.settings = QSettings('SpotiFlac', 'Settings')
|
||||
self.setWindowTitle("SpotiFLAC")
|
||||
self.check_for_updates = self.settings.value('check_for_updates', True, type=bool)
|
||||
@@ -253,7 +254,7 @@ class SpotiFlacGUI(QMainWindow):
|
||||
data = response.json()
|
||||
new_version = data.get("version")
|
||||
|
||||
if new_version and new_version != self.current_version:
|
||||
if new_version and version.parse(new_version) > version.parse(self.current_version):
|
||||
dialog = UpdateDialog(self.current_version, new_version, self)
|
||||
result = dialog.exec()
|
||||
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": "1.6"
|
||||
"version": "1.7"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user