Skip to content

Commit f38f0dd

Browse files
Merge pull request #3 from EverythingSuckz/feat/ui-refactor
feat: device info dashboard with parallel adb queries and lucide icons
2 parents 0e666f5 + 68fe494 commit f38f0dd

42 files changed

Lines changed: 2263 additions & 155 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.air.toml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
root = "."
2+
tmp_dir = "tmp"
3+
4+
[build]
5+
bin = "tmp/mirroid.exe"
6+
cmd = "go build -o tmp/mirroid.exe ."
7+
delay = 500
8+
exclude_dir = [
9+
"tmp",
10+
"vendor",
11+
"testdata",
12+
"_bundled",
13+
"AppDir",
14+
"deb-root",
15+
"packaging",
16+
".git",
17+
".idea",
18+
".vscode",
19+
".superpowers",
20+
]
21+
exclude_regex = ["_test\\.go$"]
22+
include_ext = ["go", "svg"]
23+
kill_delay = "200ms"
24+
log = "build-errors.log"
25+
send_interrupt = false
26+
stop_on_error = false
27+
28+
[log]
29+
main_only = false
30+
time = true
31+
32+
[misc]
33+
clean_on_exit = false
34+
35+
[screen]
36+
clear_on_rebuild = true
37+
keep_scroll = true

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,13 @@ jobs:
190190
cp _bundled/* Mirroid.app/Contents/MacOS/
191191
chmod +x Mirroid.app/Contents/MacOS/adb Mirroid.app/Contents/MacOS/scrcpy
192192
193+
- name: Ad-hoc codesign app bundle (macOS)
194+
if: matrix.target == 'darwin'
195+
run: |
196+
codesign --force --sign - Mirroid.app/Contents/MacOS/adb
197+
codesign --force --sign - Mirroid.app/Contents/MacOS/scrcpy
198+
codesign --force --sign - Mirroid.app
199+
193200
- name: Zip app bundle (macOS)
194201
if: matrix.target == 'darwin'
195202
run: zip -r mirroid-macos-arm64.zip Mirroid.app

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,11 @@ deb-root/
4646
*.dmg
4747
*-setup.exe
4848
linuxdeploy-*.AppImage
49+
50+
# cc
51+
.sup*
52+
*.md
53+
54+
# air (hot reload)
55+
tmp/
56+
build-errors.log

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ Download the latest release from [Releases](https://github.com/EverythingSuckz/M
4141
| **Linux** | [`.deb` (Debian/Ubuntu)](https://github.com/EverythingSuckz/Mirroid/releases/latest) or [`.AppImage`](https://github.com/EverythingSuckz/Mirroid/releases/latest) | [`.tar.xz`](https://github.com/EverythingSuckz/Mirroid/releases/latest) |
4242
| **macOS** | [`.dmg` (drag to Applications)](https://github.com/EverythingSuckz/Mirroid/releases/latest/download/mirroid-macos-arm64.dmg) | [`.zip`](https://github.com/EverythingSuckz/Mirroid/releases/latest/download/mirroid-macos-arm64.zip) |
4343

44+
### macOS: Gatekeeper bypass
45+
46+
Mirroid releases are ad-hoc signed (no Apple Developer ID yet), so the first launch will fail with **"Mirroid is damaged and can't be opened"** or a Gatekeeper block. To allow it:
47+
48+
```bash
49+
xattr -dr com.apple.quarantine /Applications/Mirroid.app
50+
```
51+
52+
Or right-click the app in Finder → **Open****Open** to override Gatekeeper for that launch. After this, future launches work normally.
53+
4454
## Building
4555

4656
#### Debug build:

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ require (
77
github.com/dweymouth/fyne-tooltip v0.4.0
88
github.com/grandcat/zeroconf v1.0.0
99
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
10+
github.com/srwiley/oksvg v0.0.0-20221011165216-be6e8873101c
11+
github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef
12+
golang.org/x/image v0.38.0
13+
golang.org/x/sync v0.20.0
14+
golang.org/x/sys v0.42.0
1015
)
1116

1217
require (
@@ -34,15 +39,10 @@ require (
3439
github.com/nicksnyder/go-i18n/v2 v2.6.1 // indirect
3540
github.com/pmezard/go-difflib v1.0.0 // indirect
3641
github.com/rymdport/portal v0.4.2 // indirect
37-
github.com/srwiley/oksvg v0.0.0-20221011165216-be6e8873101c // indirect
38-
github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef // indirect
3942
github.com/stretchr/testify v1.11.1 // indirect
4043
github.com/yuin/goldmark v1.7.17 // indirect
41-
golang.org/x/image v0.38.0 // indirect
4244
golang.org/x/mod v0.34.0 // indirect
4345
golang.org/x/net v0.52.0 // indirect
44-
golang.org/x/sync v0.20.0 // indirect
45-
golang.org/x/sys v0.42.0 // indirect
4646
golang.org/x/text v0.35.0 // indirect
4747
golang.org/x/tools v0.43.0 // indirect
4848
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)