Skip to content

Commit fb31f81

Browse files
committed
feat(app): one-shot create, format, and mount pipeline
Add preset size chips, FAT32/exFAT format selector, and root-based image creation to CreateImageDialog. Images are created via truncate and formatted with bundled mkfs.fat, then auto-mounted on creation. Include daemon Rust source (previously external), bundled mkfs.fat binaries for all ABIs, format preference in settings, filesystem type detection via blkid, and expanded device cards showing size and format info. Refs: stateful-wobbling-seahorse plan
1 parent 9e3768a commit fb31f81

28 files changed

Lines changed: 4253 additions & 149 deletions

File tree

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,27 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v4
3333

34+
- name: Bump patch version
35+
if: github.event_name == 'push'
36+
run: |
37+
prop="module/module.prop"
38+
ver=$(grep '^version=' "$prop" | cut -d= -f2)
39+
code=$(grep '^versionCode=' "$prop" | cut -d= -f2)
40+
new_code=$((code + 1))
41+
42+
# Bump patch: v3.1 -> v3.2, v3.1.2 -> v3.1.3
43+
base="${ver%.*}"
44+
patch="${ver##*.}"
45+
if echo "$patch" | grep -qE '^[0-9]+$'; then
46+
new_ver="${base}.$((patch + 1))"
47+
else
48+
new_ver="${ver}.1"
49+
fi
50+
51+
sed -i "s/^version=.*/version=${new_ver}/" "$prop"
52+
sed -i "s/^versionCode=.*/versionCode=${new_code}/" "$prop"
53+
echo "Bumped: $ver ($code) -> $new_ver ($new_code)"
54+
3455
- uses: actions/setup-java@v4
3556
with:
3657
distribution: temurin

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ out/
1919
.env
2020
*.pem
2121
*.key
22+
/target/

0 commit comments

Comments
 (0)