-
Notifications
You must be signed in to change notification settings - Fork 675
/
MANUAL-INSTALL.md
51 lines (41 loc) · 1.48 KB
/
MANUAL-INSTALL.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!-- vim: set tw=120: -->
# Manual Build and Install
- Install the virtual audio device `Background Music Device.driver` to `/Library/Audio/Plug-Ins/HAL`.
```shell
sudo xcodebuild -project BGMDriver/BGMDriver.xcodeproj \
-target "PublicUtility" \
RUN_CLANG_STATIC_ANALYZER=0 \
clean build
sudo xcodebuild -project BGMDriver/BGMDriver.xcodeproj \
-target "Background Music Device" \
RUN_CLANG_STATIC_ANALYZER=0 \
DSTROOT="/" \
clean install
```
- Install the XPC helper.
```shell
sudo xcodebuild -project BGMApp/BGMApp.xcodeproj \
-target BGMXPCHelper \
RUN_CLANG_STATIC_ANALYZER=0 \
DSTROOT="/" \
INSTALL_PATH="$(BGMApp/BGMXPCHelper/safe_install_dir.sh)" \
clean install
```
- Install `Background Music.app` to `/Applications` (or wherever).
```shell
sudo xcodebuild -project BGMApp/BGMApp.xcodeproj \
-target "Background Music" \
RUN_CLANG_STATIC_ANALYZER=0 \
DSTROOT="/" \
clean install
```
- Restart `coreaudiod`: <br>
(Audio will stop working until the next step, so you might want to pause any running audio apps.)
```shell
sudo killall coreaudiod
```
or, if that fails
```shell
sudo launchctl kickstart -kp system/com.apple.audio.coreaudiod
```
- Run `Background Music.app`.