diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c898b8a..39659eb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,7 +64,7 @@ jobs: - os: ubuntu-latest # pyinstaller-options: --onefile - packages: libudev-dev + linux-packages: libudev-dev executable-name: sc64deployer package-name: sc64deployer-linux # package-options: -czf @@ -92,10 +92,10 @@ jobs: replace-with: '-' - name: Install required linux packages - if: matrix.packages + if: matrix.linux-packages run: | sudo apt-get update - sudo apt-get -y install ${{ matrix.packages }} + sudo apt-get -y install ${{ matrix.linux-packages }} - name: Build deployer run: cargo b -r diff --git a/sw/deployer/src/main.rs b/sw/deployer/src/main.rs index 2e3175b..9cf0211 100644 --- a/sw/deployer/src/main.rs +++ b/sw/deployer/src/main.rs @@ -177,7 +177,7 @@ enum TvType { fn main() { let cli = Cli::parse(); - // panic::set_hook(Box::new(|_| {})); + panic::set_hook(Box::new(|_| {})); match panic::catch_unwind(|| handle_command(&cli.command, cli.sn)) { Ok(_) => {} @@ -329,7 +329,7 @@ fn handle_64dd_command(sn: Option, args: &_64DDArgs) -> Result<(), sc64: _ => {} } } else { - thread::sleep(Duration::from_micros(1)); + thread::sleep(Duration::from_millis(1)); } }