🔧 Configuration specification

This commit is contained in:
Tw93
2023-06-24 00:06:46 +08:00
parent 3b8235e279
commit 9f9a6b6e75
5 changed files with 2 additions and 8 deletions

3
icns2png.py vendored
View File

@@ -10,7 +10,6 @@ except ImportError:
os.system("pip install Pillow")
from PIL import Image
if __name__ == "__main__":
now_dir = os.path.dirname(os.path.abspath(__file__))
icons_dir = os.path.join(now_dir, "src-tauri", "icons")
@@ -34,5 +33,3 @@ if __name__ == "__main__":
image_32.save(image_32_path, "ICO")
print("png file write success.")
print(f"There are {len(os.listdir(png_dir))} png picture in ", png_dir)