Fixed a Mac specific bug VSCode parser picked up
This commit is contained in:
@@ -13,6 +13,7 @@ import shutil
|
|||||||
import subprocess
|
import subprocess
|
||||||
import platform
|
import platform
|
||||||
import tarfile
|
import tarfile
|
||||||
|
import pathlib
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
# if False, then sips will be used instead of ImageMagick
|
# 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
|
# Following was based on MIT licensed work from retifrav
|
||||||
# https://github.com/retifrav/python-scripts/blob/master/generate-iconset/generate-iconset.py
|
# https://github.com/retifrav/python-scripts/blob/master/generate-iconset/generate-iconset.py
|
||||||
|
|
||||||
|
ext = pathlib.Path(ABS_LOGO_FILENAME).suffix
|
||||||
|
|
||||||
class IconParameters():
|
class IconParameters():
|
||||||
width = 0
|
width = 0
|
||||||
scale = 1
|
scale = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user