Skip to content

Commit e1feb23

Browse files
committed
chore: Change "Pre-Release Alpha" labels to "Beta" since we're in beta now, and show Prod/Dev label
1 parent 907796c commit e1feb23

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/renderer/App.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
</x-navitem>
9090
</RouterLink>
9191
<div class="flex flex-col justify-end items-center p-4 h-full">
92-
<p class="text-xs text-neutral-500">WinBoat Pre-Release Alpha {{ appVer }}</p>
92+
<p class="text-xs text-neutral-500">WinBoat Beta v{{ appVer }} {{ isDev ? 'Dev' : 'Prod' }}</p>
9393
</div>
9494
</x-nav>
9595
<div class="px-5 flex-grow max-h-[calc(100vh-2rem)] overflow-y-auto py-4">
@@ -133,6 +133,7 @@ const remote: typeof import('@electron/remote') = require('@electron/remote');
133133
134134
const $router = useRouter();
135135
const appVer = import.meta.env.VITE_APP_VERSION;
136+
const isDev = import.meta.env.DEV;
136137
let winboat: Winboat | null = null;
137138
138139
let updateTimeout: NodeJS.Timeout | null = null;

src/renderer/views/About.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<div class="flex flex-col items-center justify-center h-[calc(100vh-9rem)]">
33
<img class="w-48" src="/img/winboat_logo.png">
44
<h2 class="mb-0">WinBoat</h2>
5-
<p class="text-gray-500 text-sm">Windows for 🐧 penguins</p>
6-
<p class="text-gray-400 !mt-4">WinBoat Pre-Release Alpha {{ appVer }}</p>
5+
<p class="text-sm text-gray-500">Windows for 🐧 penguins</p>
6+
<p class="text-gray-400 !mt-4">WinBoat Beta v{{ appVer }} {{ isDev ? 'Dev' : 'Prod' }}</p>
77
<div>
88

99
</div>
@@ -21,4 +21,5 @@
2121
<script setup lang="ts">
2222
import { openAnchorLink } from '../utils/openLink';
2323
const appVer = import.meta.env.VITE_APP_VERSION;
24+
const isDev = import.meta.env.DEV;
2425
</script>

0 commit comments

Comments
 (0)