Include a profile icon for the launcher json (#6222)
This commit is contained in:
parent
6c8342b74e
commit
6cbd418703
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,8 @@ buildscript {
|
|||
}
|
||||
import groovy.json.JsonSlurper
|
||||
import groovy.json.JsonBuilder
|
||||
|
||||
import java.nio.file.Files
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Date
|
||||
import java.util.LinkedHashMap
|
||||
|
@ -773,6 +775,7 @@ project(':forge') {
|
|||
spec: 0,
|
||||
profile: project.name,
|
||||
version: launcherJson.id,
|
||||
icon: "data:image/png;base64," + new String(Base64.getEncoder().encode(Files.readAllBytes(rootProject.file("icon.ico").toPath()))),
|
||||
json: '/version.json',
|
||||
path: "${project.group}:${project.name}:${project.version}",
|
||||
logo: '/big_logo.png',
|
||||
|
|
Loading…
Reference in a new issue