mirror of
https://github.com/delibae/claude-prism.git
synced 2026-08-28 05:14:59 +00:00
Merge pull request #56 from delibae/feat/version-display-v1.0.2
feat: show app version on home screen (v1.0.2)
This commit is contained in:
commit
4270989dea
5 changed files with 10 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@claude-prism/desktop",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "claude-prism-desktop"
|
||||
version = "1.0.1"
|
||||
version = "1.0.2"
|
||||
description = "AI-powered LaTeX writing workspace"
|
||||
edition = "2021"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"$schema": "https://raw.githubusercontent.com/nicegui-unofficial/nicegui-tauri-template/main/src-tauri/tauri.conf-v2-schema.json",
|
||||
"identifier": "com.claude-prism.desktop",
|
||||
"productName": "ClaudePrism",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"build": {
|
||||
"beforeDevCommand": "pnpm dev",
|
||||
"beforeBuildCommand": "pnpm build",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { useCallback, useEffect, useState } from "react";
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
import { getVersion } from "@tauri-apps/api/app";
|
||||
import { listen } from "@tauri-apps/api/event";
|
||||
import { open } from "@tauri-apps/plugin-dialog";
|
||||
import {
|
||||
|
|
@ -35,6 +36,7 @@ import { cn } from "@/lib/utils";
|
|||
export function ProjectPicker() {
|
||||
const [showModeDialog, setShowModeDialog] = useState(false);
|
||||
const [wizardMode, setWizardMode] = useState<CreationMode | null>(null);
|
||||
const [appVersion, setAppVersion] = useState("");
|
||||
|
||||
const recentProjects = useProjectStore((s) => s.recentProjects);
|
||||
const addRecentProject = useProjectStore((s) => s.addRecentProject);
|
||||
|
|
@ -47,6 +49,7 @@ export function ProjectPicker() {
|
|||
|
||||
useEffect(() => {
|
||||
checkClaudeStatus();
|
||||
getVersion().then(setAppVersion);
|
||||
}, [checkClaudeStatus]);
|
||||
|
||||
const handleOpenFolder = async () => {
|
||||
|
|
@ -86,6 +89,9 @@ export function ProjectPicker() {
|
|||
<div className="flex flex-col items-center gap-2">
|
||||
<img src="/icon-192.png" alt="ClaudePrism" className="size-16" />
|
||||
<h1 className="font-bold text-2xl">ClaudePrism</h1>
|
||||
{appVersion && (
|
||||
<span className="text-xs text-muted-foreground">v{appVersion}</span>
|
||||
)}
|
||||
<p className="text-center text-muted-foreground text-sm">
|
||||
AI-powered academic writing workspace
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@claude-prism/root",
|
||||
"description": "Open-Source AI LaTeX writing workspace",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/delibae/claude-prism"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue