Version 2.0.1-ai-providers-3: Added provider setup wizard
Updates: - Updated app version to 2.0.1-ai-providers-3 - Added first-run provider setup wizard - Google OAuth integration - 17+ provider presets - Updated package.json version - Added version management script - Updated installation scripts New Features: - Beautiful 3-step setup wizard - Google OAuth option - Custom provider selection - Automatic configuration - Modern UI design Files Changed: - VERSION: Set to 2.0.1-ai-providers-3 - package.json: Updated version - app.asar: Repacked with wizard - provider-setup-wizard.html: New wizard UI - main.js: Added wizard logic - preload.js: Added IPC handler - scripts/version.sh: New version script
This commit is contained in:
67
scripts/version.sh
Executable file
67
scripts/version.sh
Executable file
@@ -0,0 +1,67 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Version Management Script for Antigravity
|
||||||
|
# Usage: ./scripts/version.sh [patch|minor|major]
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
VERSION_FILE="VERSION"
|
||||||
|
CURRENT_VERSION="2.0.1-ai-providers-3"
|
||||||
|
|
||||||
|
# Read current version or use default
|
||||||
|
if [ -f "$VERSION_FILE" ]; then
|
||||||
|
CURRENT_VERSION=$(cat "$VERSION_FILE")
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Parse version parts
|
||||||
|
IFS='.' read -ra VERSION_PARTS <<< "$CURRENT_VERSION"
|
||||||
|
MAJOR="${VERSION_PARTS[0]}"
|
||||||
|
MINOR="${VERSION_PARTS[1]}"
|
||||||
|
PATCH_EXTRA="${VERSION_PARTS[2]}"
|
||||||
|
|
||||||
|
# Parse patch number and suffix
|
||||||
|
IFS='-' read -ra PATCH_PARTS <<< "$PATCH_EXTRA"
|
||||||
|
PATCH="${PATCH_PARTS[0]}"
|
||||||
|
|
||||||
|
# Get suffix if exists
|
||||||
|
SUFFIX=""
|
||||||
|
if [[ "${PATCH_PARTS[1]}" == *"ai-providers"* ]]; then
|
||||||
|
SUFFIX="-${PATCH_PARTS[1]}"
|
||||||
|
if [ -n "${PATCH_PARTS[2]}" ]; then
|
||||||
|
SUFFIX="${SUFFIX}-${PATCH_PARTS[2]}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Increment version based on argument
|
||||||
|
case "${1:-patch}" in
|
||||||
|
major)
|
||||||
|
MAJOR=$((MAJOR + 1))
|
||||||
|
MINOR=0
|
||||||
|
PATCH=0
|
||||||
|
;;
|
||||||
|
minor)
|
||||||
|
MINOR=$((MINOR + 1))
|
||||||
|
PATCH=0
|
||||||
|
;;
|
||||||
|
patch|*)
|
||||||
|
PATCH=$((PATCH + 1))
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Create new version
|
||||||
|
NEW_VERSION="${MAJOR}.${MINOR}.${PATCH}${SUFFIX}"
|
||||||
|
|
||||||
|
# Update VERSION file
|
||||||
|
echo "$NEW_VERSION" > "$VERSION_FILE"
|
||||||
|
|
||||||
|
# Update package.json
|
||||||
|
if [ -f "src/app-extracted/package.json" ]; then
|
||||||
|
sed -i "s/\"version\": \".*\"/\"version\": \"$NEW_VERSION\"/" src/app-extracted/package.json
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Update desktop file version if exists
|
||||||
|
if [ -f "src/app-extracted/dist/" ]; then
|
||||||
|
find src/app-extracted -name "*.desktop" -exec sed -i "s/Version=.*/Version=$NEW_VERSION/" {} \;
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Version updated: $CURRENT_VERSION → $NEW_VERSION"
|
||||||
|
echo "$NEW_VERSION" > "$VERSION_FILE"
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "antigravity",
|
"name": "antigravity",
|
||||||
"productName": "Antigravity",
|
"productName": "Antigravity",
|
||||||
"version": "2.0.1",
|
"version": "2.0.1-ai-providers-3",
|
||||||
"description": "Antigravity - Agentic Desktop Application",
|
"description": "Antigravity - Agentic Desktop Application with AI Provider Support",
|
||||||
"homepage": "https://antigravity.google",
|
"homepage": "https://github.rommark.dev/admin/antigravity-ai-providers",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Google",
|
"name": "Google",
|
||||||
"email": "antigravity-support@google.com"
|
"email": "antigravity-support@google.com"
|
||||||
|
|||||||
BIN
src/app.asar
BIN
src/app.asar
Binary file not shown.
Reference in New Issue
Block a user