mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-14 17:59:11 +07:00
Add .ico file to Windows distribution
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
|
||||
import com.google.common.io.Files
|
||||
import com.unciv.build.BuildConfig
|
||||
|
||||
plugins {
|
||||
@ -159,6 +160,7 @@ for (platform in Platform.values()) {
|
||||
" --vmargs Xmx1G " +
|
||||
" --output ${config.outDir}"
|
||||
command.runCommand(rootDir)
|
||||
Files.copy(File("$rootDir/extraImages/Icons/Unciv.ico"), File(config.outDir, "Unciv.ico"))
|
||||
}
|
||||
|
||||
tasks.register<Zip>("zip${platformName}") {
|
||||
|
@ -122,7 +122,6 @@ internal object DesktopLauncher {
|
||||
HardenGdxAudio(DesktopGame(config, customDataDir), config)
|
||||
exitProcess(0)
|
||||
}
|
||||
}
|
||||
|
||||
private fun updateDockIconForMacOs(fileName: String) {
|
||||
try {
|
||||
@ -135,3 +134,4 @@ private fun updateDockIconForMacOs(fileName: String) {
|
||||
throwable.printStackTrace()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user