From 6d1792a98daa3743f6894196ba79d79c1348e21c Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Fri, 25 Jan 2019 15:42:07 -0500 Subject: [PATCH] fix: add headless call in beginning of execution - fixes: #1997 --- brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java b/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java index abaee387..1bd5f7b5 100644 --- a/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java +++ b/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java @@ -36,6 +36,9 @@ import java.util.logging.*; public class Main { public static void main(String[] args) throws IOException, InterruptedException, BrutException { + // headless + System.setProperty("java.awt.headless", "true"); + // set verbosity default Verbosity verbosity = Verbosity.NORMAL;