From 9f9a6b6e75a2d602e8cd40bc312e0f2034be86fb Mon Sep 17 00:00:00 2001 From: Tw93 Date: Sat, 24 Jun 2023 00:06:46 +0800 Subject: [PATCH] :wrench: Configuration specification --- .editorconfig | 1 - CODE_OF_CONDUCT.md | 1 + CONTRIBUTING.md | 4 ---- cli.js | 1 + icns2png.py | 3 --- 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.editorconfig b/.editorconfig index 259fb8e..927b794 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,3 @@ -# http://editorconfig.org root = true [*] diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index a771bbb..2ac9ed7 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -126,3 +126,4 @@ enforcement ladder](https://github.com/mozilla/diversity). For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations. + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4c58c4d..a75ccba 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,10 +17,6 @@ graph LR - `master` is the release branch, we will make tag and publish version on this branch. - If it is a document modification, it can be submitted to this branch. -## Commit Log - -please use - ## More It is a good habit to create a feature request issue to discuss whether the feature is necessary before you implement it. However, it's unnecessary to create an issue to claim that you found a typo or improved the readability of documentation, just create a pull request. diff --git a/cli.js b/cli.js index d17768a..92115ec 100755 --- a/cli.js +++ b/cli.js @@ -1,2 +1,3 @@ #!/usr/bin/env node import './dist/cli.js'; + diff --git a/icns2png.py b/icns2png.py index cf9a998..6c749fa 100644 --- a/icns2png.py +++ b/icns2png.py @@ -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) - -