Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please don't auto exit after obfuscation in a CLI environment. #1228

Open
Pixelsplasher opened this issue Jan 9, 2024 · 1 comment
Open

Comments

@Pixelsplasher
Copy link

Pixelsplasher commented Jan 9, 2024

I use this for obfuscating a batch of js files through a Windows batch script.

`@echo off
setlocal enabledelayedexpansion

set javascript-obfuscator="D:\cmd\javascript-obfuscator\node_modules\.bin\javascript-obfuscator"
...
!javascript-obfuscator! "../!tempsubdir!" --output "../o__!parentFolderName!"
`
The thing exits the script after execution of .bin\javascript-obfuscator. I still have some things to do afterwards. Is there an option to not exit after it is done obfuscating?

I could not use it in a loop because of this. Once it obfuscates a file, it exits.

@slig
Copy link

slig commented Jan 10, 2024

You should solve that on your script, it's not an issue of the library. I'd ask Phind.com or ChatGPT how to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants