This commit is contained in:
nuknal
2024-05-21 18:05:10 +08:00
parent b60095e5b9
commit faf285775f
4 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ type Extractor struct {
func NewExtractor(params *Params) *Extractor {
os.MkdirAll(params.OutputPath, 0755)
os.MkdirAll(params.TempPath, 0755)
return &Extractor{params: params}
return &Extractor{params: params, Clean: true}
}
func (e *Extractor) Cleanup() error {