Skip to content

Commit

Permalink
Update README for v1.8.0, remove import hint for MacOS so pyinstaller…
Browse files Browse the repository at this point in the history
… bundles correctly
  • Loading branch information
foxxyz committed Aug 11, 2019
1 parent d04d81c commit bfbd0ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ multibrowse http://ivo.la - http://bbc.com

To exit windows opened in fullscreen, use:
* Mac: ⌘-Q
* Windows: Alt-F4
* Windows/Linux: Alt-F4

### Displays Ordering
### Display Order

Displays are ordered according to their x/y position from left to right, then top to bottom. Top-left display is always display #1.

Expand Down Expand Up @@ -55,9 +55,9 @@ Development Requirements
Building
--------

Multibrowse can be built into a single contained .exe file using [pyinstaller](http://www.pyinstaller.org/). Pyinstaller can be installed using `pip install pyinstaller`. The old way using `py2exe` is no longer recommended due to Python 3 compatibility issues.
Multibrowse can be built into a single contained .exe file using [pyinstaller](http://www.pyinstaller.org/). Pyinstaller can be installed using `pip install pyinstaller`.

The following command should produce a single self-contained exe file in `/dist`:
The following command produces a single self-contained exe file in `/dist`:

```
pyinstaller --onefile multibrowse.py
Expand Down
6 changes: 2 additions & 4 deletions systems/mac.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
from time import sleep

# Only available on MacOS
try:
from AppKit import NSScreen
except ImportError:
raise ImportError("PyObjC does not seem to be installed. Install it with `pip install -U pyobjc`")
# Install with `pip install pyobj`
from AppKit import NSScreen

from . import BaseSystem

Expand Down

0 comments on commit bfbd0ee

Please sign in to comment.