Skip to content

Commit f2d2f69

Browse files
committed
Standardize naming to br-equipment-control-app across all platforms
1 parent be91a85 commit f2d2f69

File tree

6 files changed

+57
-57
lines changed

6 files changed

+57
-57
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
- name: Create zip archive
3131
run: |
3232
cd dist
33-
Compress-Archive -Path "BR-Equipment-Control" -DestinationPath "BR-Equipment-Control-Windows.zip"
33+
Compress-Archive -Path "br-equipment-control-app" -DestinationPath "br-equipment-control-app-windows.zip"
3434
3535
- name: Upload artifact
3636
uses: actions/upload-artifact@v4
3737
with:
3838
name: windows-build
39-
path: dist/BR-Equipment-Control-Windows.zip
39+
path: dist/br-equipment-control-app-windows.zip
4040

4141
build-macos:
4242
runs-on: macos-latest
@@ -63,32 +63,32 @@ jobs:
6363
brew install create-dmg
6464
cd dist
6565
create-dmg \
66-
--volname "BR Equipment Control" \
66+
--volname "br-equipment-control-app" \
6767
--volicon "../assets/icon.png" \
6868
--window-pos 200 120 \
6969
--window-size 800 400 \
7070
--icon-size 100 \
71-
--icon "BR Equipment Control.app" 200 190 \
72-
--hide-extension "BR Equipment Control.app" \
71+
--icon "br-equipment-control-app.app" 200 190 \
72+
--hide-extension "br-equipment-control-app.app" \
7373
--app-drop-link 600 185 \
74-
"BR-Equipment-Control-macOS.dmg" \
75-
"BR Equipment Control.app"
74+
"br-equipment-control-app-macos.dmg" \
75+
"br-equipment-control-app.app"
7676
continue-on-error: true
7777

7878
- name: Create zip fallback if DMG fails
7979
run: |
8080
cd dist
81-
if [ ! -f "BR-Equipment-Control-macOS.dmg" ]; then
82-
zip -r "BR-Equipment-Control-macOS.zip" "BR Equipment Control.app"
81+
if [ ! -f "br-equipment-control-app-macos.dmg" ]; then
82+
zip -r "br-equipment-control-app-macos.zip" "br-equipment-control-app.app"
8383
fi
8484
8585
- name: Upload artifact
8686
uses: actions/upload-artifact@v4
8787
with:
8888
name: macos-build
8989
path: |
90-
dist/BR-Equipment-Control-macOS.dmg
91-
dist/BR-Equipment-Control-macOS.zip
90+
dist/br-equipment-control-app-macos.dmg
91+
dist/br-equipment-control-app-macos.zip
9292
9393
build-linux:
9494
runs-on: ubuntu-latest
@@ -118,13 +118,13 @@ jobs:
118118
- name: Create tar.gz archive
119119
run: |
120120
cd dist
121-
tar -czf BR-Equipment-Control-Linux.tar.gz BR-Equipment-Control/
121+
tar -czf br-equipment-control-app-linux.tar.gz br-equipment-control-app/
122122
123123
- name: Upload artifact
124124
uses: actions/upload-artifact@v4
125125
with:
126126
name: linux-build
127-
path: dist/BR-Equipment-Control-Linux.tar.gz
127+
path: dist/br-equipment-control-app-linux.tar.gz
128128

129129
create-release:
130130
needs: [build-windows, build-macos, build-linux]
@@ -148,10 +148,10 @@ jobs:
148148
uses: softprops/action-gh-release@v1
149149
with:
150150
files: |
151-
artifacts/windows-build/BR-Equipment-Control-Windows.zip
152-
artifacts/macos-build/BR-Equipment-Control-macOS.dmg
153-
artifacts/macos-build/BR-Equipment-Control-macOS.zip
154-
artifacts/linux-build/BR-Equipment-Control-Linux.tar.gz
151+
artifacts/windows-build/br-equipment-control-app-windows.zip
152+
artifacts/macos-build/br-equipment-control-app-macos.dmg
153+
artifacts/macos-build/br-equipment-control-app-macos.zip
154+
artifacts/linux-build/br-equipment-control-app-linux.tar.gz
155155
draft: false
156156
prerelease: false
157157
generate_release_notes: true

BUILD.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ GitHub Actions will build executables for all three platforms and create a relea
3333
# Build the executable
3434
pyinstaller build.spec
3535

