Skip to content

Commit

Permalink
Update IntelliJ logo URL to github/raw
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy committed Jul 30, 2024
1 parent 58ceeda commit 34972fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ if (System.getProperty("idea.sync.active").asBoolean()) {
ideaDir.file(".name").asFile.text = ideName
def icon = ideaDir.file("icon.png").asFile
if (!icon.exists()) {
def img = new URI("https://avatars.githubusercontent.com/u/173406119?s=200&v=4").toURL().openConnection().getInputStream().bytes
def img = new URI("https://raw.githubusercontent.com/polaris-catalog/polaris/main/docs/img/logos/polaris-brandmark.png").toURL().openConnection().getInputStream().bytes
ideaDir.file("icon.png").asFile.newOutputStream().with { out -> out.write(img) }
}

Expand Down

0 comments on commit 34972fc

Please sign in to comment.