You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`--plain-lib-name` - if you ship your .jar separately from the result native libraries or you use it for Android, you can specify the name of the native library that it will try to search while using.
129
+
`--plain-lib-name` - if you ship your .jar separately from the result native libraries, or you use it for Android, you can specify the name of the native library that it will try to search while using.
130
+
131
+
`--custom-lib-dir` - if you want to set custom directory for storing libraries inside the jar
125
132
126
133
If you want to ship your .jar with native libraries in it, you should omit that argument, and after building native files, add them in the form of
127
134
```
@@ -132,7 +139,7 @@ x64-macos.dylib
132
139
arm64-linux.so
133
140
arm64-windows.dll
134
141
```
135
-
to the directory of the .jar file that this tool will print in `stdout` (by default `native0/`)
142
+
to the directory of the .jar file that this tool will print in `stdout` (by default `native0/` or custom if `--custom-lib-dir` is present)
136
143
137
144
#### Basic usage:
138
145
1. Transpile your code using `java -jar native-obfuscator.jar <input jar> <output directory>`
0 commit comments