Skip to content

Commit

Permalink
Update com.jagexlauncher.JagexLauncher
Browse files Browse the repository at this point in the history
  • Loading branch information
nmlynch94 committed Apr 26, 2024
0 parents commit 1d4e5b0
Show file tree
Hide file tree
Showing 4,743 changed files with 151 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2

updates:
- package-ecosystem: gitsubmodule
schedule:
interval: "daily"
directory: /
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: build
run-name: Build Flatpak
on:
pull_request:
workflow_dispatch:

jobs:
Build-Flatpak:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y \
flatpak \
flatpak-builder \
icoutils
- name: Build the flatpak
run: |
ls ${{ github.workspace }}
chmod +x build.sh
./build.sh
37 changes: 37 additions & 0 deletions .github/workflows/flatpak-external-data-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Check for updates
on:
schedule: # for scheduling to work this file must be in the default branch
- cron: "0 * * * *" # run every hour
workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab

permissions:
contents: write
pull-requests: write

jobs:
flatpak-external-data-checker:
runs-on: ubuntu-latest

strategy:
matrix:
branch: [ main ] # list all branches to check

steps:
- uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
- name: Set variables
id: variables
run: |
echo "APP_NAME=$(basename $(git rev-parse --show-toplevel))" >> $GITHUB_OUTPUT
- uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest
env:
GIT_AUTHOR_NAME: Flatpak External Data Checker
GIT_COMMITTER_NAME: Flatpak External Data Checker
# email sets "github-actions[bot]" as commit author, see https://github.community/t/github-actions-bot-email-address/17204/6
GIT_AUTHOR_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
GITHUB_TOKEN: ${{ secrets.EXTERNAL_DATA_SECRET }}
with:
args: --update --never-fork ${{ steps.variables.outputs.APP_NAME }}.yml # e.g. com.organization.myapp.json
57 changes: 57 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
on:
push:
# Sequence of patterns matched against refs/tags
branches: main
workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab

name: Create Release

permissions:
contents: write

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: Get tags
run: git fetch --tags origin
- name: Set variables
id: variables
run: |
LAST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
MAJOR=$(echo "$LAST_TAG" | cut -d. -f1)
MINOR=$(echo "$LAST_TAG" | cut -d. -f2)
PATCH=$(echo "$LAST_TAG" | cut -d. -f3)
NEW_VERSION="$MAJOR.$MINOR.$((PATCH+1))"
echo "NEW_TAG=$NEW_VERSION" >> $GITHUB_OUTPUT
echo "APP_NAME=$(basename $(pwd))" >> $GITHUB_OUTPUT
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y \
flatpak \
flatpak-builder \
icoutils
- name: Build the flatpak bundle
run: |
chmod +x build.sh
./build.sh
flatpak build-bundle ~/.local/share/flatpak/repo ${{ steps.variables.outputs.APP_NAME }}.flatpak ${{ steps.variables.outputs.APP_NAME }}
sha256sum ${{ steps.variables.outputs.APP_NAME }}.flatpak > ${{ steps.variables.outputs.APP_NAME }}.flatpak.sha256sum
- name: Tag this branch with incremented release version
id: new-tag
run: |
git tag ${{ steps.variables.outputs.NEW_TAG }}
git push "https://$GITHUB_ACTOR:${{ secrets.ACCESS_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" --tags
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
${{ steps.variables.outputs.APP_NAME }}.flatpak
${{ steps.variables.outputs.APP_NAME }}.flatpak.sha256sum
tag_name: ${{ steps.variables.outputs.NEW_TAG }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.flatpak-builder
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "jagex-launcher-linux"]
path = jagex-launcher-linux
url = https://github.com/TormStorm/jagex-launcher-linux
Empty file added .lock
Empty file.
8 changes: 8 additions & 0 deletions JagexLauncher.flatpakrepo
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Flatpak Repo]
Title = JagexLauncher
Url = https://nmlynch94.github.io/com.jagexlauncher.JagexLauncher
Homepage = https://nmlynch94.github.io/com.jagexlauncher.JagexLauncher
Comment = Flatpak Repository for the Jagex Launcher
Description = Flatpak Repository for the Jagex Launcher
DefaultBranch = stable
GPGKey = mDMEZiniqhYJKwYBBAHaRw8BAQdAU5qtGsIgk/tiXBcSmQQZZR2DdgXhIjKjE2uQO5HHpKi0Jm5tbHluY2g5NCA8bm1seW5jaDk0K2dpdGh1YkBnbWFpbC5jb20+iJkEExYKAEEWIQT/sBrVkXeKGwMhwubDi7vGSOIqSwUCZiniqgIbAwUJBaOagAULCQgHAgIiAgYVCgkICwIEFgIDAQIeBwIXgAAKCRDDi7vGSOIqS8B3AQCKf3u7XXZNvU/97O60KWIoOkg9shzjkzAxV8MnqW7/1AEAmUExVw9HEPDwQHslRfMubnt3+1IuRLIDygzIlBC75w+4OARmKeKqEgorBgEEAZdVAQUBAQdARb6RHsWJKytoULq8VD9zZWQW5VMO+bVAqMWUj+JPr0YDAQgHiH4EGBYKACYWIQT/sBrVkXeKGwMhwubDi7vGSOIqSwUCZiniqgIbDAUJBaOagAAKCRDDi7vGSOIqSwECAQDv6IKIvlNTOZaOWt19sTQv1i9p4CK1z01NHa08DYgR3gD/Q261KM8kLOgQOhfiE/tyKdmXAsUFYPBBXqrkm0Mfqgg=
8 changes: 8 additions & 0 deletions config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[core]
repo_version=1
mode=archive-z2
indexed-deltas=true

[flatpak]
title=Jagex Launcher
default-branch=stable
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 1d4e5b0

Please sign in to comment.