Skip to content

Commit

Permalink
Improve Linux Tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
CryZe committed Jan 17, 2021
1 parent 5771686 commit e929851
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ main() {
stage=$(mktemp -d)
fi

if [ "$OS_NAME" = "ubuntu-latest" ]; then
mkdir -p $stage/obs-livesplit-one/bin/64bit
cp target/$TARGET/release/libobs_livesplit_one.so $stage/obs-livesplit-one/bin/64bit/libobs-livesplit-one.so 2>/dev/null || :
fi

cp target/$TARGET/release/obs_livesplit_one.dll $stage/obs-livesplit-one.dll 2>/dev/null || :
cp target/$TARGET/release/libobs_livesplit_one.so $stage/libobs_livesplit_one.so 2>/dev/null || :
cp target/$TARGET/release/libobs_livesplit_one.dylib $stage/libobs_livesplit_one.dylib 2>/dev/null || :

cd $stage
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ A plugin for OBS Studio that allows adding LiveSplit One as a source.

## How to install

Download the latest release for your operating system from the
[Releases](https://github.com/CryZe/obs-livesplit-one/releases).

### Windows

Extract the `obs-livesplit-one.dll` to `C:\Program Files
- Extract the `obs-livesplit-one.dll` to `C:\Program Files
(x86)\obs-studio\obs-plugins\64bit` or equivalent install directory.

### Linux

Extract the `libobs_livesplit_one.so` as
`$HOME/.config/obs-studio/plugins/livesplit-one/bin/64bit/libobs_livesplit_one.so`
Create all missing folders.
- `mkdir -p $HOME/.config/obs-studio/plugins`
- Untar, e.g.: `tar -zxvf obs-livesplit-one-v0.0.1-x86_64-unknown-linux-gnu.tar.gz -C
$HOME/.config/obs-studio/plugins/`

## Developer Notes

Expand Down

0 comments on commit e929851

Please sign in to comment.