Skip to content

Commit

Permalink
Update to the latest version of livesplit-core (#55)
Browse files Browse the repository at this point in the history
This brings the new event system, which fixes the auto saving to
consistently occur and also logs when the plugin crashes.
CryZe authored Jun 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 70a24d5 commit 82e2f8e
Showing 6 changed files with 271 additions and 146 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -151,7 +151,8 @@ jobs:
tar -xzf cross-x86_64-unknown-linux-gnu.tar.gz
- name: Build Shared Library
run: sh .github/workflows/build_shared.sh
shell: bash
run: .github/workflows/build_shared.sh
env:
TARGET: ${{ matrix.target }}
SKIP_CROSS: ${{ matrix.cross }}
51 changes: 22 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -23,11 +23,11 @@ serde = "1.0.188"
serde_derive = "1.0.188"
serde_json = "1.0.105"

# crates needed for the auto splitter management code to work as expected`
# crates needed for the auto splitter management code to work as expected
anyhow = { version = "1.0.75", optional = true }
open = { version = "5.0.0", optional = true }
percent-encoding = { version = "2.3.0", optional = true }
quick-xml = { version = "0.31.0", features = [
quick-xml = { version = "0.34.0", features = [
"serialize",
"overlapped-lists",
], optional = true }
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -9,8 +9,7 @@ Download the latest release for your operating system from the

### Windows

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

### Linux

1 change: 0 additions & 1 deletion src/ffi.rs
Original file line number Diff line number Diff line change
@@ -169,7 +169,6 @@ extern "C" {
module: *mut obs_module_t,
file: *const c_char,
) -> *const c_char;
#[cfg(feature = "auto-splitting")]
pub fn obs_data_set_bool(data: *mut obs_data_t, name: *const c_char, val: bool);
#[cfg(feature = "auto-splitting")]
pub fn obs_data_set_string(data: *mut obs_data_t, name: *const c_char, val: *const c_char);
355 changes: 244 additions & 111 deletions src/lib.rs

Large diffs are not rendered by default.

0 comments on commit 82e2f8e

Please sign in to comment.