| Commit message (Expand) | Author | Age | Files | Lines |
| * | writeDarwinBundle: use binary wrapper•••Previously `writeDarwinBundle` used a handcrafted shell wrapper, however
this causes issues on Apple Silicon Macs as script-only application
bundles are always run under Rosetta[0][1].
Replacing the handcrafted shell wrapper with a binary wrapper allows
apps to run natively instead of requiring Rosetta. However, this means
we can no longer use `$1` and `$@`.
After checking nearly every current usage of `desktopToDarwinBundle`,
there were no apps that used `%[fFuU]` before the last argument, meaning
removing them naively is good enough for the current apps.
[0]: https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
[1]: https://stackoverflow.com/a/68208374
| Michael Hoang | 2023-08-21 | 1 | -11/+19 |
| * | Merge pull request #165111 from toonn/darwin-bundle-outputBin•••make-darwin-bundle: Use output bin | Lassulus | 2022-04-22 | 1 | -4/+4 |
| |\ |
|
| | * | make-darwin-bundle: Prefer long lines to splitting | toonn | 2022-03-21 | 1 | -4/+2 |
| | * | make-darwin-bundle: Escape outputBin for Nix '' string | toonn | 2022-03-21 | 1 | -4/+6 |
| | * | make-darwin-bundle: Use actual bin output•••The script and the hook assume `/bin` is in `$out` but that's not always
true for a multi-output derivation.
| toonn | 2022-03-21 | 1 | -4/+4 |
| * | | write-darwin-bundle: Invert squircle logic•••Older macOS cannot interpret the `CFBundleIconFiles` key so we cannot
rewrite the `CFBundleIconFile` entry without special consideration. I
opted to fix this by inverting the squircle logic. We always add both
the `CFBundleIconFile` and `CFBundleIconFiles` keys. The former is
necessary for at least macOS 10.13 and probably 10.12. The latter seems
to be ignored on those versions and overrides the former on newer
versions of macOS.
Inverting the logic also allows us to rely on the `toPlist` generator to
generate the XML syntax, which is a nice bonus.
| toonn | 2022-03-21 | 1 | -5/+3 |
| |/ |
|
| * | desktopToDarwinBundle: fix squircle icons•••- Convert icons to a single .icns file; and
- Provide an opt-out via X-macOS-Squircle in the desktop item to
override the squircle behavior when the source icons look bad when
converted automatically.
| Randy Eckenrode | 2022-02-23 | 1 | -14/+15 |
| * | build-support: make-darwin-bundle: new•••Add a new module that allows darwin-style application bundles to be
created
| Matthew Leach | 2022-02-10 | 2 | -0/+66 |