File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
134134const $router = useRouter ();
135135const appVer = import .meta .env .VITE_APP_VERSION ;
136+ const isDev = import .meta .env .DEV ;
136137let winboat: Winboat | null = null ;
137138
138139let updateTimeout: NodeJS .Timeout | null = null ;
Original file line number Diff line number Diff line change 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 >
2121<script setup lang="ts">
2222import { openAnchorLink } from ' ../utils/openLink' ;
2323const appVer = import .meta .env .VITE_APP_VERSION ;
24+ const isDev = import .meta .env .DEV ;
2425 </script >
You can’t perform that action at this time.
0 commit comments