Files
Overgram4A/.github/scripts/encode-keystore.sh
overspend1 006e9c6a75 feat: implement liquid glass design and update branding
## Major Features

### Liquid Glass Design System
- Implemented complete glassmorphism framework with real blur effects
- Added 6 stunning presets (Subtle, Standard, Heavy, Frosted, Crystal, Midnight)
- GPU-accelerated blur rendering using Telegram's optimized utilities
- Full configuration UI with blur radius and opacity controls
- Smart caching system to maintain 60 FPS performance
- Color matrix adjustments for saturation and brightness

### Ghost Mode Safety Warning
- Added ban risk warning dialog when enabling ghost mode
- Warns users about potential ToS violations
- Red "Enable Anyway" button to emphasize danger
- Translated to 6 languages (EN, BE, ES, PT, RU, UK)
- No warning when disabling (safe action)

### Complete Rebranding (AyuGram → Overgram)
- Renamed all packages from com.radolyn.ayugram to com.overspend1.overgram
- Updated 52 Java files with new copyright headers
- Replaced all Ayu* classes with Over* equivalents
- Updated all string resources across 6 languages
- Renamed ayu_ghost.xml to over_ghost.xml

### Support & Contact Updates
- Updated official channel IDs (@overgramupdates, @overgramchat)
- Added developer ID (@overspend1: 6618397068)
- Changed APP_GITHUB to overspend1/Overgram4A
- Removed old AyuGram channel references
- Updated all support links and contact information

## New Files

### Liquid Glass Core
- GlassParameters.java - Configuration holder for blur effects
- LiquidGlassPreset.java - 6 predefined style presets
- LiquidGlassEffect.java - Main blur rendering engine
- LiquidGlassPreferencesActivity.java - Settings UI

### Overgram Package (52 files)
- Complete package structure renamed and reorganized
- All proprietary implementations included
- Full database and sync infrastructure

### Documentation & Scripts
- BRANDING_CUSTOMIZATION_GUIDE.md - Rebranding guide
- setup-project.sh - Project initialization script
- rebrand-to-overgram.sh - Automated rebranding script
- cleanup-branding.sh - Resource cleanup script
- Auto-release GitHub workflow with Telegram bot integration

## Configuration Changes

### OverConfig.java
- Added liquid glass settings (enabled, presets, blur, opacity)
- Added apply to chat bubbles/dialogs toggles
- Maintained backward compatibility with existing preferences

### Constants
- Updated OFFICIAL_CHANNELS with Overgram channel IDs
- Updated DEVS array with @overspend1 ID
- Changed APP_GITHUB reference

### Resources
- Added 15+ new strings for Liquid Glass UI
- Added ghost mode warning strings in 6 languages
- Updated all watermarks and descriptions

## Performance
- Liquid Glass uses GPU acceleration
- Smart caching reduces redundant blur operations
- Adaptive quality during animations
- No performance impact when disabled
2025-12-02 14:29:01 +01:00

91 lines
2.7 KiB
Bash
Executable File

#!/bin/bash
# Encode keystore to base64 for GitHub Secrets
# Usage: ./encode-keystore.sh path/to/keystore.jks
set -e
echo "🔑 Keystore Encoder for GitHub Actions"
echo "========================================"
echo ""
# Check if keystore file is provided
if [ -z "$1" ]; then
echo "❌ Error: No keystore file specified"
echo ""
echo "Usage: $0 path/to/keystore.jks"
echo ""
echo "Example:"
echo " $0 overgram-release.jks"
exit 1
fi
KEYSTORE_FILE="$1"
# Check if file exists
if [ ! -f "$KEYSTORE_FILE" ]; then
echo "❌ Error: Keystore file not found: $KEYSTORE_FILE"
exit 1
fi
echo "📂 Keystore file: $KEYSTORE_FILE"
echo ""
# Get file info
FILE_SIZE=$(ls -lh "$KEYSTORE_FILE" | awk '{print $5}')
echo "📊 File size: $FILE_SIZE"
echo ""
# Encode to base64
echo "🔄 Encoding to base64..."
if [[ "$OSTYPE" == "darwin"* ]]; then
# macOS
base64 -i "$KEYSTORE_FILE" -o keystore-base64.txt
else
# Linux
base64 -w 0 "$KEYSTORE_FILE" > keystore-base64.txt
fi
if [ -f "keystore-base64.txt" ]; then
echo "✅ Encoded successfully!"
echo ""
echo "📄 Output file: keystore-base64.txt"
echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "📋 Next Steps:"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo ""
echo "1. Go to GitHub repository settings:"
echo " Settings → Secrets and variables → Actions"
echo ""
echo "2. Click 'New repository secret'"
echo ""
echo "3. Add secret KEYSTORE_BASE64:"
echo " Name: KEYSTORE_BASE64"
echo " Value: (paste contents of keystore-base64.txt)"
echo ""
echo "4. Copy the contents:"
if command -v xclip &> /dev/null; then
cat keystore-base64.txt | xclip -selection clipboard
echo " ✅ Copied to clipboard!"
elif command -v pbcopy &> /dev/null; then
cat keystore-base64.txt | pbcopy
echo " ✅ Copied to clipboard!"
else
echo " Run: cat keystore-base64.txt"
fi
echo ""
echo "5. Also add these secrets:"
echo " KEYSTORE_PASSWORD - Your keystore password"
echo " KEY_ALIAS - Your key alias"
echo " KEY_PASSWORD - Your key password"
echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo ""
echo "⚠️ IMPORTANT: Delete keystore-base64.txt after copying!"
echo " Run: rm keystore-base64.txt"
echo ""
else
echo "❌ Error: Failed to create encoded file"
exit 1
fi