36-
# The executable will be in: dist/BR-Equipment-Control/
36+
# The executable will be in: dist/br-equipment-control-app/
3737
# To create a zip for distribution:
3838
cd dist
39-
powershell Compress-Archive -Path "BR-Equipment-Control" -DestinationPath "BR-Equipment-Control-Windows.zip"
39+
powershell Compress-Archive -Path "br-equipment-control-app" -DestinationPath "br-equipment-control-app-windows.zip"
4040
```
4141

4242
The Windows build will:
4343
- Create a `.exe` file with no console window
4444
- Include the icon from `assets/icon.ico`
45-
- Bundle all dependencies in the `dist/BR-Equipment-Control/` folder
45+
- Bundle all dependencies in the `dist/br-equipment-control-app/` folder
4646

47-
**Distribution:** Share the entire `BR-Equipment-Control` folder or the zip file. Users can run `BR-Equipment-Control.exe` directly.
47+
**Distribution:** Share the entire `br-equipment-control-app` folder or the zip file. Users can run `br-equipment-control-app.exe` directly.
4848

4949
---
5050

@@ -54,21 +54,21 @@ The Windows build will:
5454
# Build the app bundle
5555
pyinstaller build.spec
5656

57-
# The app will be in: dist/BR Equipment Control.app/
57+
# The app will be in: dist/br-equipment-control-app.app/
5858
# To create a DMG (requires create-dmg):
5959
brew install create-dmg
6060
cd dist
6161
create-dmg \
62-
--volname "BR Equipment Control" \
62+
--volname "br-equipment-control-app" \
6363
--volicon "../assets/icon.png" \
6464
--window-pos 200 120 \
6565
--window-size 800 400 \
6666
--icon-size 100 \
67-
--icon "BR Equipment Control.app" 200 190 \
68-
--hide-extension "BR Equipment Control.app" \
67+
--icon "br-equipment-control-app.app" 200 190 \
68+
--hide-extension "br-equipment-control-app.app" \
6969
--app-drop-link 600 185 \
70-
"BR-Equipment-Control-macOS.dmg" \
71-
"BR Equipment Control.app"
70+
"br-equipment-control-app-macos.dmg" \
71+
"br-equipment-control-app.app"
7272
```
7373

7474
The macOS build will:
@@ -91,18 +91,18 @@ sudo yum install python3-tkinter # RHEL/CentOS
9191
# Build the executable
9292
pyinstaller build.spec
9393

