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

Merge hex_editor from https://github.com/dunaevai135/flipper-zero-hex_editor

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

+ 22 - 14
hex_editor/.github/workflows/build_dev.yml

@@ -1,19 +1,27 @@
-name: Build main
-
-on:
-  push:
-    branches:
-      - main
-
+name: "FAP: Build and lint"
+on: [push, pull_request]
 jobs:
-  build_dev:
+  ufbt-build-action:
     runs-on: ubuntu-latest
-
+    name: 'ufbt: Build for Dev branch'
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
-
-      - name: Build
-        uses: oleksiikutuzov/flipperzero-ufbt-action@v1
+        uses: actions/checkout@v4
+      - name: Build with ufbt
+        uses: flipperdevices/flipperzero-ufbt-action@v0.1
+        id: build-app
         with:
-          channel: dev
+          # Set to 'release' to build for latest published release version
+          sdk-channel: dev
+      - 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 }}
+      # You can remove this step if you don't want to check source code formatting
+      - name: Lint sources
+        uses: flipperdevices/flipperzero-ufbt-action@v0.1
+        with:
+          # skip SDK setup, we already did it in previous step
+          skip-setup: true
+          task: lint

+ 0 - 1
hex_editor/README.md

@@ -7,5 +7,4 @@ Read any file line by line, and by Ok allow change char. Useful for NFC file "Ed
 # NB
 * interface under construction
 * not tested on UTF-8
-* not inspected on memory leaks
 

+ 1 - 3
hex_editor/application.fam

@@ -3,18 +3,16 @@ App(
     name="HEX Editor",
     apptype=FlipperAppType.EXTERNAL,
     entry_point="hex_editor_app",
-    cdefines=["APP_HEX_EDITOR"],
     requires=[
         "gui",
         "dialogs",
     ],
     stack_size=2 * 1024,
-    order=20,
     fap_icon="icons/edit_10px.png",
     fap_category="Tools",
     fap_icon_assets="icons",
     fap_author="@dunaevai135",
     fap_weburl="https://github.com/dunaevai135/flipper-zero-hex_editor",
-    fap_version="1.2",
+    fap_version="1.3",
     fap_description="Read text files line by line and edit them without a computer or smartphone.",
 )

BIN
hex_editor/img/2.png


BIN
hex_editor/img/3.png


BIN
hex_editor/img/4.png