mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-15 07:34:36 -04:00
⚡ Logs and hotspots in builder
This commit is contained in:
parent
b0454304a9
commit
f1fbce7510
7 changed files with 123 additions and 9 deletions
|
@ -2,13 +2,15 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import log
|
||||
import sys
|
||||
import json
|
||||
import builder
|
||||
from os import path, listdir
|
||||
import shutil
|
||||
|
||||
|
||||
class ConfigProvider():
|
||||
class ConfigsProvider():
|
||||
"""
|
||||
Configure `Bibata` building process.
|
||||
"""
|
||||
|
@ -53,6 +55,10 @@ class ConfigProvider():
|
|||
self.__bitmaps_dir: str = bitmaps_dir
|
||||
self.__out_dir: str = out_dir
|
||||
|
||||
# read hotspots file
|
||||
with open(path.join(builder.__path__[0], "hotspots.json")) as hotspot_file:
|
||||
self.hotspots = json.loads(hotspot_file.read())
|
||||
|
||||
def get_windows_script(self, theme_name: str, author: str) -> str:
|
||||
|
||||
with open(path.join(builder.__path__[0], "windows.inf")) as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue