Fixed a Mac specific bug VSCode parser picked up

This commit is contained in:
Peter Feerick
2021-08-10 21:13:12 +10:00
parent f062b61678
commit 64628a89ab
+3
View File
@@ -13,6 +13,7 @@ import shutil
import subprocess
import platform
import tarfile
import pathlib
from PIL import Image
# if False, then sips will be used instead of ImageMagick
@@ -169,6 +170,8 @@ elif platform.system == "Darwin":
# Following was based on MIT licensed work from retifrav
# https://github.com/retifrav/python-scripts/blob/master/generate-iconset/generate-iconset.py
ext = pathlib.Path(ABS_LOGO_FILENAME).suffix
class IconParameters():
width = 0
scale = 1