Skip to content

Commit

Permalink
Add a deprecation notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Apr 13, 2023
1 parent f86e013 commit 1ff0507
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# ⚠️ `folderify` v2 ⚠️

This is folderify v2 (implemented in Python and published to PyPI), which is no longer officially supported. Unless you need folder icons for macOS 10.15 or earlier, please consider updating to folderify v3: https://github.com/lgarron/folderify/tree/main#install

--------

# folderify

![mask.png + folder = folderified!](examples/png/explanation.png)
Expand Down
13 changes: 13 additions & 0 deletions folderify/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
import subprocess
import sys
import tempfile
import time
import warnings

from string import Template

Expand Down Expand Up @@ -102,6 +104,17 @@ def main():

################################################################

warnings.warn("""
--------
You are using folderify v2, which is no longer officially supported. Unless you need folder icons for macOS 10.15 or earlier, please consider updating to folderify v3:
https://github.com/lgarron/folderify/tree/main#install
--------
""", DeprecationWarning)
time.sleep(2)

args = parser.parse_args()

if args.mask and not os.path.exists(args.mask):
Expand Down

0 comments on commit 1ff0507

Please sign in to comment.