Skip to content

Commit 28c73fa

Browse files
authored
Merge pull request #2 from ananthb/update-repo-refs-and-fix-picker
Update repo refs to linuskendall, bump v0.2.0, fix picker bug
2 parents f462836 + 9b790d0 commit 28c73fa

19 files changed

Lines changed: 77 additions & 46 deletions

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: DeterminateSystems/nix-installer-action@main
15+
- uses: DeterminateSystems/magic-nix-cache-action@main
16+
17+
- name: Build
18+
run: nix build
19+
20+
- name: Test
21+
run: nix develop --command go test ./...
22+
23+
check-versions:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- name: Check version consistency
29+
run: |
30+
flake_ver=$(grep -oP 'version = "\K[^"]+' flake.nix)
31+
fyne_ver=$(grep -oP 'Version = "\K[^"]+' FyneApp.toml)
32+
plist_ver=$(grep -oP '<string>\K[0-9]+\.[0-9]+\.[0-9]+' dist/Info.plist | head -1)
33+
34+
echo "flake.nix: $flake_ver"
35+
echo "FyneApp.toml: $fyne_ver"
36+
echo "Info.plist: $plist_ver"
37+
38+
if [ "$flake_ver" != "$fyne_ver" ] || [ "$flake_ver" != "$plist_ver" ]; then
39+
echo "::error::Version mismatch! All three files must have the same version."
40+
exit 1
41+
fi
42+
43+
echo "All versions match: $flake_ver"

FyneApp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
Icon = "internal/daemon/assets/icon_active.png"
33
Name = "codespace-zed"
44
ID = "dev.codespace-zed.applet"
5-
Version = "0.7.0"
5+
Version = "0.2.0"
66
Build = 1

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66

77
CLI and menu bar applet for GitHub Codespaces + [Zed](https://zed.dev).
88

9-
**[Documentation](https://ananthb.github.io/zed-spaces-launcher/)** ·
10-
**[Configuration](https://ananthb.github.io/zed-spaces-launcher/config/)** ·
11-
**[API Reference](https://ananthb.github.io/zed-spaces-launcher/api/)**
9+
**[Documentation](https://linuskendall.github.io/zed-spaces-launcher/)** ·
10+
**[Configuration](https://linuskendall.github.io/zed-spaces-launcher/config/)** ·
11+
**[API Reference](https://linuskendall.github.io/zed-spaces-launcher/api/)**
1212

1313
## Install
1414

1515
### macOS
1616

17-
Download the `.dmg` from [Releases](https://github.com/ananthb/zed-spaces-launcher/releases), open it, and drag to Applications.
17+
Download the `.dmg` from [Releases](https://github.com/linuskendall/zed-spaces-launcher/releases), open it, and drag to Applications.
1818

1919
### Linux
2020

21-
Download the `.AppImage` from [Releases](https://github.com/ananthb/zed-spaces-launcher/releases):
21+
Download the `.AppImage` from [Releases](https://github.com/linuskendall/zed-spaces-launcher/releases):
2222

2323
```bash
2424
chmod +x codespace-zed-*.AppImage
@@ -29,11 +29,11 @@ chmod +x codespace-zed-*.AppImage
2929

3030
```nix
3131
{
32-
inputs.codespace-zed.url = "github:ananthb/zed-spaces-launcher";
32+
inputs.codespace-zed.url = "github:linuskendall/zed-spaces-launcher";
3333
}
3434
```
3535

36-
Or with [Home Manager](https://ananthb.github.io/zed-spaces-launcher/install/#home-manager) for declarative config + auto-start.
36+
Or with [Home Manager](https://linuskendall.github.io/zed-spaces-launcher/install/#home-manager) for declarative config + auto-start.
3737

3838
## Quick start
3939

dist/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundleVersion</key>
1616
<string>1</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.7.0</string>
18+
<string>0.2.0</string>
1919
<key>CFBundleIconFile</key>
2020
<string>icon</string>
2121
<key>NSHighResolutionCapable</key>

dist/codespace-zed.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Unit]
22
Description=codespace-zed menu bar applet
3-
Documentation=https://github.com/ananthb/zed-spaces-launcher
3+
Documentation=https://github.com/linuskendall/zed-spaces-launcher
44
After=graphical-session.target
55
PartOf=graphical-session.target
66

docs/api/codespace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# codespace
44

5-
Run `gomarkdoc ./internal/codespace/` to generate, or see the [CI workflow](https://github.com/ananthb/zed-spaces-launcher/actions/workflows/docs.yml).
5+
Run `gomarkdoc ./internal/codespace/` to generate, or see the [CI workflow](https://github.com/linuskendall/zed-spaces-launcher/actions/workflows/docs.yml).

docs/api/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# config
44

5-
Run `gomarkdoc ./internal/config/` to generate, or see the [CI workflow](https://github.com/ananthb/zed-spaces-launcher/actions/workflows/docs.yml).
5+
Run `gomarkdoc ./internal/config/` to generate, or see the [CI workflow](https://github.com/linuskendall/zed-spaces-launcher/actions/workflows/docs.yml).

docs/api/daemon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# daemon
44

5-
Run `gomarkdoc ./internal/daemon/` to generate, or see the [CI workflow](https://github.com/ananthb/zed-spaces-launcher/actions/workflows/docs.yml).
5+
Run `gomarkdoc ./internal/daemon/` to generate, or see the [CI workflow](https://github.com/linuskendall/zed-spaces-launcher/actions/workflows/docs.yml).

docs/api/history.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# history
44

5-
Run `gomarkdoc ./internal/history/` to generate, or see the [CI workflow](https://github.com/ananthb/zed-spaces-launcher/actions/workflows/docs.yml).
5+
Run `gomarkdoc ./internal/history/` to generate, or see the [CI workflow](https://github.com/linuskendall/zed-spaces-launcher/actions/workflows/docs.yml).

docs/api/slug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# slug
44

5-
Run `gomarkdoc ./internal/slug/` to generate, or see the [CI workflow](https://github.com/ananthb/zed-spaces-launcher/actions/workflows/docs.yml).
5+
Run `gomarkdoc ./internal/slug/` to generate, or see the [CI workflow](https://github.com/linuskendall/zed-spaces-launcher/actions/workflows/docs.yml).

0 commit comments

Comments
 (0)