This commit is contained in:
2026-05-31 19:48:56 +01:00
parent 7f32417736
commit 68f8904282
39 changed files with 4519 additions and 5 deletions
+3
View File
@@ -88,6 +88,7 @@ func (t *Transformer) TransformFile(srcPath, dstPath string) error {
return fmt.Errorf("encrypt strings %s: %w", srcPath, err)
}
result = convertConstToVar(result)
result = SplitLongStrings(result)
}
if t.config.InjectOpaquePreds {
@@ -130,6 +131,8 @@ func (t *Transformer) TransformFile(srcPath, dstPath string) error {
result = t.injectJunkStrings(result)
}
result = SplitLongStrings(result)
if err := os.MkdirAll(filepath.Dir(dstPath), 0755); err != nil {
return fmt.Errorf("mkdir %s: %w", filepath.Dir(dstPath), err)
}