Skip to content

Commit 9b1d2cd

Browse files
authoredDec 19, 2024
Merge pull request #270 from dm4web/master
Add MacOS support
2 parents 2b6ef1f + 1e8baf6 commit 9b1d2cd

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed
 

‎.github/workflows/main.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build_matrix:
99
strategy:
1010
matrix:
11-
os: [ubuntu-latest, windows-latest]
11+
os: [ubuntu-latest, windows-latest, macos-latest]
1212
feature: ["cli", "egui"]
1313

1414
runs-on: ${{ matrix.os }}
@@ -36,6 +36,12 @@ jobs:
3636
mkdir result
3737
cp target/release/rusty-psn result
3838
39+
- name: Move binary (MacOS)
40+
if: ${{ matrix.os == 'macos-latest' }}
41+
run: |
42+
mkdir result
43+
cp target/release/rusty-psn result
44+
3945
- name: Move binary (Windows)
4046
if: ${{ matrix.os == 'windows-latest' }}
4147
run: |
@@ -49,6 +55,13 @@ jobs:
4955
name: rusty-psn-${{ matrix.feature }}-linux
5056
path: result
5157

58+
- name: Upload artifact (MacOS)
59+
if: ${{ matrix.os == 'macos-latest' }}
60+
uses: actions/upload-artifact@v4
61+
with:
62+
name: rusty-psn-${{ matrix.feature }}-macos
63+
path: result
64+
5265
- name: Upload artifact (Windows)
5366
if: ${{ matrix.os == 'windows-latest' }}
5467
uses: actions/upload-artifact@v4

‎README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ A simple tool to grab updates for PS3 & PS4 games, directly from Sony's servers
33

44
## Usage
55
Go to the [latest release](https://github.com/RainbowCookie32/rusty-psn/releases/latest) page and download the file you'll use from the Assets section:
6-
- If you want to use the GUI version of rusty-psn, then download the `rusty-psn-egui-windows.zip` or `rusty-psn-egui-linux.zip` file, depending on your OS.
7-
- If you want to use the CLI version of rusty-psn, then download the `rusty-psn-cli-windows.zip` or `rusty-psn-cli-linux.zip` file, depending on your OS.
8-
- If you are using macOS, you can use the Dockerfile below to run the CLI build of rusty-psn. While the egui build might be able to compile and run natively on macOS, I don't have the means to test it so it's an unsupported configuration. You are on your own.
6+
- If you want to use the GUI version of rusty-psn, then download the `rusty-psn-egui-windows.zip`, `rusty-psn-egui-linux.zip` or `rusty-psn-egui-macos.zip` file, depending on your OS.
7+
- If you want to use the CLI version of rusty-psn, then download the `rusty-psn-cli-windows.zip`, `rusty-psn-cli-linux.zip` or `rusty-psn-cli-macos.zip` file, depending on your OS.
98

109
After the selected file is downloaded, **extract it** and run the executable file. For the Linux egui builds, you'll need to install some dependencies (sourced from [egui's README](https://github.com/emilk/egui/blob/0.26.2/README.md)):
1110

0 commit comments

Comments
 (0)