File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1- import sys
21import logging
3- import signal
42import os
3+ import signal
54import subprocess
5+ import sys
66import webbrowser
7- from typing import Any , Optional , Dict
87from pathlib import Path
8+ from typing import Any , Dict , Optional
99
10+ import aw_core
1011from PyQt6 import QtCore
12+ from PyQt6 .QtGui import QIcon
1113from PyQt6 .QtWidgets import (
1214 QApplication ,
13- QSystemTrayIcon ,
14- QMessageBox ,
1515 QMenu ,
16- QWidget ,
16+ QMessageBox ,
1717 QPushButton ,
18+ QSystemTrayIcon ,
19+ QWidget ,
1820)
19- from PyQt6 .QtGui import QIcon
20-
21- import aw_core
2221
2322from .manager import Manager , Module
2423
@@ -116,6 +115,9 @@ def _build_rootmenu(self) -> None:
116115 menu .addAction (
117116 "Open log folder" , lambda : open_dir (aw_core .dirs .get_log_dir (None ))
118117 )
118+ menu .addAction (
119+ "Open config folder" , lambda : open_dir (aw_core .dirs .get_config_dir (None ))
120+ )
119121 menu .addSeparator ()
120122
121123 exitIcon = QIcon .fromTheme (
You can’t perform that action at this time.
0 commit comments