Skip to content

Commit

Permalink
Fixes the platforms page (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-morrison44 authored Apr 29, 2024
1 parent 8f80477 commit eb32367
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pocket-sync",
"private": true,
"version": "4.8.0",
"version": "4.8.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pocket-sync"
version = "4.8.0"
version = "4.8.1"
description = "A GUI tool for doing stuff with the Analogue Pocket"
authors = ["neil-morrison44"]
license = "AGPL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"package": {
"productName": "Pocket Sync",
"version": "4.8.0"
"version": "4.8.1"
},
"tauri": {
"allowlist": {
Expand Down
4 changes: 2 additions & 2 deletions src/recoil/platforms/selectors.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { selector, selectorFamily } from "recoil"
import { ImagePack, PlatformId, PlatformInfoJSON } from "../../types"
import { invokeFileExists, invokeListFolders } from "../../utils/invokes"
import { invokeFileExists, invokeListFiles } from "../../utils/invokes"
import { PLATFORM_IMAGE } from "../../values"
import {
CoreInfoSelectorFamily,
Expand All @@ -17,7 +17,7 @@ export const platformsListSelector = selector<PlatformId[]>({
key: "platformsListSelector",
get: async ({ get }) => {
get(FolderWatchAtomFamily("Platforms"))
const platforms = await invokeListFolders("Platforms")
const platforms = await invokeListFiles("Platforms")
return platforms
.filter((s) => s.endsWith(".json"))
.map((s) => s.replace(".json", ""))
Expand Down

0 comments on commit eb32367

Please sign in to comment.