Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
DHD2280 committed Apr 21, 2024
0 parents commit 18f276d
Show file tree
Hide file tree
Showing 1,323 changed files with 77,704 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text eol=lf

# Declare files that will always have CRLF line endings on checkout.
*.bat text eol=crlf

*.jar binary
*.png binary
*.apk binary
*.otf binary
*.so binary
*.lottie binary
*.jpg binary
*.ttf binary
74 changes: 74 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Bug Report
description: Create a report to help us address issues you are facing with the app.
title: "[BUG] Your title here"
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to file this issue! Here are a few things to check before clicking the submit button :)
1. Make sure you're on the latest version of the app. The current release can be found here: https://github.com/DHD2280/Oxygen-Customizer/releases/latest
2. The bug might already be fixed in the [development versions](https://github.com/DHD2280/Oxygen-Customizer/actions). You can try testing and see if the bug still exists.
3. Search through **both** [open and closed issues](https://github.com/DHD2280/Oxygen-Customizer/issues?q=is%3Aissue+sort%3Aupdated-desc+) for your bug.
4. **ALWAYS** fill this template. If you fail to do so, your issue will be immediately closed with no response. Maintaining open source projects for free is hard work, and we expect users to respect that time and effort by putting in a little bit of their own. That helps us fix these problems faster and in return you get a better app — everybody wins.
Note: If this issue is inactive for 90 days, it'll be marked as stale.
- type: textarea
id: bug-description
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true

- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce
description: Steps to reproduce the bug
value: |
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true

- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
validations:
required: false

- type: textarea
id: device-info
attributes:
label: Device information
description: Provide details about your device, OS, app version, etc.
value: |
- Device: [e.g. OnePlus 11]
- OS: [e.g. Oxygen OS 14 with update 14.0.0.601]
- App version: [e.g. v1.0.0]
validations:
required: true

- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the problem here.
placeholder: If this is a crash report, you can paste or link the crash message in here. Include LSPosed logs if you are using xposed mods.
validations:
required: false
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Feature Request
description: Suggest features you want the developers (or contributors) to make for the app.
title: "[FEATURE] Your title here"
labels: [feature, enhancement]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to file this issue! Here are a few things to check before clicking the submit button :)
1. Make sure you're on the latest version of the app. The current release can be found here: https://github.com/DHD2280/Oxygen-Customizer/releases/latest
2. The feature might already be in the [development versions](https://github.com/DHD2280/Oxygen-Customizer/actions). You can try testing and see if the feature already exists.
3. Search through **both** [open and closed issues](https://github.com/DHD2280/Oxygen-Customizer/issues?q=is%3Aissue+sort%3Aupdated-desc+) for your feature requests.
4. **ALWAYS** fill this template. If you fail to do so, your issue will be immediately closed with no response. Maintaining open source projects for free is hard work, and we expect users to respect that time and effort by putting in a little bit of their own. That helps us implement your feature faster and in return you get a better app — everybody wins.
Please keep in mind that we may not always implement this feature request. Alongside that, if this issue is inactive for 90 days, it'll be marked as stale.
- type: textarea
id: feature-description
attributes:
label: Describe the feature
description: A clear and concise description of what the feature is.
validations:
required: true

- type: textarea
id: feature-usefulness
attributes:
label: Why would it be useful to add?
description: Explain why this feature would be useful to you.
validations:
required: true

- type: textarea
id: feature-examples
attributes:
label: Example(s)
description: Post screenshots/drawings/links/etc of the feature request, or proof-of-concept images about the feature.
validations:
required: true

- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the feature here.
validations:
required: false
Binary file added .github/resources/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions .github/workflows/build_debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Build Debug APK

on:
push:
branches: [ "beta" ]
workflow_dispatch:

jobs:

build:
name: Build Debug APK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 18
uses: actions/setup-java@v4
with:
java-version: '18'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Get application version name
run: echo "VERSION_NAME=$(${{github.workspace}}/gradlew -q printVersionName)" >> $GITHUB_ENV

- name: Bump application version code
uses: chkfung/[email protected]
with:
gradlePath: app/build.gradle.kts
versionCode: ${{github.run_number}}
versionName: "${{ env.VERSION_NAME }} Dev (#${{github.run_number}})"

- name: Write sign info
if: github.repository == 'DHD2280/Oxygen-Customizer'
run: |
if [ ! -z "${{ secrets.KEYSTORE }}" ]; then
echo storePassword='${{ secrets.KEYSTORE_PASSWORD }}' >> keystore.properties
echo keyAlias='${{ secrets.KEY_ALIAS }}' >> keystore.properties
echo keyPassword='${{ secrets.KEY_PASSWORD }}' >> keystore.properties
echo storeFile='${{ github.workspace }}/key.jks' >> keystore.properties
echo ${{ secrets.KEYSTORE }} | base64 --decode > ${{ github.workspace }}/key.jks
fi
- name: Build with Gradle
run: ./gradlew assembleDebug

- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: "Oxygen Customizer v${{ env.VERSION_NAME }} Dev (#${{github.run_number}})"
path: app/build/outputs/apk/debug/*.apk
if-no-files-found: error
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
/keystore
/keystore.properties
Loading

0 comments on commit 18f276d

Please sign in to comment.