feat: adapt to new prologue with custom FreeDesktop thumbnail sizes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from pathlib import Path
|
||||
from assemblicon.highlevel.utils import DEFAULT_FD_THUMBNAIL_HWS
|
||||
from assemblicon.highlevel.environment import Environment
|
||||
from assemblicon.highlevel.context import Context
|
||||
from assemblicon.logger import APP_LOGGER as LOGGER
|
||||
@@ -19,7 +20,14 @@ def main() -> None:
|
||||
iconset_input = repository_root / "src"
|
||||
iconset_output = repository_root / "artifact"
|
||||
prologue = AuroraPrologue(
|
||||
iconset_input, iconset_output, opts.svg_render, tempdir_initializer
|
||||
iconset_input,
|
||||
iconset_output,
|
||||
opts.svg_render,
|
||||
# TODO: For easy testing, we only build 32x32 and 48x48.
|
||||
# Enable full generation after testing.
|
||||
# DEFAULT_FD_THUMBNAIL_HWS,
|
||||
(32, 48, 256),
|
||||
tempdir_initializer,
|
||||
)
|
||||
env = Environment(prologue)
|
||||
ctx = Context(env)
|
||||
|
||||
Generated
+1
-1
@@ -5,7 +5,7 @@ requires-python = ">=3.13"
|
||||
[[package]]
|
||||
name = "assemblicon"
|
||||
version = "0.1.0"
|
||||
source = { git = "https://github.com/SarasasChipWorkshop/assemblicon#0f9a2d722b873271eac4033251cfda218f6bb7fb" }
|
||||
source = { git = "https://github.com/SarasasChipWorkshop/assemblicon#0073298d45d6c44fc164456ebdec5f0d3ada5dff" }
|
||||
dependencies = [
|
||||
{ name = "pillow" },
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user