lite-xl/resources
Takase 062f8dd1ff
resources/macos: better macos installer background (#1816)
2024-06-19 17:29:00 +02:00
..
cross wasm cross file improvements (#1660) 2024-02-06 14:38:12 +08:00
icons Fix the size and blurriness of the icon on OSX (#553) 2021-10-02 18:39:22 +02:00
include chore(deps): update Lua 2023-11-30 11:19:18 +08:00
linux Release v2.1.4 (#1772) 2024-04-16 19:12:43 +08:00
macos resources/macos: better macos installer background (#1816) 2024-06-19 17:29:00 +02:00
windows ci: fix diff files having "wrong" path separator (#1648) 2023-10-20 03:09:51 +02:00
README.md resources/macos: better macos installer background (#1816) 2024-06-19 17:29:00 +02:00
release-notes.md ci: fix typo in release note template (#1801) 2024-06-06 09:51:57 +08:00

README.md

Resources

This folder contains resources that is used for building or packaging the project.

Build

  • cross/*.txt: Meson cross files for cross-compiling lite-xl on other platforms.

Packaging

  • release-notes.md: lite-xl release note template, used with envsubst.
  • icons/icon.{icns,ico,inl,rc,svg}: lite-xl icon in various formats.
  • linux/com.lite_xl.LiteXL.appdata.xml: AppStream metadata.
  • linux/com.lite_xl.LiteXL.desktop: Desktop file for Linux desktops.
  • macos/background.png: Background image for packaging macOS DMGs.
  • macos/background@2x.png: HiDPI image for packaging macOS DMGs.
  • macos/background.tiff: TIFF image for packaging macOS DMGs.
  • macos/Info.plist.in: Template for generating info.plist on macOS. See macos/macos-retina-display.md for details.
  • macos/lite-xl-dmg.py: Configuration options for dmgbuild for packaging macOS DMGs.
  • windows/001-lua-unicode.diff: Patch for allowing Lua to load files with UTF-8 filenames on Windows.

Development

  • include/lite_xl_plugin_api.h: Native plugin API header. See the contents of lite_xl_plugin_api.h for more details.

macOS DMG covers

The DMG files uses macos/background.tiff as the background, which is created from macos/background.png and macos/background@2x.png with the following command:

tiffutil -cathidpicheck macos/background.png macos/background@2x.png -out macos/background.tiff

macos/background@2x.png should be double the size of macos/background.png with 144 PPI. You can set the PPI by running:

sips -s dpiWidth 144 -s dpiHeight 144 macos/background@2x.png

sips and tiffutil are available by default on macOS.