This commit is contained in:
Mateusz Faderewski 2023-03-02 01:15:15 +01:00
parent 4958611ccc
commit 4e1511734c
2 changed files with 5 additions and 5 deletions

View File

@ -64,7 +64,7 @@ jobs:
- os: ubuntu-latest - os: ubuntu-latest
# pyinstaller-options: --onefile # pyinstaller-options: --onefile
packages: libudev-dev linux-packages: libudev-dev
executable-name: sc64deployer executable-name: sc64deployer
package-name: sc64deployer-linux package-name: sc64deployer-linux
# package-options: -czf # package-options: -czf
@ -92,10 +92,10 @@ jobs:
replace-with: '-' replace-with: '-'
- name: Install required linux packages - name: Install required linux packages
if: matrix.packages if: matrix.linux-packages
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get -y install ${{ matrix.packages }} sudo apt-get -y install ${{ matrix.linux-packages }}
- name: Build deployer - name: Build deployer
run: cargo b -r run: cargo b -r

View File

@ -177,7 +177,7 @@ enum TvType {
fn main() { fn main() {
let cli = Cli::parse(); let cli = Cli::parse();
// panic::set_hook(Box::new(|_| {})); panic::set_hook(Box::new(|_| {}));
match panic::catch_unwind(|| handle_command(&cli.command, cli.sn)) { match panic::catch_unwind(|| handle_command(&cli.command, cli.sn)) {
Ok(_) => {} Ok(_) => {}
@ -329,7 +329,7 @@ fn handle_64dd_command(sn: Option<String>, args: &_64DDArgs) -> Result<(), sc64:
_ => {} _ => {}
} }
} else { } else {
thread::sleep(Duration::from_micros(1)); thread::sleep(Duration::from_millis(1));
} }
} }