✨ Version is correctly shown in PyInstaller running mode. Running the app from source code points to dev config dir (~/.config/tidal_dl_ng-dev).
This commit is contained in:
@@ -5,7 +5,7 @@ from pathlib import Path
|
||||
from PySide6 import QtCore, QtGui, QtWidgets
|
||||
from tidalapi import Quality as QualityAudio
|
||||
|
||||
from tidal_dl_ng import version
|
||||
from tidal_dl_ng import __version__
|
||||
from tidal_dl_ng.config import Settings
|
||||
from tidal_dl_ng.constants import CoverDimensions, QualityVideo, SkipExisting
|
||||
from tidal_dl_ng.helper.path import is_installed_ffmpeg
|
||||
@@ -30,7 +30,7 @@ class DialogVersion(QtWidgets.QDialog):
|
||||
# Run the .setupUi() method to show the GUI
|
||||
self.ui.setupUi(self)
|
||||
# Set the version.
|
||||
self.ui.l_version.setText("v" + version)
|
||||
self.ui.l_version.setText("v" + __version__)
|
||||
# Show
|
||||
self.exec()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user