Skip to content

New icon - #24

Merged
thegreystone merged 4 commits into
mainfrom
newicon
Sep 14, 2026
Merged

thegreystone merged 4 commits into
mainfrom
newicon

Conversation

@thegreystone

Copy link
Copy Markdown
Owner

Fixing #12

Copilot AI lite review requested due to automatic review settings September 14, 2026 22:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The icon generator fails when its destination directory does not already exist.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds application icon assets, runtime icon sizes, and rotated-log exclusions.

Changes:

  • Adds 24px and 48px JavaFX icons.
  • Adds a Swift generator for PNG, ICO, ICNS, and preview assets.
  • Ignores rotated *.log.* files.
File summaries
File Summary
src/main/java/se/hirt/diskspace/App.java Loads additional icon sizes.
scripts/generate-icons.swift Generates platform icon assets; destination directories must be created before writing.
.gitignore Ignores rotated log files.
Review details

Suppressed comments (1)

scripts/generate-icons.swift:194

  • icp6 is the 48×48 ICNS element type, but this entry is populated with the 64×64 PNG. macOS may reject or misinterpret that representation, so use the generated 48×48 image here (the 64×64 Retina representation is already provided by ic12).
let entries = [("icp4", 16), ("icp5", 32), ("icp6", 64), ("ic07", 128),
  • Files reviewed: 3/14 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread scripts/generate-icons.swift
thegreystone and others added 2 commits September 15, 2026 00:42
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@thegreystone
thegreystone merged commit 9f1429d into main Sep 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants