Add a GitHub link. Also improve .spec files (no need to copy
source files). Also distinguish from running binary or script in the displayed version.
This commit is contained in:
@@ -43,7 +43,14 @@ from utilities import (checksum_ok,
|
||||
|
||||
# import default_imgs_rc
|
||||
|
||||
__VERSION__ = "3.0.1"
|
||||
__LATEST_VERSION__ = "3.0.1"
|
||||
|
||||
if hasattr(sys, '_MEIPASS'):
|
||||
__VERSION__ = __LATEST_VERSION__
|
||||
else:
|
||||
__VERSION__ = __LATEST_VERSION__ + ".Dev"
|
||||
|
||||
|
||||
qt_creator_file = resource_path("artemis.ui")
|
||||
Ui_MainWindow, _ = uic.loadUiType(qt_creator_file)
|
||||
|
||||
@@ -78,6 +85,9 @@ class Artemis(QMainWindow, Ui_MainWindow):
|
||||
self.action_rtl_sdr_com.triggered.connect(
|
||||
lambda: webbrowser.open(Constants.RTL_SDL_LINK)
|
||||
)
|
||||
self.action_github.triggered.connect(
|
||||
lambda: webbrowser.open(Constants.GITHUB_REPO)
|
||||
)
|
||||
self.db = None
|
||||
self.current_signal_name = ''
|
||||
self.signal_names = []
|
||||
|
||||
@@ -9520,6 +9520,7 @@ QSlider::handle:horizontal {
|
||||
<addaction name="action_aresvalley_com"/>
|
||||
<addaction name="action_forum"/>
|
||||
<addaction name="action_rtl_sdr_com"/>
|
||||
<addaction name="action_github"/>
|
||||
</widget>
|
||||
<addaction name="menuFile"/>
|
||||
<addaction name="menuUpdates"/>
|
||||
@@ -9572,6 +9573,11 @@ QSlider::handle:horizontal {
|
||||
<string>RTL-SDR.com</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_github">
|
||||
<property name="text">
|
||||
<string>GitHub</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
|
||||
@@ -114,6 +114,7 @@ class Constants:
|
||||
ADD_SIGNAL_LINK = "https://www.sigidwiki.com/index.php/Special:FormEdit/Signal/?preload=Signal_Identification_Wiki:Signal_form_preload_text"
|
||||
FORUM_LINK = "https://aresvalley.com/community/"
|
||||
ARESVALLEY_LINK = "https://aresvalley.com/"
|
||||
GITHUB_REPO = "https://github.com/AresValley/Artemis"
|
||||
RTL_SDL_LINK = "https://www.rtl-sdr.com/"
|
||||
UPDATING_STR = "Updating..."
|
||||
ACF_DOCS = "https://aresvalley.com/documentation/"
|
||||
|
||||
Reference in New Issue
Block a user