Only add executables from itch (#48)

The Itch db can refer to multiple files,
before the first one added was selected,
now the first one that is  executable is selected.
This commit is contained in:
Philip Kristoffersen
2022-03-17 21:49:47 +01:00
committed by GitHub
parent 0cecbfe1da
commit fb1ff859f1
4 changed files with 77 additions and 30 deletions
Generated
+10
View File
@@ -95,6 +95,7 @@ dependencies = [
"fltk",
"fltk-theme",
"futures",
"is_executable",
"nom 7.0.0",
"nom_locate",
"reqwest",
@@ -599,6 +600,15 @@ version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9"
[[package]]
name = "is_executable"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa9acdc6d67b75e626ad644734e8bc6df893d9cd2a834129065d3dd6158ea9c8"
dependencies = [
"winapi",
]
[[package]]
name = "itoa"
version = "0.4.8"