Skip to content

Commit 8160949

Browse files
fix: linux build
1 parent 388fda4 commit 8160949

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

.claude/settings.local.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/rust.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,7 @@ jobs:
140140
override: true
141141
components: rustfmt, clippy
142142
- name: Build Rust MacOS
143-
if: runner.os == 'macOS'
144143
run: export CMAKE_POLICY_VERSION_MINIMUM=3.5 && cargo build --verbose --release
145-
- name: Build Rust
146-
if: runner.os != 'macOS'
147-
run: cargo build --verbose --release
148144
- name: Create macOS app bundle
149145
run: |
150146
mkdir -p CeleMod.app/Contents/MacOS

src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,6 @@ fn main() {
953953
}
954954

955955
println!("CeleMod v{} ({})", env!("VERSION"), env!("GIT_HASH"));
956-
957956
// Linux: extract embedded libsciter.so at startup
958957
#[cfg(target_os = "linux")]
959958
{
@@ -969,7 +968,7 @@ fn main() {
969968

970969
if !lib_path.exists() {
971970
println!("Extracting {}...", lib_name);
972-
let lib_bytes = include_bytes_zstd::include_bytes_zstd!("../resources/libsciter.so", 19);
971+
let lib_bytes = include_bytes_zstd::include_bytes_zstd!("resources/libsciter.so", 19);
973972
let mut file = std::fs::File::create(&lib_path).expect("Failed to create libsciter.so");
974973
file.write_all(&lib_bytes).expect("Failed to write libsciter.so");
975974

0 commit comments

Comments
 (0)