From 36210d4e4c12a0a2eb42af4009395e3614ecbecf Mon Sep 17 00:00:00 2001 From: "James C. Ahlstrom" Date: Tue, 27 Oct 2026 16:56:09 -0400 Subject: [PATCH] Request by Jaroslav, OK2JRQ: alternate docs directory. --- docs.html | 1 + quisk.py | 4 ++-- quisk_vna.py | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs.html b/docs.html index 50a3423..9b67284 100644 --- a/docs.html +++ b/docs.html @@ -307,6 +307,7 @@ These are part of your operating system. You only install them once unless it ch


+sudo apt-get install gcc
 sudo apt-get install libfftw3-dev
 sudo apt-get install libasound2-dev
 sudo apt-get install portaudio19-dev
diff --git a/quisk.py b/quisk.py
index 24d2ee5..4e4729c 100644
--- a/quisk.py
+++ b/quisk.py
@@ -3662,8 +3662,8 @@ class HelpScreen(wx.html.HtmlWindow):
     if "gtk2" in wx.PlatformInfo:
       self.SetStandardFonts()
     self.SetFonts("", "", [10, 12, 14, 16, 18, 20, 22])
-    # read in text from file help.html in the directory of this module
-    self.LoadFile('help.html')
+    if not self.LoadFile('help.html'):
+      self.LoadFile('/usr/share/doc/quisk/help.html')
   def OnGraphData(self, data):
     pass
   def ChangeYscale(self, y_scale):
diff --git a/quisk_vna.py b/quisk_vna.py
index cd23f57..8e1eff9 100644
--- a/quisk_vna.py
+++ b/quisk_vna.py
@@ -640,8 +640,8 @@ class HelpScreen(wx.html.HtmlWindow):
     if "gtk2" in wx.PlatformInfo:
       self.SetStandardFonts()
     self.SetFonts("", "", [10, 12, 14, 16, 18, 20, 22])
-    # read in text from file help.html in the directory of this module
-    self.LoadFile('help_vna.html')
+    if not self.LoadFile('help_vna.html'):
+      self.LoadFile('/usr/share/doc/quisk/help_vna.html')
   def OnLinkClicked(self, link):
     webbrowser.open(link.GetHref(), new=2)