Add ability to specify an icon. Add the icon download to the file list. Add gaps between APKs in preparation for YML files.
This commit is contained in:
@@ -36,11 +36,14 @@ ARG REPO_DOMAIN
|
|||||||
ENV REPO_DOMAIN="$REPO_DOMAIN"
|
ENV REPO_DOMAIN="$REPO_DOMAIN"
|
||||||
ARG REPO_NAME
|
ARG REPO_NAME
|
||||||
ENV REPO_NAME="$REPO_NAME"
|
ENV REPO_NAME="$REPO_NAME"
|
||||||
|
ARG REPO_ICON
|
||||||
|
ENV REPO_ICON="$REPO_ICON"
|
||||||
|
|
||||||
# TBD/TODO: Add commands to remove repo_url and repo_name if they already exist.
|
# TBD/TODO: Add commands to remove repo_url and repo_name if they already exist.
|
||||||
|
|
||||||
RUN sed -i "$ a repo_url: $REPO_DOMAIN/fdroid/repo" "$FDROID/config.yml"
|
RUN sed -i "$ a repo_url: $REPO_DOMAIN/fdroid/repo" "$FDROID/config.yml"
|
||||||
RUN sed -i "$ a repo_name: $REPO_NAME" "$FDROID/config.yml"
|
RUN sed -i "$ a repo_name: $REPO_NAME" "$FDROID/config.yml"
|
||||||
|
RUN sed -i "$ a repo_icon: $REPO_ICON" "$FDROID/config.yml"
|
||||||
|
|
||||||
RUN fdroid update
|
RUN fdroid update
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ services:
|
|||||||
#REPO: ${REPO}
|
#REPO: ${REPO}
|
||||||
REPO_DOMAIN: ${REPO_DOMAIN}
|
REPO_DOMAIN: ${REPO_DOMAIN}
|
||||||
REPO_NAME: ${REPO_NAME}
|
REPO_NAME: ${REPO_NAME}
|
||||||
|
REPO_ICON: ${REPO_ICON}
|
||||||
FILE00: ${FILE00}
|
FILE00: ${FILE00}
|
||||||
FILE01: ${FILE01}
|
FILE01: ${FILE01}
|
||||||
FILE02: ${FILE02}
|
FILE02: ${FILE02}
|
||||||
@@ -40,6 +41,7 @@ services:
|
|||||||
#- REPO=$REPO
|
#- REPO=$REPO
|
||||||
- REPO_DOMAIN=$REPO_DOMAIN
|
- REPO_DOMAIN=$REPO_DOMAIN
|
||||||
- REPO_NAME=$REPO_NAME
|
- REPO_NAME=$REPO_NAME
|
||||||
|
- REPO_ICON=$REPO_ICON
|
||||||
- FILE00=$FILE00
|
- FILE00=$FILE00
|
||||||
- FILE01=$FILE01
|
- FILE01=$FILE01
|
||||||
- FILE02=$FILE02
|
- FILE02=$FILE02
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ MEM=0.25G
|
|||||||
|
|
||||||
REPO_DOMAIN="https://fdroid.hyperling.com"
|
REPO_DOMAIN="https://fdroid.hyperling.com"
|
||||||
REPO_NAME="Hyperling's Apps"
|
REPO_NAME="Hyperling's Apps"
|
||||||
|
REPO_ICON="peace.png"
|
||||||
|
|
||||||
## Files ##
|
## Files ##
|
||||||
# Should be provided as URLs directly to the APK files.
|
# Should be provided as URLs directly to the APK files.
|
||||||
@@ -23,17 +24,17 @@ REPO_NAME="Hyperling's Apps"
|
|||||||
# - Currently being done because Obtainium does not read the Gitea release/tag.
|
# - Currently being done because Obtainium does not read the Gitea release/tag.
|
||||||
|
|
||||||
FILE00="https://git.hyperling.com/me/android-carb-up/releases/download/latest/CarbUp_v1.0.1.apk"
|
FILE00="https://git.hyperling.com/me/android-carb-up/releases/download/latest/CarbUp_v1.0.1.apk"
|
||||||
FILE01="https://git.hyperling.com/me/flutter-expense-tracker/releases/download/latest/ExpenseTracker_v0.1.3.apk"
|
FILE01=""
|
||||||
FILE02="https://git.hyperling.com/me/android-infinite-timer/releases/download/latest/InfiniteTimer_v1.1.1.apk"
|
FILE02="https://git.hyperling.com/me/flutter-expense-tracker/releases/download/latest/ExpenseTracker_v0.1.3.apk"
|
||||||
FILE03="https://git.hyperling.com/me/android-45-minute-rule/releases/download/latest/The45MinuteRule_v1.0.7.apk"
|
FILE03=""
|
||||||
FILE04="https://git.hyperling.com/me/android-tictactoe/releases/download/latest/TicTacToe_v1.1.0.apk"
|
FILE04="https://git.hyperling.com/me/android-infinite-timer/releases/download/latest/InfiniteTimer_v1.1.1.apk"
|
||||||
FILE05="https://git.hyperling.com/me/android-hypergames/releases/download/latest/HyperGames_v0.0.11.apk"
|
FILE05=""
|
||||||
FILE06=""
|
FILE06="https://git.hyperling.com/me/android-45-minute-rule/releases/download/latest/The45MinuteRule_v1.0.7.apk"
|
||||||
FILE07=""
|
FILE07=""
|
||||||
FILE08=""
|
FILE08="https://git.hyperling.com/me/android-tictactoe/releases/download/latest/TicTacToe_v1.1.0.apk"
|
||||||
FILE09=""
|
FILE09=""
|
||||||
FILE10="https://git.hyperling.com/me/ebook-freedom-flyer/releases/download/latest/VoluntarySovereignty.pdf"
|
FILE10="https://git.hyperling.com/me/android-hypergames/releases/download/latest/HyperGames_v0.0.11.apk"
|
||||||
FILE11="https://git.hyperling.com/me/ebook-health-protocol/releases/download/latest/HyperlingsHealthProtocol.pdf"
|
FILE11=""
|
||||||
FILE12=""
|
FILE12=""
|
||||||
FILE13=""
|
FILE13=""
|
||||||
FILE14=""
|
FILE14=""
|
||||||
@@ -41,4 +42,4 @@ FILE15=""
|
|||||||
FILE16=""
|
FILE16=""
|
||||||
FILE17=""
|
FILE17=""
|
||||||
FILE18=""
|
FILE18=""
|
||||||
FILE19=""
|
FILE19="https://hyperling.com/files/media/icons/peace.png"
|
||||||
|
|||||||
Reference in New Issue
Block a user