Compare commits
8 Commits
4-06-2025
...
3bf4380e73
Author | SHA1 | Date | |
---|---|---|---|
3bf4380e73 | |||
0f3903d167 | |||
a45cfb156b | |||
9a387dd801 | |||
2f5b6e5aac | |||
5391549ff3 | |||
781488c16f | |||
cf0288b519 |
2
gitea.py
2
gitea.py
@@ -67,7 +67,7 @@ class GiteaUpdate:
|
||||
"""
|
||||
|
||||
try:
|
||||
to_down: str = f"wget -qP {Path.home()} {' '} {urld}"
|
||||
to_down: str = f"wget -qP {Path.home()} {" "} {urld}"
|
||||
result: int = subprocess.call(to_down, shell=True)
|
||||
if result == 0:
|
||||
shutil.chown(f"{Path.home()}/{res}.zip", 1000, 1000)
|
||||
|
Binary file not shown.
@@ -58,17 +58,12 @@ class AppConfig:
|
||||
# UI configuration
|
||||
UI_CONFIG: Dict[str, Any] = {
|
||||
"window_title2": "LogViewer",
|
||||
"window_size": (590, 460),
|
||||
"window_size": (595, 460),
|
||||
"font_family": "Ubuntu",
|
||||
"font_size": 11,
|
||||
"resizable_window": (True, True),
|
||||
}
|
||||
|
||||
# Images and icons paths
|
||||
IMAGE_PATHS: Dict[str, Path] = {
|
||||
"icon_log": "/usr/share/icons/lx-icons/48/log.png",
|
||||
}
|
||||
|
||||
# System-dependent paths
|
||||
SYSTEM_PATHS: Dict[str, Path] = {
|
||||
"tcl_path": "/usr/share/TK-Themes",
|
||||
|
@@ -466,7 +466,7 @@ class LogViewer(tk.Tk):
|
||||
def directory_load(self, modul_name, _):
|
||||
|
||||
filepath = filedialog.askopenfilename(
|
||||
initialdir=f"{Path.home() / '.local/share/lxlogs/'}",
|
||||
initialdir=f"{Path.home() / ".local/share/lxlogs/"}",
|
||||
title="Select a Logfile File",
|
||||
filetypes=[("Logfiles", "*.log")],
|
||||
)
|
||||
|
Reference in New Issue
Block a user