94-
# The executable will be in: dist/BR-Equipment-Control/
94+
# The executable will be in: dist/br-equipment-control-app/
9595
# To create a tarball:
9696
cd dist
97-
tar -czf BR-Equipment-Control-Linux.tar.gz BR-Equipment-Control/
97+
tar -czf br-equipment-control-app-linux.tar.gz br-equipment-control-app/
9898
```
9999

100100
The Linux build will:
101101
- Create an executable binary
102102
- Bundle all dependencies
103103
- Include all device modules and assets
104104

105-
**Distribution:** Share the `.tar.gz` file. Users extract it and run `./BR-Equipment-Control` from the terminal.
105+
**Distribution:** Share the `.tar.gz` file. Users extract it and run `./br-equipment-control-app` from the terminal.
106106

107107
---
108108

DISTRIBUTION.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@
55
Download the pre-built executable for your platform from the [Releases page](https://github.com/bluerobotics/br-equipment-control-app/releases):
66

77
### Windows
8-
1. Download `BR-Equipment-Control-Windows.zip`
8+
1. Download `br-equipment-control-app-windows.zip`
99
2. Extract the zip file
10-
3. Run `BR-Equipment-Control.exe`
10+
3. Run `br-equipment-control-app.exe`
1111
4. On first run, you'll be prompted to select your `devices` folder location
1212
- **For development:** Point to your local git repo's devices folder
1313
- **For general use:** Use the bundled devices folder in the extracted directory
1414

1515
### macOS
16-
1. Download `BR-Equipment-Control-macOS.dmg`
16+
1. Download `br-equipment-control-app-macos.dmg`
1717
2. Open the DMG file
18-
3. Drag `BR Equipment Control.app` to your Applications folder
18+
3. Drag `br-equipment-control-app.app` to your Applications folder
1919
4. If you get a security warning, right-click the app and select "Open"
2020
5. On first run, you'll be prompted to select your `devices` folder location
2121
- **For development:** Point to your local git repo's devices folder
2222
- **For general use:** Create/select a folder with your device configs
2323

2424
### Linux
25-
1. Download `BR-Equipment-Control-Linux.tar.gz`
26-
2. Extract: `tar -xzf BR-Equipment-Control-Linux.tar.gz`
27-
3. Run: `cd BR-Equipment-Control && ./BR-Equipment-Control`
25+
1. Download `br-equipment-control-app-linux.tar.gz`
26+
2. Extract: `tar -xzf br-equipment-control-app-linux.tar.gz`
27+
3. Run: `cd br-equipment-control-app && ./br-equipment-control-app`
2828
4. If you get a "tkinter not found" error, install it:
2929
- Ubuntu/Debian: `sudo apt-get install python3-tk`
3030
- Fedora/RHEL: `sudo dnf install python3-tkinter`

build.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ if errorlevel 1 (
2626

2727
echo.
2828
echo Build complete!
29-
echo Executable location: dist\BR-Equipment-Control\BR-Equipment-Control.exe
29+
echo Executable location: dist\br-equipment-control-app\br-equipment-control-app.exe
3030
echo.
3131
echo Creating zip archive...
3232
cd dist
33-
powershell -Command "Compress-Archive -Path 'BR-Equipment-Control' -DestinationPath 'BR-Equipment-Control-Windows.zip' -Force"
33+
powershell -Command "Compress-Archive -Path 'br-equipment-control-app' -DestinationPath 'br-equipment-control-app-windows.zip' -Force"
3434
cd ..
3535

3636
echo.
3737
echo Done! Distributable zip file created at:
38-
echo dist\BR-Equipment-Control-Windows.zip
38+
echo dist\br-equipment-control-app-windows.zip
3939
echo.
4040
pause
4141

build.sh

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,52 +42,52 @@ echo "Build complete!"
4242
cd dist
4343

4444
if [[ "$OS" == "macOS" ]]; then
45-
echo "Executable location: dist/BR Equipment Control.app"
45+
echo "Executable location: dist/br-equipment-control-app.app"
4646
echo ""
4747

4848
# Try to create DMG if create-dmg is available
4949
if command -v create-dmg &> /dev/null; then
5050
echo "Creating DMG..."
5151
create-dmg \
52-
--volname "BR Equipment Control" \
52+
--volname "br-equipment-control-app" \
5353
--volicon "../assets/icon.png" \
5454
--window-pos 200 120 \
5555
--window-size 800 400 \
5656
--icon-size 100 \
57-
--icon "BR Equipment Control.app" 200 190 \
58-
--hide-extension "BR Equipment Control.app" \
57+
--icon "br-equipment-control-app.app" 200 190 \
58+
--hide-extension "br-equipment-control-app.app" \
5959
--app-drop-link 600 185 \
60-
"BR-Equipment-Control-macOS.dmg" \
61-
"BR Equipment Control.app"
60+
"br-equipment-control-app-macos.dmg" \
61+
"br-equipment-control-app.app"
6262

6363
if [ $? -eq 0 ]; then
6464
echo ""
6565
echo "Done! Distributable DMG file created at:"
66-
echo " dist/BR-Equipment-Control-macOS.dmg"
66+
echo " dist/br-equipment-control-app-macos.dmg"
6767
else
6868
echo "DMG creation failed, creating zip instead..."
69-
zip -r "BR-Equipment-Control-macOS.zip" "BR Equipment Control.app"
69+
zip -r "br-equipment-control-app-macos.zip" "br-equipment-control-app.app"
7070
echo ""
7171
echo "Done! Distributable zip file created at:"
72-
echo " dist/BR-Equipment-Control-macOS.zip"
72+
echo " dist/br-equipment-control-app-macos.zip"
7373
fi
7474
else
7575
echo "create-dmg not found, creating zip..."
7676
echo "Tip: Install with: brew install create-dmg"
77-
zip -r "BR-Equipment-Control-macOS.zip" "BR Equipment Control.app"
77+
zip -r "br-equipment-control-app-macos.zip" "br-equipment-control-app.app"
7878
echo ""
7979
echo "Done! Distributable zip file created at:"
80-
echo " dist/BR-Equipment-Control-macOS.zip"
80+
echo " dist/br-equipment-control-app-macos.zip"
8181
fi
8282

8383
elif [[ "$OS" == "Linux" ]]; then
84-
echo "Executable location: dist/BR-Equipment-Control/BR-Equipment-Control"
84+
echo "Executable location: dist/br-equipment-control-app/br-equipment-control-app"
8585
echo ""
8686
echo "Creating tarball..."
87-
tar -czf BR-Equipment-Control-Linux.tar.gz BR-Equipment-Control/
87+
tar -czf br-equipment-control-app-linux.tar.gz br-equipment-control-app/
8888
echo ""
8989
echo "Done! Distributable tarball created at:"
90-
echo " dist/BR-Equipment-Control-Linux.tar.gz"
90+
echo " dist/br-equipment-control-app-linux.tar.gz"
9191
fi
9292

9393
cd ..

build.spec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ exe = EXE(
7878
a.scripts,
7979
[],
8080
exclude_binaries=True,
81-
name='BR-Equipment-Control',
81+
name='br-equipment-control-app',
8282
debug=False,
8383
bootloader_ignore_signals=False,
8484
strip=False,
@@ -100,14 +100,14 @@ coll = COLLECT(
100100
strip=False,
101101
upx=True,
102102
upx_exclude=[],
103-
name='BR-Equipment-Control',
103+
name='br-equipment-control-app',
104104
)
105105

106106
# macOS app bundle
107107
if sys.platform == 'darwin':
108108
app = BUNDLE(
109109
coll,
110-
name='BR Equipment Control.app',
110+
name='br-equipment-control-app.app',
111111
icon=None, # Icon can be set manually later if needed
112112
bundle_identifier='com.bluerobotics.equipment-control',
113113
info_plist={

0 commit comments

Comments
 (0)