mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08: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
2 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue