Installing a popclipextz file deletes the file. Why?

When i have downloaded an popclipextz extension, then installing the file installs the extension but deletes the file. Why?

Also, is this behavior customizable?

Thanks for pointers!

The reason is to tidy up so that it’s not left cluttering the user’s Downloads folder. For most end users, the file is not needed after installation.

It was inspired by how Safari extensions (.safariextz … notice a pattern :slight_smile: ) worked at the time (back in 2012 when I designed PopClip’s extensions system … in a rush in about 3 weeks, but that’s another story!). They did it that way, so I thought if Apple does it then I should too.

It’s not customizable. However, only .popclipextz (zipped) files are cleaned up. Non-zipped packages (.popclipext) are left in place.

1 Like

Thanks for the tip!

What is the best way to convert a .popclipextz file into a .popclipext package? When I use unzip to extract Hyphenate-cyfq5y-100.popclipextz for example, I get a directory like

@cyfq5y.com.pilotmoon.popclip.extension.hyphenate.popclipext

This directory is recognised as a package which is great. But can I change its name to something less unwieldy like just

Hyphenate-cyfq5y-100.popclipext

?

Yes, the naming is a bit unwieldy now unfortunately. It’s because I wanted a unique and unchanging identifier for each extension in the directory.

But you can rename the .popclipext to anything you like.

Or you can access most of the source packages here if you are familiar with gitbhub: PopClip-Extensions/source at master · pilotmoon/PopClip-Extensions · GitHub

1 Like