mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IJPL-217839 simplify createWindowsCustomizer
GitOrigin-RevId: 351c923e4ee8c641b371e3ce62e1407461a48913
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1b515e542b
commit
e4364da218
@@ -88,14 +88,16 @@ open class PyCharmCommunityProperties(protected val communityHome: Path) : PyCha
|
||||
|
||||
override fun getBaseArtifactName(appInfo: ApplicationInfoProperties, buildNumber: String): String = "pycharmPC-$buildNumber"
|
||||
|
||||
override fun createWindowsCustomizer(projectHome: String): WindowsDistributionCustomizer = object : WindowsDistributionCustomizer() {
|
||||
override fun createWindowsCustomizer(projectHome: Path): WindowsDistributionCustomizer = object : WindowsDistributionCustomizer() {
|
||||
init {
|
||||
icoPath = "${communityHome}/python/build/resources/PyCharmCore.ico"
|
||||
icoPathForEAP = "${communityHome}/python/build/resources/PyCharmCore_EAP.ico"
|
||||
installerImagesPath = "${communityHome}/python/build/resources"
|
||||
fileAssociations = listOf("py")
|
||||
}
|
||||
|
||||
override val fileAssociations: List<String>
|
||||
get() = listOf("py")
|
||||
|
||||
override fun getFullNameIncludingEdition(appInfo: ApplicationInfoProperties) = "PyCharm Community Edition"
|
||||
|
||||
override suspend fun copyAdditionalFiles(targetDir: Path, arch: JvmArchitecture, context: BuildContext) {
|
||||
|
||||
Reference in New Issue
Block a user