Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
]) ++ pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs; [
libiconv
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
]);

LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";
Expand Down
2 changes: 1 addition & 1 deletion src/slicer/prusa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl ThreeMfSlicerTrait for Slicer {
// Find the prusaslicer executable path on macOS.
#[cfg(target_os = "macos")]
fn find_prusa_slicer() -> Result<PathBuf> {
let app_path = PathBuf::from("/Applications/PrusaSlicer.app/Contents/MacOS/PrusaSlicer");
let app_path = PathBuf::from("/Applications/Original Prusa Drivers/PrusaSlicer.app/Contents/MacOS/PrusaSlicer");
if app_path.exists() {
Ok(app_path)
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/usb/control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
}

async fn state(&self) -> Result<MachineState> {
Ok(MachineState::Unknown)
Ok(MachineState::Idle)

Check warning on line 140 in src/usb/control.rs

View check run for this annotation

Codecov / codecov/patch

src/usb/control.rs#L140

Added line #L140 was not covered by tests
}

async fn progress(&self) -> Result<Option<f64>> {
Expand Down