diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b15c1a8..e28834c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,8 @@ on: jobs: build-and-publish: runs-on: ubuntu-latest + env: + APP_NAME: ${{ github.repository_owner }}_${{ github.event.repository.name }} steps: - name: Checkout code uses: actions/checkout@v2 @@ -37,7 +39,7 @@ jobs: - name: Copy run: | - cp app/build/outputs/bundle/release/app-release.aab ${{ github.event.repository.name }}.aab + cp app/build/outputs/bundle/release/app-release.aab ${{ env.APP_NAME }}.aab - name: Build APK run: | @@ -58,13 +60,13 @@ jobs: - name: Copy run: | - cp app/build/outputs/apk/release/app-release-unsigned-signed.apk ${{ github.event.repository.name }}.apk + cp app/build/outputs/apk/release/app-release-unsigned-signed.apk ${{ env.APP_NAME }}.apk - name: Create Release uses: softprops/action-gh-release@v1 with: files: | - ${{ github.event.repository.name }}.apk - ${{ github.event.repository.name }}.aab + ${{ env.APP_NAME }}.apk + ${{ env.APP_NAME }}.aab env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 565a541..e3b9cba 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ .externalNativeBuild .cxx local.properties +/app/build diff --git a/app/.gitignore b/app/.gitignore deleted file mode 100644 index 42afabf..0000000 --- a/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro deleted file mode 100644 index 481bb43..0000000 --- a/app/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 132bc6a..cad65e4 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -7,18 +7,16 @@ - + android:exported="true"> diff --git a/app/src/main/java/it/eja/launcher/MainActivity.kt b/app/src/main/java/it/eja/launcher/MainActivity.kt index 9115b56..4b2542f 100644 --- a/app/src/main/java/it/eja/launcher/MainActivity.kt +++ b/app/src/main/java/it/eja/launcher/MainActivity.kt @@ -433,4 +433,4 @@ class MainActivity : Activity() { return row * columnCount + column } } -} +} \ No newline at end of file diff --git a/app/src/main/res/drawable/banner.png b/app/src/main/res/drawable/banner.png new file mode 100644 index 0000000..8a9fd22 Binary files /dev/null and b/app/src/main/res/drawable/banner.png differ