Skip to content

Commit

Permalink
fix GBA app linking
Browse files Browse the repository at this point in the history
also bump version
  • Loading branch information
Cattn committed Sep 6, 2024
1 parent 94545d6 commit ccdf761
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
9 changes: 1 addition & 8 deletions src/internal/GBA.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,7 @@ const gba: Plugin = {
<DropdownMenuContent>
<DropdownMenuItem
onClick={() => {
setUrl("https://cattn.github.io/gba");
}}
>
1.0
</DropdownMenuItem>
<DropdownMenuItem
onClick={() => {
setUrl("https://math-study.github.io/gba");
setUrl("https://mathstudy.dev/gba");
}}
>
2.0
Expand Down
6 changes: 3 additions & 3 deletions src/internal/Updater.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ const Updater: Plugin = {
description: "Bunker's internal updater. Provides automatic updates, as well as historical updates.",
icon: RefreshCw,
tile() {
const currentVersion = "v0.2.1";
const currentVersion = "v0.2.2";
const [latestVersion, setLatestVersion] = useState<string>();
const [installedVersion, setInstalledVersion] = useState<string>();

useEffect(() => {
setInstalledVersion("v0.2.1");
setInstalledVersion("v0.2.2");
async function getLatestVersion() {
const response = await fetch(
"https://api.github.com/repos/bunkerweb/bunker/tags"
Expand Down Expand Up @@ -126,7 +126,7 @@ const Updater: Plugin = {
},[selectedVersion])

useEffect(() => {
setInstalledVersion("v0.2.1");
setInstalledVersion("v0.2.2");
});

useState(() => {
Expand Down
3 changes: 2 additions & 1 deletion src/routes/info.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Button } from "@/components/ui/button";

export default function Info() {
const version = "1.0.0";
const version = "v0.2.2";
return (
<>
<div className="text-center font-bold text-5xl mt-16">
Expand Down Expand Up @@ -30,6 +30,7 @@ export default function Info() {
<li>Initial Release</li>
<li>Added support for plugins</li>
</ul>

</div>
</div>
</div>
Expand Down

0 comments on commit ccdf761

Please sign in to comment.