Skip to content

Commit

Permalink
Merge remote-tracking branch 'lawnicons/develop' into shinka
Browse files Browse the repository at this point in the history
  • Loading branch information
project404bot committed Sep 22, 2024
2 parents 0ea79ea + d26520e commit 5b13fdf
Show file tree
Hide file tree
Showing 33 changed files with 201 additions and 6,665 deletions.
4 changes: 0 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE/icon_addition.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,3 @@ App Name (`com.package.app` → `drawable.svg`)
<!-- When replacing old icons with new ones. -->
App Name (`com.package.app`)
App Name (`com.package.app`)

## Contributor's checklist
- [ ] I followed [the Lawnicons guidelines](https://github.com/LawnchairLauncher/lawnicons/blob/develop/CONTRIBUTING.md) and will make changes if someone suggests. I will also make sure that Lawnicons builds correctly.
<!-- If you think that everything is correct, then replace [ ] with [x] or click on the checkbox after creating the pull request. -->
4 changes: 3 additions & 1 deletion .github/icon_checklist.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Thanks for your contribution!

While waiting for a review from our team, you can do a self-review to ensure that your icons are suitable for Lawnicons. We try to do the review within 7 days.
We hope that you followed [the Lawnicons guidelines](https://github.com/LawnchairLauncher/lawnicons/blob/develop/CONTRIBUTING.md) and made sure that Lawnicons is built correctly.

While waiting for a brief review from our team, you can do a self-review to ensure that your icons are suitable for Lawnicons.

### Canvas and sizes
1. Canvas: `192×192px`.
Expand Down
17 changes: 17 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
changelog:
categories:
- title: 📱 New Icons & Links
labels:
- icons
- title: 🧹 Code
labels:
- code
exclude:
labels:
- dependencies
- title: 🧑‍💻 Dependencies
labels:
- dependencies
- title: 💬 Localization
labels:
- locale
44 changes: 44 additions & 0 deletions .github/workflows/build_debug_apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,27 @@ on:
push:
branches:
- develop
paths-ignore:
- '**.md'
- 'LICENSE'
- '.idea/**'
- 'docs/**'
- '.github/ISSUE_TEMPLATE/**'
- '.gitignore'
- '.gitattributes'
- '.github/labeler.yml'
- '.github/release.yml'
pull_request:
paths-ignore:
- '**.md'
- 'LICENSE'
- '.idea/**'
- 'docs/**'
- '.github/ISSUE_TEMPLATE/**'
- '.gitignore'
- '.gitattributes'
- '.github/labeler.yml'
- '.github/release.yml'

jobs:
build-debug-apk:
Expand Down Expand Up @@ -85,3 +105,27 @@ jobs:
ARTIFACT_DIRECTORY: artifacts/debug-apk
GITHUB_REF: ${{ github.ref }}
DISCORD_CI_BOT_TOKEN: ${{ secrets.DISCORD_CI_BOT_TOKEN}}

nightly-release:
runs-on: ubuntu-latest
if: github.repository_owner == 'LawnchairLauncher' && github.event_name == 'push'
needs: build-debug-apk
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: Debug APK
path: artifacts/debug-apk
- name: Export APK_NAME for later use
run: echo "APK_NAME=Lawnicons.Debug.${{ github.ref_name }}.Nightly-CI_${{ github.run_number }}-$(echo ${{ github.sha }} | cut -c1-7).apk" >> $GITHUB_ENV
- name: Rename .apk file
run: |
mv artifacts/debug-apk/*.apk $APK_NAME
- name: Delete release if exist then create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release view "nightly" && gh release delete "nightly" -y --cleanup-tag
gh release create "nightly" "$APK_NAME" -p -t "Lawnicons Nightly" --generate-notes
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Please check [the icon tool guide](/docs/icontool_guide.md) for more information
**For Windows**:

```console
adb shell dumpsys window | find "mCurrentFocus"
adb shell dumpsys window | findstr "mCurrentFocus"
```
![](docs/images/contributing-image-3.png)

Expand Down
56 changes: 40 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,54 @@
# Lawnicons

[![Build debug APK](https://github.com/LawnchairLauncher/lawnicons/actions/workflows/build_debug_apk.yml/badge.svg)](https://github.com/LawnchairLauncher/lawnicons/actions/workflows/build_debug_apk.yml)
[![Build release APK](https://github.com/LawnchairLauncher/lawnicons/actions/workflows/build_release_apk.yml/badge.svg)](https://github.com/LawnchairLauncher/lawnicons/actions/workflows/build_release_apk.yml)
[![Discord](https://img.shields.io/discord/803299970169700402?label=server&logo=discord)](https://discord.gg/lawnchair-803299970169700402)
[![License is Apache 2](https://img.shields.io/github/license/LawnchairLauncher/lawnicons)](LICENSE)
<div align="left">
<a href="https://github.com/LawnchairLauncher/lawnicons/blob/develop/LICENSE">
<img alt="GitHub License" src="https://img.shields.io/github/license/LawnchairLauncher/Lawnicons?logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz48c3ZnIHdpZHRoPSc4MDBweCcgaGVpZ2h0PSc4MDBweCcgdmlld0JveD0nMCAwIDI0IDI0JyBmaWxsPSdub25lJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxwYXRoIGQ9J00xOSAzSDlWM0M3LjExNDM4IDMgNi4xNzE1NyAzIDUuNTg1NzkgMy41ODU3OUM1IDQuMTcxNTcgNSA1LjExNDM4IDUgN1YxMC41VjE3JyBzdHJva2U9JyNGRkZGRkYnIHN0cm9rZS13aWR0aD0nMicgc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJy8+PHBhdGggZD0nTTE0IDE3VjE5QzE0IDIwLjEwNDYgMTQuODk1NCAyMSAxNiAyMVYyMUMxNy4xMDQ2IDIxIDE4IDIwLjEwNDYgMTggMTlWOVY0LjVDMTggMy42NzE1NyAxOC42NzE2IDMgMTkuNSAzVjNDMjAuMzI4NCAzIDIxIDMuNjcxNTcgMjEgNC41VjQuNUMyMSA1LjMyODQzIDIwLjMyODQgNiAxOS41IDZIMTguNScgc3Ryb2tlPScjRkZGRkZGJyBzdHJva2Utd2lkdGg9JzInIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPjxwYXRoIGQ9J00xNiAyMUg1QzMuODk1NDMgMjEgMyAyMC4xMDQ2IDMgMTlWMTlDMyAxNy44OTU0IDMuODk1NDMgMTcgNSAxN0gxNCcgc3Ryb2tlPScjRkZGRkZGJyBzdHJva2Utd2lkdGg9JzInIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPjxwYXRoIGQ9J005IDdIMTQnIHN0cm9rZT0nI0ZGRkZGRicgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnLz48cGF0aCBkPSdNOSAxMUgxNCcgc3Ryb2tlPScjRkZGRkZGJyBzdHJva2Utd2lkdGg9JzInIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPjwvc3ZnPg==">
</a>
<a href="https://github.com/LawnchairLauncher/lawnicons/actions/workflows/build_debug_apk.yml">
<img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/LawnchairLauncher/lawnicons/build_debug_apk.yml?branch=develop&label=Build%20Debug%20APK&logo=github">
</a>
<a href="https://github.com/LawnchairLauncher/lawnicons/actions/workflows/build_release_apk.yml">
<img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/LawnchairLauncher/lawnicons/build_release_apk.yml?label=Build%20Release%20APK&logo=github">
</a>
<a h ref="https://discord.gg/3x8qNWxgGZ">
<img alt="Discord" src="https://img.shields.io/discord/803299970169700402?logo=discord&logoColor=white&label=Discord&color=5165f6">
</a>

**Lawnicons** is an icon pack developed by the Lawnchair team and supported by our community.
Originally an addon for Lawnchair 12 Alpha 5 and above to implement themed icons, it can now be used on many launchers.
</div>

Lawnicons is best used [on Lawnchair 12.1 or Lawnchair 14 Beta 2](https://github.com/LawnchairLauncher/lawnchair/releases). You can enable themed icons on Lawnchair by going to `Home Settings → General → Icon Style → Themed Icons → "Home screen" or "Home screen and App Drawer"`.
<br/>

Lawnicons is an icon pack developed by the Lawnchair team and supported by our community. Originally an addon for Lawnchair 12 Alpha 5 and above to implement themed icons, it can now be used on many launchers.

Lawnicons is best used [on the latest version of Lawnchair](https://github.com/LawnchairLauncher/lawnchair/releases). You can enable themed icons on Lawnchair by going to `Home Settings → General → Icon Style` and choosing the desired option.

## Download
See [the Releases section](https://github.com/LawnchairLauncher/lawnicons/releases) for the latest stable build. For development builds with new icons, go to [nightly.link](https://nightly.link/LawnchairLauncher/lawnicons/workflows/build_debug_apk/develop/Debug%20APK).

<p align="left">
<a href="https://play.google.com/store/apps/details?id=app.lawnchair.lawnicons.play">
<img src="https://github.com/LawnchairLauncher/lawnicons/blob/develop/docs/images/badge-google-play.png?raw=true" alt="Get it on Google Play" height="60" />
</a>
<a href="https://apt.izzysoft.de/fdroid/index/apk/app.lawnchair.lawnicons">
<img src="https://github.com/LawnchairLauncher/lawnicons/blob/develop/docs/images/badge-izzyondroid.png?raw=true" alt="Get it on IzzyOnDroid" height="60" />
</a>
<a href="https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://github.com/LawnchairLauncher/lawnicons/">
<img src="https://github.com/LawnchairLauncher/lawnicons/blob/develop/docs/images/badge-obtainium.png?raw=true" alt="Get it on Obtainium" height="60" />
</a>
<a href="https://github.com/LawnchairLauncher/lawnicons/releases/latest">
<img src="https://github.com/LawnchairLauncher/lawnicons/blob/develop/docs/images/badge-github.png?raw=true" alt="Get it on GitHub" height="60" />
</a>
</p>

Due to different package names, Lawnicons on the Play Store will install as a different app from other sources.

**Development builds:** [nightly.link](https://nightly.link/LawnchairLauncher/lawnicons/workflows/build_debug_apk/develop/Debug%20APK) • [Obtainium](https://apps.obtainium.imranr.dev/redirect?r=obtainium://app/%7B%22id%22%3A%22app.lawnchair.lawnicons%22%2C%22url%22%3A%22https%3A%2F%2Fgithub.com%2FLawnchairLauncher%2Flawnicons%22%2C%22author%22%3A%22LawnchairLauncher%22%2C%22name%22%3A%22Lawnicons%22%2C%22preferredApkIndex%22%3A0%2C%22additionalSettings%22%3A%22%7B%5C%22includePrereleases%5C%22%3Atrue%2C%5C%22fallbackToOlderReleases%5C%22%3Atrue%2C%5C%22filterReleaseTitlesByRegEx%5C%22%3A%5C%22Lawnicons%20Nightly%5C%22%2C%5C%22filterReleaseNotesByRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22verifyLatestTag%5C%22%3Afalse%2C%5C%22dontSortReleasesList%5C%22%3Afalse%2C%5C%22useLatestAssetDateAsReleaseDate%5C%22%3Afalse%2C%5C%22trackOnly%5C%22%3Afalse%2C%5C%22versionExtractionRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22matchGroupToUse%5C%22%3A%5C%22%5C%22%2C%5C%22versionDetection%5C%22%3Afalse%2C%5C%22releaseDateAsVersion%5C%22%3Atrue%2C%5C%22useVersionCodeAsOSVersion%5C%22%3Afalse%2C%5C%22apkFilterRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22invertAPKFilter%5C%22%3Afalse%2C%5C%22autoApkFilterByArch%5C%22%3Atrue%2C%5C%22appName%5C%22%3A%5C%22Lawnicons%20Nightly%5C%22%2C%5C%22shizukuPretendToBeGooglePlay%5C%22%3Afalse%2C%5C%22allowInsecure%5C%22%3Afalse%2C%5C%22exemptFromBackgroundUpdates%5C%22%3Afalse%2C%5C%22skipUpdateNotifications%5C%22%3Afalse%2C%5C%22about%5C%22%3A%5C%22%5C%22%7D%22%2C%22overrideSource%22%3Anull%7D) • [GitHub](https://github.com/LawnchairLauncher/lawnicons/releases/tag/nightly)

## Contributing
Please see [the Lawnicons guidelines](CONTRIBUTING.md) for information on contributing icons or code, it will save you time.

Android developers can find tasks [in our issues](https://github.com/LawnchairLauncher/lawnicons/issues).
Anyone who is interested in making icons can fulfill [the popular icon requests](https://docs.google.com/spreadsheets/d/1AXc9EDXA6udZeGROtB5nuABjM33VluGY_V24tIzHaKc/edit?resourcekey#gid=651079103).

Need help? [Join us on Discord](https://discord.gg/3x8qNWxgGZ).
**Contribute:** [Popular icon requests](https://docs.google.com/spreadsheets/d/1AXc9EDXA6udZeGROtB5nuABjM33VluGY_V24tIzHaKc/edit?resourcekey#gid=651079103)[Development tasks](https://github.com/LawnchairLauncher/lawnicons/issues)

## Requesting icons
Please use **Lawnicons 2.10+**: `Open Lawnicons → Tap "Request icons" → Submit the response`.
`Open Lawnicons 2.10+ → Tap "Request icons" → Submit the response`

You can also use [the icon request form](https://forms.gle/xt7sJhgWEasuo9TR9). If a previously added icon has a design change, create [an issue](https://github.com/LawnchairLauncher/lawnicons/issues/new?assignees=&labels=icon+update&projects=&template=icon_rebrand.yml).



Loading

0 comments on commit 5b13fdf

Please sign in to comment.