Fix chmod commands for platform-specific binaries in README
- macOS: chmod +x paqet_darwin_amd64 - Linux: chmod +x paqet_linux_amd64 Fixes both English and Persian documentation sections. Thanks to @FarazFe for identifying this issue (PR #10)
This commit is contained in:
@@ -454,7 +454,7 @@ tar -xzf paqet-darwin-amd64-v1.0.0-alpha.13.tar.gz
|
|||||||
# tar -xzf paqet-darwin-arm64-v1.0.0-alpha.13.tar.gz
|
# tar -xzf paqet-darwin-arm64-v1.0.0-alpha.13.tar.gz
|
||||||
|
|
||||||
# Make executable
|
# Make executable
|
||||||
chmod +x paqet
|
chmod +x paqet_darwin_amd64
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Step 3: Create Config File
|
#### Step 3: Create Config File
|
||||||
@@ -623,7 +623,7 @@ Then run GFK from within the venv.
|
|||||||
mkdir -p ~/paqet && cd ~/paqet
|
mkdir -p ~/paqet && cd ~/paqet
|
||||||
curl -LO https://github.com/SamNet-dev/paqctl/releases/download/v1.0.0-alpha.13/paqet-linux-amd64-v1.0.0-alpha.13.tar.gz
|
curl -LO https://github.com/SamNet-dev/paqctl/releases/download/v1.0.0-alpha.13/paqet-linux-amd64-v1.0.0-alpha.13.tar.gz
|
||||||
tar -xzf paqet-linux-amd64-v1.0.0-alpha.13.tar.gz
|
tar -xzf paqet-linux-amd64-v1.0.0-alpha.13.tar.gz
|
||||||
chmod +x paqet
|
chmod +x paqet_linux_amd64
|
||||||
|
|
||||||
# Create config
|
# Create config
|
||||||
cat > config.yaml << 'EOF'
|
cat > config.yaml << 'EOF'
|
||||||
@@ -1162,7 +1162,7 @@ tar -xzf paqet-darwin-amd64-v1.0.0-alpha.13.tar.gz
|
|||||||
# curl -LO https://github.com/SamNet-dev/paqctl/releases/download/v1.0.0-alpha.13/paqet-darwin-arm64-v1.0.0-alpha.13.tar.gz
|
# curl -LO https://github.com/SamNet-dev/paqctl/releases/download/v1.0.0-alpha.13/paqet-darwin-arm64-v1.0.0-alpha.13.tar.gz
|
||||||
# tar -xzf paqet-darwin-arm64-v1.0.0-alpha.13.tar.gz
|
# tar -xzf paqet-darwin-arm64-v1.0.0-alpha.13.tar.gz
|
||||||
|
|
||||||
chmod +x paqet
|
chmod +x paqet_darwin_amd64
|
||||||
```
|
```
|
||||||
|
|
||||||
#### مرحله ۳: ایجاد فایل پیکربندی
|
#### مرحله ۳: ایجاد فایل پیکربندی
|
||||||
@@ -1251,7 +1251,7 @@ sudo python3 mainclient.py
|
|||||||
mkdir -p ~/paqet && cd ~/paqet
|
mkdir -p ~/paqet && cd ~/paqet
|
||||||
curl -LO https://github.com/SamNet-dev/paqctl/releases/download/v1.0.0-alpha.13/paqet-linux-amd64-v1.0.0-alpha.13.tar.gz
|
curl -LO https://github.com/SamNet-dev/paqctl/releases/download/v1.0.0-alpha.13/paqet-linux-amd64-v1.0.0-alpha.13.tar.gz
|
||||||
tar -xzf paqet-linux-amd64-v1.0.0-alpha.13.tar.gz
|
tar -xzf paqet-linux-amd64-v1.0.0-alpha.13.tar.gz
|
||||||
chmod +x paqet
|
chmod +x paqet_linux_amd64
|
||||||
|
|
||||||
# ایجاد config
|
# ایجاد config
|
||||||
cat > config.yaml << 'EOF'
|
cat > config.yaml << 'EOF'
|
||||||
|
|||||||
Reference in New Issue
Block a user