Skip to content

Commit fcf5e87

Browse files
polachok9mm
andauthored
feat: add ability to open files from Finder in macOS (neovide#2395)
* non-working plist attempt * add Neovide.icns * remove old build attempt * make-icns script * add background for dmg installer * app + dmg builder script * first version of Info.plist * add missing keys from production build * support retina backgrounds with tiff * add lots of types... * also add exported type declarations * consistent quotes * sigh * comment * feat(mac): implement openFiles on macOS * feat: default to fork if in tty * add source image and instructions --------- Co-authored-by: Travis <[email protected]>
1 parent 810fb9a commit fcf5e87

File tree

18 files changed

+2606
-11
lines changed

18 files changed

+2606
-11
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,3 @@ long_description = """
131131
This is a simple graphical user interface for Neovim. Where possible there are some graphical improvements, but it should act functionally like the terminal UI.
132132
"""
133133
osx_minimum_system_version = "10.11"
134-

assets/dmg-background/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
### OSX DMG Background
2+
3+
source.pdf in this directory can be used for modifying the background of the
4+
dmg installer on OSX.
5+
6+
JetBrainsMono can be downloaded from [Nerd Fonts](https://www.nerdfonts.com/font-downloads).
7+
8+
After any changes, you must export 2 images with the following paths, filenames
9+
and dimensions:
10+
11+
1. `assets/neovide-dmg-background.png` (650x450)
12+
2. `assets/[email protected]` (1300x900)
13+
14+
Next, to support retina images you must generate a properly composed tiff by running the builder script from the root of the project:
15+
16+
```
17+
macos-builder/make-icns
18+
```
19+
20+
This script will also generate an `.icns` file with all the proper sizes from
21+
the `assets/neovide-1024.png` source image.

assets/dmg-background/source.pdf

86.3 KB
Binary file not shown.

assets/neovide-1024.png

108 KB
Loading

assets/neovide-dmg-background.png

136 KB
Loading

assets/neovide-dmg-background.tiff

519 KB
Binary file not shown.

assets/[email protected]

330 KB
Loading

0 commit comments

Comments
 (0)