Skip to content

Commit

Permalink
Fix macOS app bundle workflow and some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kelpsyberry committed Jan 20, 2024
1 parent 019b799 commit 68d2b0a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-release-macos-app-bundles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
--package dust-desktop
lipo
target/x86_64-apple-darwin/dust-desktop
target/aarch64-apple-darwin/release/dust-desktop
target/x86_64-apple-darwin/ci/dust-desktop
target/aarch64-apple-darwin/ci/dust-desktop
-create
-output Dust.app/Contents/MacOS/Dust
Expand Down Expand Up @@ -100,8 +100,8 @@ jobs:
--package dust-desktop
lipo
target/x86_64-apple-darwin/dust-desktop
target/aarch64-apple-darwin/release/dust-desktop
target/x86_64-apple-darwin/ci/dust-desktop
target/aarch64-apple-darwin/ci/dust-desktop
-create
-output Dust.app/Contents/MacOS/Dust
Expand Down Expand Up @@ -130,8 +130,8 @@ jobs:
--package dust-desktop
lipo
target/x86_64-apple-darwin/dust-desktop
target/aarch64-apple-darwin/release/dust-desktop
target/x86_64-apple-darwin/ci/dust-desktop
target/aarch64-apple-darwin/ci/dust-desktop
-create
-output Dust.app/Contents/MacOS/Dust
Expand Down
1 change: 1 addition & 0 deletions core/src/audio/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ impl Channel {
}

#[inline]
#[allow(clippy::unused_self)]
fn keep_last_sample(&mut self) {
#[cfg(feature = "xq-audio")]
self.hist.copy_within(1.., 0);
Expand Down
2 changes: 2 additions & 0 deletions frontend/desktop/src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,8 @@ impl UiState {

let frame_tx = self.frame_tx.take().unwrap();

// TODO: False positive
#[allow(clippy::useless_asref)]
let audio_tx_data = self
.audio_channel
.as_ref()
Expand Down

0 comments on commit 68d2b0a

Please sign in to comment.