public void SignMany(SignManyParams spec) {
            ConfirmValidKeyOrPath(spec.PrivateFile, spec.KeyPath);

            foreach (var arg in spec.Items) {
                ProcessDirectoryOrFile(new ProcessDirectoryOrFileParams(spec.KeyPath, spec.Prefix,
                    spec.CopyKey, arg.ToString(), spec.PrivateFile) {
                    RepackIfFailed = spec.RepackIfFailed,
                    OnlyWhenMissing = spec.OnlyWhenMissing
                });
            }
        }
Beispiel #2
0
        public void SignMany(SignManyParams spec)
        {
            ConfirmValidKeyOrPath(spec.PrivateFile, spec.KeyPath);

            foreach (var arg in spec.Items)
            {
                ProcessDirectoryOrFile(new ProcessDirectoryOrFileParams(spec.KeyPath, spec.Prefix,
                                                                        spec.CopyKey, arg.ToString(), spec.PrivateFile)
                {
                    RepackIfFailed  = spec.RepackIfFailed,
                    OnlyWhenMissing = spec.OnlyWhenMissing
                });
            }
        }