mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-30 16:32:50 -05:00
Put release bin in bin/ folder
This commit is contained in:
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -137,14 +137,15 @@ jobs:
|
|||||||
# Create full packages for each architecture
|
# Create full packages for each architecture
|
||||||
for arch in amd64 arm64; do
|
for arch in amd64 arm64; do
|
||||||
mkdir -p _temp_full/dms
|
mkdir -p _temp_full/dms
|
||||||
|
mkdir -p _temp_full/bin
|
||||||
|
|
||||||
# Extract QML source to temp directory
|
# Extract QML source to temp directory
|
||||||
tar -xzf _release_assets/dms-qml.tar.gz -C _temp_full/dms
|
tar -xzf _release_assets/dms-qml.tar.gz -C _temp_full/dms
|
||||||
|
|
||||||
# Copy CLI binary if it exists
|
# Copy CLI binary if it exists
|
||||||
if [ -f "_dms_assets/dms-${arch}.gz" ]; then
|
if [ -f "_dms_assets/dms-${arch}.gz" ]; then
|
||||||
gunzip -c "_dms_assets/dms-${arch}.gz" > _temp_full/dms
|
gunzip -c "_dms_assets/dms-${arch}.gz" > _temp_full/bin/dms
|
||||||
chmod +x _temp_full/dms
|
chmod +x _temp_full/bin/dms
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create INSTALL.md
|
# Create INSTALL.md
|
||||||
@@ -167,10 +168,10 @@ jobs:
|
|||||||
|
|
||||||
2. **Install the DMS CLI binary:**
|
2. **Install the DMS CLI binary:**
|
||||||
```bash
|
```bash
|
||||||
sudo install -m 755 dms /usr/local/bin/dms
|
sudo install -m 755 bin/dms /usr/local/bin/dms
|
||||||
# or install to a local directory:
|
# or install to a local directory:
|
||||||
mkdir -p ~/.local/bin
|
mkdir -p ~/.local/bin
|
||||||
install -m 755 dms ~/.local/bin/dms
|
install -m 755 bin/dms ~/.local/bin/dms
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Start the shell:**
|
3. **Start the shell:**
|
||||||
|
|||||||
Reference in New Issue
Block a user