-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommand
63 lines (48 loc) · 2.22 KB
/
command
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
51
52
53
54
55
56
57
58
59
60
61
62
63
mkdir -p fastlane\metadata\android\en-US
mkdir -p fastlane\metadata\android\en-US\images\phoneScreenshots
# Example command file for special build instructions
# Uncomment and modify as needed
# cd app
# ./gradlew assembleRelease
# Create basic metadata files
echo Cast App > fastlane\metadata\android\en-US\title.txt
echo Stream content from your device to Chromecast, Smart TVs and other devices > fastlane\metadata\android\en-US\short_description.txt
# For full description, create it manually or use PowerShell
# PowerShell version:
@"
Cast App allows you to easily stream content from your Android device to Chromecast, Smart TVs, and other casting-enabled devices.
Features:
- Stream local media files (videos, photos, music)
- Cast web content
- Support for multiple casting protocols
- Simple, intuitive interface
- No ads or tracking
- Completely open source
"@ | Out-File -FilePath fastlane\metadata\android\en-US\full_description.txt -Encoding utf8
# Create changelog
echo Initial release > fastlane\metadata\android\en-US\changelogs\1.txt
# Copy your screenshots to the screenshots directory
# Example (replace with actual paths to your screenshots):
# copy path\to\screenshot1.png fastlane\metadata\android\en-US\images\phoneScreenshots\1.png
# copy path\to\screenshot2.png fastlane\metadata\android\en-US\images\phoneScreenshots\2.png
# Make sure your app builds correctly
cd app
.\gradlew.bat assembleRelease
cd ..
# Clone the F-Droid data repository
git clone https://gitlab.com/fdroid/fdroiddata.git
cd fdroiddata
# Create a new branch for your submission
git checkout -b add-castapp
# Copy your metadata file to the repository
cp /path/to/your/metadata/com.samyak.castapp.yml metadata/
# Commit your changes
git add metadata/com.samyak.castapp.yml
git commit -m "Add Cast App"
# Push to your fork (assuming you've already forked the repository on GitLab)
git push -u origin add-castapp
# Install Docker Desktop for Windows from https://www.docker.com/products/docker-desktop
# Pull the F-Droid server Docker image
docker pull registry.gitlab.com/fdroid/fdroidserver:latest
# Run the F-Droid build check in Docker
docker run --rm -v "%CD%:/app" -w /app registry.gitlab.com/fdroid/fdroidserver:latest fdroid build --verbose -f com.samyak.castapp