mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-22 05:59:15 +01:00
test
This commit is contained in:
parent
4958611ccc
commit
4e1511734c
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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<String>, args: &_64DDArgs) -> Result<(), sc64:
|
||||
_ => {}
|
||||
}
|
||||
} else {
|
||||
thread::sleep(Duration::from_micros(1));
|
||||
thread::sleep(Duration::from_millis(1));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user