mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 22:04:19 +07:00
fix: IconConverter using deprecated inkscape --verb option (#7106)
* fix: IconConverter using deprecated inkscape --verb option * refactor: remove unused option in tools/build.gradle
This commit is contained in:
parent
97d077df84
commit
aa310bd205
@ -20,7 +20,6 @@ import java.util.concurrent.ExecutorService
|
||||
import java.util.concurrent.Executors
|
||||
|
||||
def genFolder = "../core/assets-raw/sprites_out/generated/"
|
||||
def doAntialias = !project.hasProperty("disableAntialias")
|
||||
def enableAA = true
|
||||
|
||||
@groovy.transform.CompileStatic
|
||||
|
@ -28,7 +28,7 @@ public class IconConverter{
|
||||
}
|
||||
}
|
||||
|
||||
Seq<String> args = Seq.with("inkscape", "--batch-process", "--verb", "EditSelectAll;SelectionUnion;FitCanvasToSelectionOrDrawing;FileSave");
|
||||
Seq<String> args = Seq.with("inkscape", "--batch-process", "--actions", "select-all; path-union; fit-canvas-to-selection; export-overwrite; export-do");
|
||||
args.addAll(files.map(Fi::absolutePath));
|
||||
|
||||
Fi.get("fontgen/extra").findAll().each(f -> f.copyTo(Fi.get("fontgen/icons").child(f.name())));
|
||||
|
Loading…
Reference in New Issue
Block a user