Script breaks Minion
For some reason, zip files created with this script won't be correctly processed by Minion. I'll leave this here so folks can investigate.

A powershell script that zips the current directory to a destination of your choice, excluding directories and files of your choice. Download zip or get from github.
Directory name will be AddonName_version (read from txt)

Will by default zip to %USERPROFILE%\Documents.
Edit line 2 to alter destination path.

Will by default exclude any file names including either .git or .ps1
Edit line 6 to alter regular expression. If you need support with regex, check out rubular.com.

Requires .NET Framework 4.5 to clean up the generated zip file

How to use:

Put into your AddOn's directory
Run with Powershell
Enjoy

返回
顶部