Commit a259608 1 parent b022753 commit a259608 Copy full SHA for a259608
File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
- import sys
2
1
import logging
3
- import signal
4
2
import os
3
+ import signal
5
4
import subprocess
5
+ import sys
6
6
import webbrowser
7
- from typing import Any , Optional , Dict
8
7
from pathlib import Path
8
+ from typing import Any , Dict , Optional
9
9
10
+ import aw_core
10
11
from PyQt6 import QtCore
12
+ from PyQt6 .QtGui import QIcon
11
13
from PyQt6 .QtWidgets import (
12
14
QApplication ,
13
- QSystemTrayIcon ,
14
- QMessageBox ,
15
15
QMenu ,
16
- QWidget ,
16
+ QMessageBox ,
17
17
QPushButton ,
18
+ QSystemTrayIcon ,
19
+ QWidget ,
18
20
)
19
- from PyQt6 .QtGui import QIcon
20
-
21
- import aw_core
22
21
23
22
from .manager import Manager , Module
24
23
@@ -116,6 +115,9 @@ def _build_rootmenu(self) -> None:
116
115
menu .addAction (
117
116
"Open log folder" , lambda : open_dir (aw_core .dirs .get_log_dir (None ))
118
117
)
118
+ menu .addAction (
119
+ "Open config folder" , lambda : open_dir (aw_core .dirs .get_config_dir (None ))
120
+ )
119
121
menu .addSeparator ()
120
122
121
123
exitIcon = QIcon .fromTheme (
You can’t perform that action at this time.
0 commit comments