Skip to content

Commit 1a67327

Browse files
committed
release: v1.0.4 - version sync and routing stability overhaul
1 parent e8c830f commit 1a67327

12 files changed

Lines changed: 28 additions & 24 deletions

File tree

com.paperknife.app.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ RepoType: git
2727
Repo: https://github.com/potatameister/PaperKnife
2828

2929
Builds:
30-
- versionName: 1.0.3
31-
versionCode: 10003
32-
commit: v1.0.3
30+
- versionName: 1.0.4
31+
versionCode: 10004
32+
commit: v1.0.4
3333
subdir: android/app
3434
sudo:
3535
- apt-get update || apt-get update
@@ -44,5 +44,5 @@ Builds:
4444

4545
AutoUpdateMode: Version %v
4646
UpdateCheckMode: Tags
47-
CurrentVersion: 1.0.3
48-
CurrentVersionCode: 10003
47+
CurrentVersion: 1.0.4
48+
CurrentVersionCode: 10004
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Titan Overhaul & Version Fix:
2+
- Standardized versioning to v1.0.4 across all components.
3+
- Switched to HashRouter for improved routing stability on Web/GitHub Pages.
4+
- Optimized APK footer and about page layout.
5+
- Improved protocol transparency documentation.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Privacy-first PDF utility: Merge, Split, Compress & Protect PDFs 100% locally.
1+
Privacy-first PDF utility: Merge, Split, Compress & Protect PDFs 100% locally.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
PaperKnife: Privacy-First PDF Utility
1+
PaperKnife: Privacy-First PDF Utility

fdroid.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ RepoType: git
1919
Repo: https://github.com/potatameister/PaperKnife
2020

2121
Builds:
22-
- versionName: 1.0.3
23-
versionCode: 10003
24-
commit: v1.0.3
22+
- versionName: 1.0.4
23+
versionCode: 10004
24+
commit: v1.0.4
2525
subdir: android/app
2626
gradle:
2727
- yes
@@ -33,5 +33,5 @@ Builds:
3333

3434
AutoUpdateMode: Version %v
3535
UpdateCheckMode: Tags
36-
CurrentVersion: 1.0.3
37-
CurrentVersionCode: 10003
36+
CurrentVersion: 1.0.4
37+
CurrentVersionCode: 10004

src/App.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
RotateCw, Type, Hash, Tags, FileText, ArrowUpDown, PenTool,
1515
Wrench, ImagePlus, FileImage, Palette, X, ChevronDown
1616
} from 'lucide-react'
17-
import { BrowserRouter, Routes, Route, useNavigate } from 'react-router-dom'
17+
import { HashRouter, Routes, Route, useNavigate } from 'react-router-dom'
1818
import { Toaster, toast } from 'sonner'
1919
import { Capacitor } from '@capacitor/core'
2020
import { Filesystem } from '@capacitor/filesystem'
@@ -289,10 +289,8 @@ function App() {
289289
setShowQuickDrop(false) // Show preview first
290290
}
291291

292-
const isCapacitor = Capacitor.isNativePlatform()
293-
294292
return (
295-
<BrowserRouter basename={isCapacitor ? '/' : '/PaperKnife/'}>
293+
<HashRouter>
296294
<ScrollToTop />
297295
<ViewModeProvider viewMode={viewMode} setViewMode={setViewMode}>
298296
<PipelineProvider>
@@ -380,7 +378,7 @@ function App() {
380378
</Layout>
381379
</PipelineProvider>
382380
</ViewModeProvider>
383-
</BrowserRouter>
381+
</HashRouter>
384382
)
385383
}
386384

src/components/About.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ const AboutAPK = () => {
183183
<PaperKnifeLogo size={40} iconColor="#F43F5E" partColor="currentColor" />
184184
</div>
185185
<h2 className="text-2xl font-black tracking-tighter dark:text-white leading-none mb-1">PaperKnife</h2>
186-
<p className="text-[9px] font-black uppercase tracking-widest text-rose-500">v1.0.0 Stable • Absolute Privacy</p>
186+
<p className="text-[9px] font-black uppercase tracking-widest text-rose-500">v1.0.4 Stable • Absolute Privacy</p>
187187
</div>
188188

189189
{/* 2. Fuel the Engine (Prominent Support - MOVED TO TOP) */}

src/components/AndroidToolsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default function AndroidToolsView({ tools }: { tools: Tool[] }) {
8585

8686
<footer className="text-center py-12 opacity-20">
8787
<PaperKnifeLogo size={24} iconColor="#F43F5E" partColor="currentColor" className="mx-auto mb-4" />
88-
<p className="text-[9px] font-black uppercase tracking-[0.5em]">PaperKnife Version 1.0.0</p>
88+
<p className="text-[9px] font-black uppercase tracking-[0.5em]">PaperKnife Version 1.0.4</p>
8989
</footer>
9090
</div>
9191
)

src/components/AndroidView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export default function AndroidView({ theme, toggleTheme, onFileSelect }: Androi
200200

201201
{/* Minimal Footer */}
202202
<div className="flex flex-col items-center gap-2 py-8 opacity-20">
203-
<p className="text-[8px] font-black uppercase tracking-[0.4em] dark:text-white text-center">PaperKnife v1.0.0</p>
203+
<p className="text-[8px] font-black uppercase tracking-[0.4em] dark:text-white text-center">PaperKnife v1.0.4</p>
204204
</div>
205205

206206
</main>

src/components/Layout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ export default function Layout({ children, theme, toggleTheme, tools, onFileDrop
108108
return location.pathname.includes(`/${pathPart}`)
109109
})
110110

111-
const isHome = location.pathname === '/' || location.pathname === '/PaperKnife' || location.pathname === '/PaperKnife/'
111+
const isHome = location.pathname === '/'
112+
112113
const isMainView = isHome ||
113114
location.pathname.endsWith('/android-tools') ||
114115
location.pathname.endsWith('/android-history') ||

0 commit comments

Comments
 (0)