fix: xfwm4 assets (#240)
This commit is contained in:
8
build.py
8
build.py
@@ -371,15 +371,15 @@ def make_assets(ctx: BuildContext):
|
|||||||
f"{output_dir}/metacity-1/thumbnail.png",
|
f"{output_dir}/metacity-1/thumbnail.png",
|
||||||
)
|
)
|
||||||
|
|
||||||
xfwm4_assets = f"{THIS_DIR}/patches/xfwm4/generated/assets-catppuccin-{ctx.flavor.identifier}"
|
xfwm4_assets_root = f"{THIS_DIR}/patches/xfwm4/generated/assets-catppuccin-{ctx.flavor.identifier}"
|
||||||
for file in glob.glob(xfwm4_assets + '/*'):
|
for file in glob.glob(xfwm4_assets_root + '/*'):
|
||||||
shutil.copy(file, f"{output_dir}/xfwm4")
|
shutil.copy(file, f"{output_dir}/xfwm4")
|
||||||
|
|
||||||
xfwm4_assets = xfwm4_assets + "-hdpi/*"
|
xfwm4_assets = xfwm4_assets_root + "-hdpi/*"
|
||||||
for file in glob.glob(xfwm4_assets):
|
for file in glob.glob(xfwm4_assets):
|
||||||
shutil.copy(file, f"{output_dir}-hdpi/xfwm4")
|
shutil.copy(file, f"{output_dir}-hdpi/xfwm4")
|
||||||
|
|
||||||
xfwm4_assets = xfwm4_assets + "-xhdpi/*"
|
xfwm4_assets = xfwm4_assets_root + "-xhdpi/*"
|
||||||
for file in glob.glob(xfwm4_assets):
|
for file in glob.glob(xfwm4_assets):
|
||||||
shutil.copy(file, f"{output_dir}-xhdpi/xfwm4")
|
shutil.copy(file, f"{output_dir}-xhdpi/xfwm4")
|
||||||
|
|
||||||
|
@@ -151,6 +151,9 @@ def call_subprocesses(inp: WorkerInput):
|
|||||||
return [
|
return [
|
||||||
subprocess.Popen(
|
subprocess.Popen(
|
||||||
[
|
[
|
||||||
|
# FIXME: https://gitlab.com/inkscape/inkscape/-/issues/4716#note_1882967469Z
|
||||||
|
"unshare",
|
||||||
|
"--user",
|
||||||
inkscape,
|
inkscape,
|
||||||
"--export-id",
|
"--export-id",
|
||||||
inp.ident,
|
inp.ident,
|
||||||
|
Reference in New Issue
Block a user