diff --git a/README.md b/README.md index 381a3ef..7067fb9 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,11 @@ On Linux & Mac, make the hook executable: chmod +x ~/.githooks/commit-msg ``` +On Mac you may run into a security warning. To resolve this: +```shell +xattr -rd com.apple.quarantine commit-msg +``` + Lastly, edit this config file to your liking: ~/.githooks/commit-msg-config.ini diff --git a/scripts/package.py b/scripts/package.py index 8cbf5a3..1a45919 100644 --- a/scripts/package.py +++ b/scripts/package.py @@ -3,7 +3,6 @@ """ import os import platform -import shutil import sys from shutil import copy2 as copy, rmtree @@ -47,9 +46,3 @@ # Save config with executable copy(os.path.join("src", "main", CONFIG_FILE_NAME), os.path.join(EXE_FILE_FOLDER, CONFIG_FILE_NAME)) - - # Output a zip file with the configuration file + executable - # in the current working directory - zip_file_name = OS_ALIAS.capitalize() - shutil.make_archive(zip_file_name, 'zip', EXE_FILE_FOLDER) - print(f"Wrote zip file: {zip_file_name}")