💾 Better logging

This commit is contained in:
ful1e5 2021-02-25 10:17:19 +05:30
parent 79645e3a6f
commit cc4f2ee7c9
3 changed files with 8 additions and 6 deletions

2
.gitignore vendored
View file

@ -5,7 +5,7 @@ themes
test.py test.py
# Logs Files # Logs Files
build.log builder/files.txt
# Extra # Extra
.vscode .vscode

View file

@ -5,7 +5,7 @@ from typing import Dict
# Info # Info
AUTHOR = "Kaiz Khatri" AUTHOR = "Kaiz Khatri"
URL = "https://github.com/ful1e5/Google_Cursor" URL = "https://github.com/ful1e5/Bibata_Cursor"
# XCursor # XCursor
X_DELAY: int = 10 X_DELAY: int = 10
@ -85,18 +85,18 @@ WIN_CURSORS_CFG: Dict[str, Dict[str, str]] = {
########## ##########
# Static # # Static #
########## ##########
"right_ptr.png": {"to": "Alternate", "position": "top_right"}, "right_ptr.png": {"to": "Alternate", "position": "top_left"},
"cross.png": {"to": "Cross"}, "cross.png": {"to": "Cross"},
"left_ptr.png": {"to": "Default", "position": "top_left"}, "left_ptr.png": {"to": "Default", "position": "top_left"},
"bottom_right_corner.png": {"to": "Diagonal_1"}, "bd_double_arrow.png": {"to": "Diagonal_1"},
"bottom_left_corner.png": {"to": "Diagonal_2"}, "fd_double_arrow.png": {"to": "Diagonal_2"},
"pencil.png": {"to": "Handwriting"}, "pencil.png": {"to": "Handwriting"},
"question_arrow.png": {"to": "Help", "position.png": "top_left"}, "question_arrow.png": {"to": "Help", "position.png": "top_left"},
"sb_h_double_arrow.png": {"to": "Horizontal"}, "sb_h_double_arrow.png": {"to": "Horizontal"},
"xterm.png": {"to": "IBeam", "position": "top_left"}, "xterm.png": {"to": "IBeam", "position": "top_left"},
"hand2.png": {"to": "Link", "position": "top_left"}, "hand2.png": {"to": "Link", "position": "top_left"},
"hand1.png": {"to": "Move"}, "hand1.png": {"to": "Move"},
"dnd_no_drop.png": {"to": "Unavailiable", "position": "top_left"}, "circle.png": {"to": "Unavailiable", "position": "top_left"},
"sb_v_double_arrow.png": {"to": "Vertical"}, "sb_v_double_arrow.png": {"to": "Vertical"},
############ ############
# Animated # # Animated #

View file

@ -109,6 +109,8 @@ comments = {
x_out_dir = Path(args.out_dir) / name x_out_dir = Path(args.out_dir) / name
win_out_dir = Path(args.out_dir) / f"{name}-Windows" win_out_dir = Path(args.out_dir) / f"{name}-Windows"
print(f"=> Creating {name}")
config = get_config( config = get_config(
bitmaps_dir, bitmaps_dir,
x_sizes=args.xsizes, x_sizes=args.xsizes,