예제 #1
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
                });
            }
        }
예제 #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
                });
            }
        }