io.github.javacodesign.LinuxJPackager Maven / Gradle / Ivy
package io.github.javacodesign;
import java.util.List;
public class LinuxJPackager extends JPackager {
private String linuxMenuGroup;
protected List buildJPackagerCommand() {
List command = super.buildJPackagerCommand();
command.add("--linux-shortcut");
if(linuxMenuGroup != null && !linuxMenuGroup.isEmpty()){
command.add("--linux-menu-group");
command.add(linuxMenuGroup);
}
return command;
}
public String getLinuxMenuGroup() {
return linuxMenuGroup;
}
public LinuxJPackager setLinuxMenuGroup(String linuxMenuGroup) {
this.linuxMenuGroup = linuxMenuGroup;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy