mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-15 15:44:35 -04:00
📦 Import fix
This commit is contained in:
parent
021a465cdc
commit
59ca6519a2
3 changed files with 12 additions and 12 deletions
|
@ -26,7 +26,7 @@ windows_cursors = {
|
|||
}
|
||||
|
||||
|
||||
class Bundler():
|
||||
class Bundler:
|
||||
"""
|
||||
Create crisp package for Bibata Windows & X11 packages 📦.
|
||||
"""
|
||||
|
|
|
@ -7,8 +7,8 @@ import shutil
|
|||
from os import path, mkdir
|
||||
import tempfile
|
||||
|
||||
from builder import __path__
|
||||
from builder.pkg_info import info
|
||||
from . import __path__
|
||||
from .pkg_info import info
|
||||
|
||||
# Build Config
|
||||
delay = 35
|
||||
|
|
|
@ -6,7 +6,7 @@ from .config import ConfigProvider, hotspots, sizes, delay
|
|||
from clickgen import build_x11_cursor_theme, build_cursor_theme, build_win_cursor_theme
|
||||
|
||||
|
||||
class CursorBuilder():
|
||||
class CursorBuilder:
|
||||
"""
|
||||
Build Bibata Windows & X11 cursors 🚀.
|
||||
"""
|
||||
|
@ -19,7 +19,7 @@ class CursorBuilder():
|
|||
|
||||
def build_x11_cursors(self) -> None:
|
||||
""" Build `x11` platform cursors. """
|
||||
print('🌈 Building %s Theme ...' % self.__name)
|
||||
print("🌈 Building %s Theme ..." % self.__name)
|
||||
build_x11_cursor_theme(
|
||||
name=self.__name,
|
||||
image_dir=self.__bitmaps_dir,
|
||||
|
@ -27,14 +27,14 @@ class CursorBuilder():
|
|||
hotspots=hotspots,
|
||||
out_path=self.__tmpdir,
|
||||
archive=False,
|
||||
delay=delay
|
||||
delay=delay,
|
||||
)
|
||||
|
||||
self.__bundler.x11_bundle()
|
||||
|
||||
def build_win_cursors(self) -> None:
|
||||
""" Build `Windows` platform cursors. """
|
||||
print('🌈 Building %s Theme ...' % self.__name)
|
||||
print("🌈 Building %s Theme ..." % self.__name)
|
||||
build_win_cursor_theme(
|
||||
name=self.__name,
|
||||
image_dir=self.__bitmaps_dir,
|
||||
|
@ -42,14 +42,14 @@ class CursorBuilder():
|
|||
hotspots=hotspots,
|
||||
out_path=self.__tmpdir,
|
||||
archive=False,
|
||||
delay=delay
|
||||
delay=delay,
|
||||
)
|
||||
|
||||
self.__bundler.win_bundle()
|
||||
|
||||
def build_cursors(self) -> None:
|
||||
""" Build `x11` & `Windows` platform cursors. """
|
||||
print('🌈 Building %s Theme ...' % self.__name)
|
||||
print("🌈 Building %s Theme ..." % self.__name)
|
||||
build_cursor_theme(
|
||||
name=self.__name,
|
||||
image_dir=self.__bitmaps_dir,
|
||||
|
@ -57,7 +57,7 @@ class CursorBuilder():
|
|||
hotspots=hotspots,
|
||||
out_path=self.__tmpdir,
|
||||
archive=False,
|
||||
delay=delay
|
||||
delay=delay,
|
||||
)
|
||||
|
||||
self.__bundler.bundle()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue