-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommit-android.ps1
More file actions
50 lines (43 loc) · 1.58 KB
/
Copy pathcommit-android.ps1
File metadata and controls
50 lines (43 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# PowerShell script to commit Android setup files to GitHub
# Run this from the project root directory
Write-Host "🚀 Committing Android App Setup Files..." -ForegroundColor Green
Write-Host ""
# Add Android configuration files
Write-Host "Adding Android configuration files..." -ForegroundColor Yellow
git add android/twa-manifest.json
git add android/build.gradle
git add android/app/build.gradle
git add android/settings.gradle
git add android/gradle.properties
git add android/gradle/
git add android/gradlew
git add android/gradlew.bat
git add android/manifest-checksum.txt
git add android/app/src/
# Add PWA files
Write-Host "Adding PWA files..." -ForegroundColor Yellow
git add public/.well-known/assetlinks.json
git add public/web-app-manifest-*.png
# Add updated config files
Write-Host "Adding updated configuration files..." -ForegroundColor Yellow
git add vite.config.ts
git add .gitignore
git add index.html
git add package.json
git add package-lock.json
# Add documentation
Write-Host "Adding documentation..." -ForegroundColor Yellow
git add ANDROID_SETUP.md
git add PWA_SETUP_SUMMARY.md
git add GITHUB_COMMIT_GUIDE.md
Write-Host ""
Write-Host "✅ Files staged for commit!" -ForegroundColor Green
Write-Host ""
Write-Host "Review what will be committed:" -ForegroundColor Cyan
git status --short
Write-Host ""
Write-Host "To commit, run:" -ForegroundColor Cyan
Write-Host " git commit -m 'Add Android app setup with PWA and TWA configuration'" -ForegroundColor White
Write-Host ""
Write-Host "Then push to GitHub:" -ForegroundColor Cyan
Write-Host " git push origin main" -ForegroundColor White