Skip to content

Commit

Permalink
Update for released firmware image
Browse files Browse the repository at this point in the history
  • Loading branch information
rtsuk committed Mar 1, 2022
1 parent 17564c9 commit abdcc80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "crank"
version = "0.2.2"
version = "0.2.3"
authors = ["Rob Tsuk <[email protected]>"]
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ impl Build {
info!("run_target");

let pdutil_path = playdate_sdk_path()?.join("bin").join(PDUTIL_NAME);
let modem_path = Path::new("/dev/cu.usbmodem00000000001A1");
let modem_path = Path::new("/dev/cu.usbmodemPDU1_Y0005491");
let data_path = Path::new("/Volumes/PLAYDATE");

let duration = time::Duration::from_millis(100);
Expand All @@ -354,7 +354,7 @@ impl Build {
let games_dir = data_path.join("Games");
let game_device_dir = format!("{}.pdx", example_title);
let games_target_dir = games_dir.join(&game_device_dir);
fs::create_dir_all(&games_target_dir).context("Creating game directory on device")?;
fs::create_dir(&games_target_dir).context("Creating game directory on device")?;
Self::copy_directory(&pdx_dir, &games_target_dir)?;

let mut cmd = Command::new("diskutil");
Expand Down

0 comments on commit abdcc80

Please sign in to comment.