Compare commits

..

No commits in common. "1dd25f682bfb6e4038b57f686612d8652be81f25" and "89e35658068e7d6057297b729336b30e2320625d" have entirely different histories.

2 changed files with 1 additions and 12 deletions

View File

@ -319,17 +319,6 @@ async fn main() -> eyre::Result<()> {
let eti_games = eti::get_games(&cli.db).await?;
let mut games: Vec<Game> = eti_games.into_iter().map(eti_game_to_game).collect();
// Filter games based on existing folders
games.retain(|game| {
let game_folder = cli.folder.join(&game.id);
let exists = game_folder.exists() && game_folder.is_dir();
if !exists {
tracing::debug!("Skipping game {}: folder not found", game.id);
}
exists
});
let thumbnails = Thumbnails::new(cli.thumbnails);
// add thumbnails to games

View File

@ -226,7 +226,7 @@ const App = () => {
<div className="item-name">{item.name}</div>
<div className="description">
<span className="desc-text">{item.description.slice(0, 10)}</span>
<span className="size-text">{(item.size / 1024 / 1024 / 1024).toFixed(1)} GB</span>
<span className="size-text">{item.size.toString()}</span>
</div>
<div className="play-button"
onClick={() => item.installed