Initial commit

This commit is contained in:
2025-10-26 16:22:50 +01:00
commit 4d6c354436
12 changed files with 1193 additions and 0 deletions

13
task_pack_release/task.go Normal file
View File

@@ -0,0 +1,13 @@
package task_pack_release
import "os"
func PackRelease(srcPath string, dstPath string, releaseName string, archivePwd string, archiveSize string, nfoSettings *NfoCreatorSettings) error {
nfoPath, err := CreateNfo(dstPath, nfoSettings)
if err != nil {
return err
}
defer os.Remove(nfoPath)
return compress(srcPath, dstPath, releaseName, archivePwd, archiveSize, nfoPath)
}