File tree Expand file tree Collapse file tree 6 files changed +23
-17
lines changed
Expand file tree Collapse file tree 6 files changed +23
-17
lines changed Original file line number Diff line number Diff line change @@ -42,16 +42,16 @@ jobs:
4242 cd frontend
4343 npm install
4444
45- - name : cache cargo registry and build
46- uses : actions/cache@v3
47- with :
48- path : |
49- frontend/src-tauri/target
50- ~/.cargo/registry
51- ~/.cargo/git
52- key : ${{ runner.os }}-cargo-${{ hashFiles('frontend/src-tauri/Cargo.lock', 'frontend/src-tauri/Cargo.toml ') }}
53- restore-keys : |
54- ${{ runner.os }}-cargo-
45+ # - name: cache cargo registry and build
46+ # uses: actions/cache@v3
47+ # with:
48+ # path: |
49+ # frontend/src-tauri/target
50+ # ~/.cargo/registry
51+ # ~/.cargo/git
52+ # key: ${{ runner.os }}-cargo-${{ hashFiles('frontend/src-tauri/Cargo.lock') }}
53+ # restore-keys: |
54+ # ${{ runner.os }}-cargo-
5555
5656 - uses : tauri-apps/tauri-action@v0
5757 env :
Original file line number Diff line number Diff line change 11[package ]
22name = " picto_py"
3- version = " 1.0 .0"
3+ version = " 1.1 .0"
44description = " An Image sorter that sorts photos based on face encodings in it."
55authors = [" you" ]
66edition = " 2021"
Original file line number Diff line number Diff line change 22<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33<plist version =" 1.0" >
44<dict >
5- <key >com.apple.security.app-sandbox </key >
6- <true />
75</dict >
86</plist >
Original file line number Diff line number Diff line change 3131 }
3232 },
3333 "productName" : " PictoPy" ,
34- "version" : " 1.0.0" ,
35- "identifier" : " com.yourcompany.pictopy" ,
34+ "identifier" : " org.aossie.pictopy" ,
3635 "plugins" : {
3736 "fs" : {
3837 "requireLiteralLeadingDot" : true
Original file line number Diff line number Diff line change @@ -19,9 +19,18 @@ import {
1919} from 'lucide-react' ;
2020import { useLocation , Link } from 'react-router' ;
2121import { ROUTES } from '@/constants/routes' ;
22+ import { getVersion } from '@tauri-apps/api/app' ;
23+ import { useEffect , useState } from 'react' ;
2224
2325export function AppSidebar ( ) {
2426 const location = useLocation ( ) ;
27+ const [ version , setVersion ] = useState < string > ( '1.0.0' ) ;
28+
29+ useEffect ( ( ) => {
30+ getVersion ( ) . then ( ( version ) => {
31+ setVersion ( version ) ;
32+ } ) ;
33+ } , [ ] ) ;
2534
2635 const isActive = ( path : string ) => {
2736 // Remove leading slash from both paths for comparison
@@ -77,7 +86,7 @@ export function AppSidebar() {
7786 </ SidebarContent >
7887 < SidebarFooter className = "border-border/40 mt-auto border-t py-4" >
7988 < div className = "text-muted-foreground space-y-1 px-4 text-xs" >
80- < div className = "font-medium" > PictoPy v1.0.0 </ div >
89+ < div className = "font-medium" > PictoPy v { version } </ div >
8190 < div > © 2025 PictoPy</ div >
8291 </ div >
8392 </ SidebarFooter >
You can’t perform that action at this time.
0 commit comments