Skip to content

Commit b7b68bc

Browse files
authored
Merge pull request #27 from maximilianmaihoefner/feature/unity2018-mac
Add PatchInfo for Unity 2018.4 on macOS
2 parents 4f93179 + 4a065f7 commit b7b68bc

2 files changed

Lines changed: 19 additions & 15 deletions

File tree

Patcher/Program.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ internal class Program
1313
{
1414
"mac", new List<PatchInfo>
1515
{
16+
new PatchInfo
17+
{
18+
Version = "2018.4",
19+
DarkPattern = new byte[] {0x75, 0x03, 0x41, 0x8B, 0x06, 0x4C, 0x3B},
20+
LightPattern = new byte[] {0x74, 0x03, 0x41, 0x8B, 0x06, 0x4C, 0x3B}
21+
},
1622
new PatchInfo
1723
{
1824
Version = "2019.1.0f2",

README.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,19 @@
33
Unity Patch
44
===========
55

6-
This repository contains a patch for Unity that allows you to set options inacessible from the application's menus.
6+
This repository contains a patch for Unity that allows you to set options inaccessible from the application's menus.
77

88
Currently, the only supported option for the patch is switching between the dark and light themes in Unity.
99

1010
Usage
1111
=====
1212

13-
We provide binaries for Windows 10, Linux, and macOSX. All compiled binaries are x64. See the [release section](https://github.com/aevitas/unity-patch/releases). Alternatively, you can build the patch from source.
13+
We provide binaries for Windows 10, Linux, and macOS. All compiled binaries are x64.
14+
See the [release section](https://github.com/aevitas/unity-patch/releases).
15+
Alternatively, you can build the patch from source.
1416

15-
Run `patcher.exe` on windows, or alternatively `Patcher` on Linux or MacOS. By default, it will locate your Unity install at `C:\Program Files\Unity\Editor\Unity.exe`, which is obviously wrong for both Linux and macOS, and it will set your theme to dark.
17+
Run `patcher.exe` on windows, or alternatively `Patcher` on Linux or MacOS. By default, it will locate your Unity install
18+
at `C:\Program Files\Unity\Editor\Unity.exe`, which is obviously wrong for both Linux and macOS, and it will set your theme to dark.
1619

1720
You can pass various arguments to the patcher:
1821

@@ -39,18 +42,13 @@ patcher.exe --windows --version=2020.1 --t=dark
3942

4043
Currently, the following OS and Unity version combinations are supported:
4144

42-
**Windows**
43-
* 2020.1
44-
* 2019.3
45-
* 2019.2.3f1
46-
47-
**Linux**
48-
* 2019.2.3f
49-
50-
**MacOS**
51-
* 2019.1.0f2
52-
* 2019.3 (tested until 2019.3.9f1)
53-
* 2020.1
45+
| | Windows | MacOS | Linux |
46+
|--------|:------------------:|:------------------:|:------------------:|
47+
| 2020.1 | :white_check_mark: | :white_check_mark: | :x: |
48+
| 2019.3 | :white_check_mark: | :white_check_mark: | :x: |
49+
| 2019.2 | :white_check_mark: | :x: | :white_check_mark: |
50+
| 2019.1 | :x: | :white_check_mark: | :x: |
51+
| 2018.4 | :x: | :white_check_mark: | :x: |
5452

5553
If you don't specify a version, the patcher will choose a default version.
5654

0 commit comments

Comments
 (0)