V1.5.0: Version bump + Download-Button Redesign
- Version auf 1.5.0 in allen Packages, CI, Dockerfile, Electron - Download-Button im gleichen Design wie Version-Badge (bg-secondary, radius, hover accent) - CI Registry auf adriahub (192.168.1.100:9080) umgestellt Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d6082f8dcf
commit
17dcd6073f
9 changed files with 33 additions and 15 deletions
|
|
@ -31,16 +31,16 @@ docker-build:
|
|||
- |
|
||||
if [ "$CI_COMMIT_REF_NAME" = "main" ]; then
|
||||
TAG="main"
|
||||
VERSION="1.0.0"
|
||||
VERSION="1.5.0"
|
||||
CHANNEL="stable"
|
||||
elif [ "$CI_COMMIT_REF_NAME" = "feature/nightly" ] || [ "$CI_COMMIT_REF_NAME" = "nightly" ]; then
|
||||
TAG="nightly"
|
||||
VERSION="1.0.0-nightly"
|
||||
VERSION="1.5.0-nightly"
|
||||
CHANNEL="nightly"
|
||||
else
|
||||
CLEAN_TAG=$(echo "$CI_COMMIT_REF_NAME" | sed 's/\//-/g')
|
||||
TAG="$CLEAN_TAG"
|
||||
VERSION="1.0.0-dev"
|
||||
VERSION="1.5.0-dev"
|
||||
CHANNEL="dev"
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ COPY web/package*.json ./
|
|||
RUN npm install --no-audit --no-fund
|
||||
COPY web/ .
|
||||
ARG VITE_BUILD_CHANNEL=stable
|
||||
ARG VITE_APP_VERSION=1.0.0
|
||||
ARG VITE_APP_VERSION=1.5.0
|
||||
ENV VITE_BUILD_CHANNEL=$VITE_BUILD_CHANNEL
|
||||
ENV VITE_APP_VERSION=$VITE_APP_VERSION
|
||||
RUN npm run build
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ function createWindow() {
|
|||
|
||||
// Custom User-Agent to identify Electron app
|
||||
const currentUA = mainWindow.webContents.getUserAgent();
|
||||
mainWindow.webContents.setUserAgent(currentUA + ' GamingHubDesktop/1.0.0');
|
||||
mainWindow.webContents.setUserAgent(currentUA + ' GamingHubDesktop/1.5.0');
|
||||
|
||||
mainWindow.loadURL(HUB_URL);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "gaming-hub-desktop",
|
||||
"productName": "Gaming Hub",
|
||||
"version": "1.0.0",
|
||||
"version": "1.5.0",
|
||||
"description": "Gaming Hub Desktop App mit Ad-Blocker",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@ const { contextBridge } = require('electron');
|
|||
|
||||
contextBridge.exposeInMainWorld('electronAPI', {
|
||||
isElectron: true,
|
||||
version: '1.0.0',
|
||||
version: '1.5.0',
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "gaming-hub-server",
|
||||
"version": "1.0.0",
|
||||
"version": "1.5.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "gaming-hub-web",
|
||||
"version": "1.0.0",
|
||||
"version": "1.5.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ export default function App() {
|
|||
return () => { es?.close(); clearTimeout(retryTimer); };
|
||||
}, []);
|
||||
|
||||
const version = (import.meta as any).env?.VITE_APP_VERSION ?? '1.0.0';
|
||||
const version = (import.meta as any).env?.VITE_APP_VERSION ?? '1.5.0';
|
||||
|
||||
// Tab icon mapping
|
||||
const tabIcons: Record<string, string> = {
|
||||
|
|
@ -137,7 +137,8 @@ export default function App() {
|
|||
download
|
||||
title="Desktop App herunterladen"
|
||||
>
|
||||
{'\u2B07\uFE0F'}
|
||||
<span className="hub-download-icon">{'\u2B07\uFE0F'}</span>
|
||||
<span className="hub-download-label">Desktop App</span>
|
||||
</a>
|
||||
)}
|
||||
<span className="hub-version">v{version}</span>
|
||||
|
|
|
|||
|
|
@ -189,14 +189,31 @@ html, body {
|
|||
}
|
||||
|
||||
.hub-download-btn {
|
||||
font-size: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
font-family: var(--font);
|
||||
text-decoration: none;
|
||||
opacity: 0.6;
|
||||
transition: opacity var(--transition);
|
||||
color: var(--text-muted);
|
||||
background: var(--bg-secondary);
|
||||
border-radius: var(--radius);
|
||||
cursor: pointer;
|
||||
transition: all var(--transition);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.hub-download-btn:hover {
|
||||
opacity: 1;
|
||||
color: var(--accent);
|
||||
background: rgba(var(--accent-rgb), 0.1);
|
||||
}
|
||||
.hub-download-icon {
|
||||
font-size: 14px;
|
||||
line-height: 1;
|
||||
}
|
||||
.hub-download-label {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.hub-version {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue