Просмотр исходного кода

Merge chess from https://github.com/xMasterX/all-the-plugins

Willy-JL 2 лет назад
Родитель
Сommit
f541d1bd1d

+ 3 - 5
chess/.github/workflows/build.yml

@@ -20,13 +20,11 @@ jobs:
           repository: 'flipperdevices/flipperzero-firmware'
           repository: 'flipperdevices/flipperzero-firmware'
           ref: ${{ env.firmware_version }}
           ref: ${{ env.firmware_version }}
           submodules: true
           submodules: true
-      - name: Checkout flipper-chess
+      - name: Checkout flip-chess
         uses: actions/checkout@v3
         uses: actions/checkout@v3
         with:
         with:
           path: 'applications_user/flipper-chess'
           path: 'applications_user/flipper-chess'
       - name: Build FAPs
       - name: Build FAPs
         run: ./fbt COMPACT=1 DEBUG=0 faps
         run: ./fbt COMPACT=1 DEBUG=0 faps
-      - name: Check flipper-chess Built
-        run: test -f build/f7-firmware-C/.extapps/chess.fap
-      - name: Check flipper-chess Size
-        run: ls -l --block-size=K build/f7-firmware-C/.extapps/chess.fap
+      - name: Check flip-chess Built
+        run: test -f build/f7-firmware-C/.extapps/flipchess.fap

+ 2 - 2
chess/.github/workflows/release.yml

@@ -26,7 +26,7 @@ jobs:
       - name: Build FAPs
       - name: Build FAPs
         run: ./fbt COMPACT=1 DEBUG=0 faps
         run: ./fbt COMPACT=1 DEBUG=0 faps
       - name: Check flipper-chess Built
       - name: Check flipper-chess Built
-        run: test -f build/f7-firmware-C/.extapps/chess.fap
+        run: test -f build/f7-firmware-C/.extapps/flipchess.fap
       - name: Get Tag
       - name: Get Tag
         id: tag
         id: tag
         uses: dawidd6/action-get-tag@v1
         uses: dawidd6/action-get-tag@v1
@@ -36,7 +36,7 @@ jobs:
         uses: softprops/action-gh-release@v1
         uses: softprops/action-gh-release@v1
         with:
         with:
           files: |
           files: |
-            build/f7-firmware-C/.extapps/chess.fap
+            build/f7-firmware-C/.extapps/flipchess.fap
             applications_user/flipper-chess/README.md
             applications_user/flipper-chess/README.md
           name: ${{steps.tag.outputs.tag}}
           name: ${{steps.tag.outputs.tag}}
           body: Built against Flipper Zero firmware v${{ env.firmware_version }}
           body: Built against Flipper Zero firmware v${{ env.firmware_version }}

+ 0 - 35
chess/.github/workflows/ufbt_build.yaml

@@ -1,35 +0,0 @@
-name: "FAP: Build for multiple SDK sources"
-on:
-  push:
-    branches: 
-      - main
-      - develop
-  pull_request:
-  # schedule: 
-    # do a build every day
-    # - cron: "1 1 * * *"
-jobs:
-  ufbt-build-action:
-    runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        include:
-          - name: dev channel
-            sdk-channel: dev
-          - name: release channel
-            sdk-channel: release
-    name: 'ufbt: Build for ${{ matrix.name }}'
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v3
-      - name: Build with ufbt
-        uses: flipperdevices/flipperzero-ufbt-action@v0.1.2
-        id: build-app
-        with:
-          sdk-channel: ${{ matrix.sdk-channel }}
-          sdk-index-url: ${{ matrix.sdk-index-url }}
-      - name: Upload app artifacts
-        uses: actions/upload-artifact@v3
-        with:
-          name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
-          path: ${{ steps.build-app.outputs.fap-artifacts }}

+ 0 - 7
chess/README.md

@@ -1,15 +1,8 @@
 # flipper-chess
 # flipper-chess
 
 
-[![Build](https://github.com/xtruan/flipper-chess/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/xtruan/flipper-chess/actions/workflows/build.yml)
-
-`HOW ABOUT A NICE GAME OF CHESS?`
-
-![FLIPR](https://github.com/xtruan/flipper-chess/blob/main/icons/FLIPR_128x64.png)
-
 ## Chess game for Flipper Zero
 ## Chess game for Flipper Zero
 - Built against `0.86.1` Flipper Zero firmware release
 - Built against `0.86.1` Flipper Zero firmware release
 - Uses [smallchesslib](https://codeberg.org/drummyfish/smallchesslib)
 - Uses [smallchesslib](https://codeberg.org/drummyfish/smallchesslib)
-- Included in [RogueMaster Custom Firmware](https://github.com/RogueMaster/flipperzero-firmware-wPlugins)
 
 
 ### Installation
 ### Installation
 
 

BIN
chess/catalog/browser.png


BIN
chess/catalog/game1.png


BIN
chess/catalog/game2.png


BIN
chess/catalog/game3.png


BIN
chess/catalog/game4.png


BIN
chess/catalog/game5.png


+ 0 - 16
chess/catalog/manifest.yml

@@ -1,16 +0,0 @@
-sourcecode:
-  type: git
-  location:
-    origin: https://github.com/xtruan/flipper-chess.git
-    commit_sha: c340eb5ec6a68f9e1213d725002d25812bbe989b
-description: "How about a nice game of chess?"
-changelog: "v1.9.0 - Gameplay enhancements and bug fixes"
-author: "@xtruan"
-screenshots:
-  - "./catalog/startscreen.png"
-  - "./catalog/menu.png"
-  - "./catalog/game2.png"
-  - "./catalog/game3.png"
-  - "./catalog/game4.png"
-  - "./catalog/game5.png"
-  - "./catalog/settings.png"

BIN
chess/catalog/menu.png


BIN
chess/catalog/settings.png


BIN
chess/catalog/startscreen.png