Skip to content

Commit ee3eed9

Browse files
authored
Merge pull request #92 from wiiznokes/fixes
Fixes
2 parents 1f18206 + 53d73d2 commit ee3eed9

File tree

19 files changed

+754
-680
lines changed

19 files changed

+754
-680
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
with:
3434
fetch-depth: 0
3535

36+
- uses: taiki-e/install-action@just
37+
3638
- name: Install dependencies (Linux)
3739
if: matrix.platform == 'linux'
3840
run: |
@@ -57,7 +59,7 @@ jobs:
5759

5860
- name: Build
5961
working-directory: ./RustApp
60-
run: cargo build
62+
run: just build-debug
6163

6264
build-android-app:
6365
name: Build Android App

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
with:
3131
fetch-depth: 0
3232

33+
- uses: taiki-e/install-action@just
34+
3335
- name: Install dependencies (Linux)
3436
if: matrix.platform == 'linux'
3537
run: |
@@ -70,25 +72,25 @@ jobs:
7072
if: matrix.platform == 'linux'
7173
working-directory: ./RustApp
7274
run: |
73-
cargo build --release --target x86_64-unknown-linux-gnu
75+
just build-release --target x86_64-unknown-linux-gnu
7476
cargo packager -r -f appimage --target x86_64-unknown-linux-gnu
7577
7678
- name: Package (Windows)
7779
if: matrix.platform == 'windows'
7880
working-directory: ./RustApp
7981
run: |
80-
cargo build --release --target x86_64-pc-windows-msvc
82+
just build-release --target x86_64-pc-windows-msvc
8183
cargo packager -r -f nsis --target x86_64-pc-windows-msvc
82-
cargo build --release --target i686-pc-windows-msvc
84+
just build-release --target i686-pc-windows-msvc
8385
cargo packager -r -f nsis --target i686-pc-windows-msvc
8486
8587
- name: Package (macOS)
8688
if: matrix.platform == 'macos'
8789
working-directory: ./RustApp
8890
run: |
89-
cargo build --release --target x86_64-apple-darwin
91+
just build-release --target x86_64-apple-darwin
9092
cargo packager -r -f dmg --target x86_64-apple-darwin
91-
cargo build --release --target aarch64-apple-darwin
93+
just build-release --target aarch64-apple-darwin
9294
cargo packager -r -f dmg --target aarch64-apple-darwin
9395
9496
# For Linux

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<h3 align="center">Use your Android phone as a microphone for your PC</h3>
77

88
<!-- <a href="https://flathub.org/apps/io.github.teamclouday.AndroidMic"><img align=center height="40" src="https://flathub.org/assets/badges/flathub-badge-en.svg" alt="Download on Flathub"/></a> -->
9-
<a href="https://f-droid.org/en/packages/io.github.teamclouday.AndroidMic/"><img align=center height="60" src="https://f-droid.org/badge/get-it-on.svg" alt="F-Droid Badge"></a>
10-
<a href="https://github.com/teamclouday/AndroidMic/releases/latest"><img align=center height="30" src="https://img.shields.io/github/release/teamclouday/AndroidMic.svg" alt="Download on Github release"/></a>
9+
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/teamclouday/AndroidMic.svg?logo=github&label=GitHub&cacheSeconds=3600)](https://github.com/teamclouday/AndroidMic/releases/latest)
10+
[![F-Droid](https://img.shields.io/f-droid/v/io.github.teamclouday.AndroidMic?logo=f-droid&label=F-Droid&cacheSeconds=3600)](https://f-droid.org/packages/io.github.teamclouday.AndroidMic)
1111

1212
---
1313

RustApp/.cargo/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[env]
22
RUST_LOG = "warn,android_mic=info"
3+
ANDROID_MIC_COMMIT = "undefined"
34
# ANDROID_MIC_FORMAT = "flatpak"
45
# RUST_LOG = "info"
56
#RUST_BACKTRACE = "1"

0 commit comments

Comments
 (0)