Skip to content

Commit 6340bcd

Browse files
committed
More Mac attempts
1 parent 4138063 commit 6340bcd

File tree

7 files changed

+11
-47
lines changed

7 files changed

+11
-47
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,15 @@ executable. The script generates an executable called `massivemacro_macos`, a `.
6060
`sh macos/pull_and_build.sh` can be run from the root MassiveMacro directory to pull the latest
6161
version of MassiveMacro from GitHub before running `macos/build.sh`.
6262

63-
To make MassiveMacro compatible with older versions of Mac OS X, follow the instructions
64-
[here](https://gist.github.com/phfaist/a5b8a895b003822df5397731f4673042). In this case,
65-
`macos/build_without_pipenv.sh` and `macos/pull_and_build_without_pipenv.sh` should be used as such
66-
a Python installation does not work with Pipenv.
63+
If the `.app` file does not open, [Platypus](https://sveinbjorn.org/platypus) should be used with
64+
the `.app` file being added to the bundled files and the script written as such:
65+
66+
```bash
67+
#!/bin/bash
68+
./MassiveMacro.app/Contents/MacOS/massivemacro
69+
```
70+
71+
If there is a script called `bin/platypus.sh`, it is executed when `macos/build.sh` is run.
6772

6873
## Usage
6974

linux/build.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ rm -rf build dist Pipfile.lock
77
pipenv install --dev
88
pipenv run pyinstaller massivemacro_pyinstaller.spec
99

10-
# This is for macos/build_without_pipenv.sh to use
11-
pipenv lock -r > requirements.txt
12-
1310
mkdir -p bin
1411
mv dist/massivemacro bin/massivemacro_linux
1512

macos/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ mkdir -p bin
1212
rm -rf bin/MassiveMacro.app
1313
mv dist/massivemacro bin/massivemacro_macos
1414
mv dist/MassiveMacro.app bin
15-
rm bin/MassiveMacro.zip
16-
zip -r bin/MassiveMacro.zip bin/MassiveMacro.app/*
1715

1816
codesign -s "MassiveMacro" bin/MassiveMacro.app
1917

18+
sh bin/platypus.sh
19+
2020
rm -rf build dist Info.plist

macos/build_without_pipenv.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

macos/pull_and_build_without_pipenv.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

requirements.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

windows/build.bat

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ del Pipfile.lock
1010
pipenv install --dev
1111
pipenv run pyinstaller massivemacro_pyinstaller.spec --version-file windows\version_info.txt
1212

13-
:: This is for macos/build_without_pipenv.sh to use
14-
pipenv lock -r > requirements.txt
15-
1613
mkdir bin
1714
move /y dist\massivemacro.exe bin\MassiveMacro.exe
1815

0 commit comments

Comments
 (0)