mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-08-03 16:39:37 +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:
@ -20,7 +20,6 @@ import java.util.concurrent.ExecutorService
|
|||||||
import java.util.concurrent.Executors
|
import java.util.concurrent.Executors
|
||||||
|
|
||||||
def genFolder = "../core/assets-raw/sprites_out/generated/"
|
def genFolder = "../core/assets-raw/sprites_out/generated/"
|
||||||
def doAntialias = !project.hasProperty("disableAntialias")
|
|
||||||
def enableAA = true
|
def enableAA = true
|
||||||
|
|
||||||
@groovy.transform.CompileStatic
|
@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));
|
args.addAll(files.map(Fi::absolutePath));
|
||||||
|
|
||||||
Fi.get("fontgen/extra").findAll().each(f -> f.copyTo(Fi.get("fontgen/icons").child(f.name())));
|
Fi.get("fontgen/extra").findAll().each(f -> f.copyTo(Fi.get("fontgen/icons").child(f.name())));
|
||||||
|
Reference in New Issue
Block a user