Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ body:
attributes:
label: ProtonShift version
description: "Check the app's About dialog or `electron/package.json`."
placeholder: "0.9.6"
placeholder: "0.9.7"
validations:
required: true

Expand Down
326 changes: 326 additions & 0 deletions ARCHITECTURE.md

Large diffs are not rendered by default.

276 changes: 140 additions & 136 deletions README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/io.github.protonshift.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<launchable type="desktop-id">io.github.protonshift.desktop</launchable>
<url type="homepage">https://github.com/I4cTime/protonshift</url>
<releases>
<release version="0.9.7" date="2026-05-14"/>
<release version="0.9.6" date="2026-05-13"/>
<release version="0.9.5" date="2026-05-12"/>
<release version="0.8.8" date="2026-04-15"/>
Expand Down
7 changes: 6 additions & 1 deletion electron/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,12 @@ function startStaticRendererServer(rootDir: string): Promise<number> {
res.writeHead(400).end();
return;
}
if (pathname.includes("..")) {
// Reject true directory-traversal segments (".."/".") but allow dots
// inside filenames — Turbopack's content-hashed chunk names can contain
// consecutive dots, e.g. `16-.0wq_hn57..css`. A naive `includes("..")`
// check 403s the CSS bundle and renders the app completely unstyled.
const segments = pathname.split("/").filter((s) => s.length > 0);
if (segments.some((s) => s === ".." || s === ".")) {
res.writeHead(403).end();
return;
}
Expand Down
2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "protonshift",
"version": "0.9.6",
"version": "0.9.7",
"description": "Linux game configuration toolkit",
"main": "dist/main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion electron/renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "protonshift-renderer",
"version": "0.9.6",
"version": "0.9.7",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion electron/renderer/src/components/nav-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export function NavBar() {
</span>
<div className="navbar__brand-scanline h-[2px] w-full max-w-[7.5rem] rounded-full opacity-90" aria-hidden />
<p className="text-muted hidden font-mono text-[10px] leading-tight tracking-wide @6xl/nav:block">
{appVersion ? `v${appVersion}` : "v0.9.6"} · Linux gaming HUD
{appVersion ? `v${appVersion}` : "v0.9.7"} · Linux gaming HUD
</p>
</div>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/game_setup_hub/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""ProtonShift — Linux game configuration toolkit."""

__version__ = "0.9.6"
__version__ = "0.9.7"
Loading