minified version
This commit is contained in:
parent
ceb9133740
commit
ab34e78bfb
|
@ -1,7 +1,7 @@
|
||||||
pkgname=pokerust-git
|
pkgname=pokerust-git
|
||||||
pkgdesc="Pokemon Colorscripts written in Rust"
|
pkgdesc="Pokemon Colorscripts written in Rust"
|
||||||
_gitname=pokerust
|
_gitname=pokerust
|
||||||
pkgver=r21.28c9d43
|
pkgver=r22.ceb9133
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/Vomitblood/$_gitname"
|
url="https://github.com/Vomitblood/$_gitname"
|
||||||
|
|
|
@ -11,7 +11,7 @@ fn main() {
|
||||||
let mut rng = rand::thread_rng();
|
let mut rng = rand::thread_rng();
|
||||||
|
|
||||||
if let Some(random_file) = files.choose(&mut rng) {
|
if let Some(random_file) = files.choose(&mut rng) {
|
||||||
println!("Random Pokémon Sprite: {}", random_file);
|
println!("{}", random_file);
|
||||||
if let Some(file_data) = ColorScriptsDir::get(random_file) {
|
if let Some(file_data) = ColorScriptsDir::get(random_file) {
|
||||||
println!("{}", std::str::from_utf8(file_data.data.as_ref()).unwrap());
|
println!("{}", std::str::from_utf8(file_data.data.as_ref()).unwrap());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue