diff --git a/galacteek/application/__init__.py b/galacteek/application/__init__.py index bcae01a1..54d6942e 100644 --- a/galacteek/application/__init__.py +++ b/galacteek/application/__init__.py @@ -1176,6 +1176,8 @@ def setupPaths(self): 'torrent_state.pickle') self._bitMessageDataLocation = self.dataLocation.joinpath( 'bitmessage') + self.geminiHostsLocation = self.dataLocation.joinpath( + 'gemini_known_hosts') qtConfigLocation = Path(QStandardPaths.writableLocation( QStandardPaths.ConfigLocation)) diff --git a/galacteek/browser/schemes/gemini/__init__.py b/galacteek/browser/schemes/gemini/__init__.py index ac3d88e1..681ff3fa 100644 --- a/galacteek/browser/schemes/gemini/__init__.py +++ b/galacteek/browser/schemes/gemini/__init__.py @@ -21,6 +21,14 @@ class GeminiSchemeHandler(BaseURLSchemeHandler): Requests are made using the ignition library. """ + def __init__(self, parent=None, noMutexes=False): + super().__init__(parent=parent, noMutexes=noMutexes) + + # Set the default gemini known hosts file location + ignition.set_default_hosts_file( + str(self.app.geminiHostsLocation) + ) + def geminiRequest(self, url: str): # Run in the thread executor try: diff --git a/galacteek/services/dweb/inter/__init__.py b/galacteek/services/dweb/inter/__init__.py index dbf60724..082866a1 100644 --- a/galacteek/services/dweb/inter/__init__.py +++ b/galacteek/services/dweb/inter/__init__.py @@ -1,4 +1,5 @@ import enum + class InterceptorMessageTypes(enum.Enum): Ready = 1 diff --git a/galacteek/ui/mainui.py b/galacteek/ui/mainui.py index 0e6c094a..cb6f7995 100644 --- a/galacteek/ui/mainui.py +++ b/galacteek/ui/mainui.py @@ -119,6 +119,12 @@ def iAboutGalacteek():


+

Website: + + https://galacteek.gitlab.io + +

+

GitLab: https://gitlab.com/galacteek/galacteek