Skip to content

Commit

Permalink
add download pipy macos with cli
Browse files Browse the repository at this point in the history
  • Loading branch information
lindongchen committed Apr 12, 2024
1 parent 2241d4f commit 7dda504
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"tauri": "tauri",
"hub": "pipy ../hub/main.js --skip-unknown-arguments --listen=0.0.0.0:8888",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
"download-pipy-macos-x64": "mkdir -p download && cd download && curl -o pipy.tar.gz https://pipy-oss-1255617643.cos.ap-beijing.myqcloud.com/repo/pipy-nightly/x86_64/binary/pipy-nightly-202404011409-macos-x86_64.tar.gz && tar -xzf pipy.tar.gz && cp -f ./usr/local/bin/pipy ../src-tauri/bin/pipy-x86_64-apple-darwin",
"download-pipy-macos": "mkdir -p download && cd download && curl -o pipy.tar.gz https://pipy-oss-1255617643.cos.ap-beijing.myqcloud.com/repo/pipy-nightly/aarch64/binary/pipy-nightly-202404011409-macos-aarch64.tar.gz && tar -xzf pipy.tar.gz && cp -f ./usr/local/bin/pipy ../src-tauri/bin/pipy-aarch64-apple-darwin",
"download-pipy-windows": "mkdir -p download && cd download && curl -o pipy.zip https://pipy-oss-1255617643.cos.accelerate.myqcloud.com/repo/pipy-repo-nightly/win32/binary/pipy-repo-nightly-202404011409-win32-x86_64.zip && unzip pipy.zip && cp -f pipy.exe ../src-tauri/bin/pipy-x86_64-pc-windows-msvc.exe",
"download-pipy-linux": "mkdir -p download && cd download && curl -o pipy.tar.gz https://pipy-oss-1255617643.cos-website.ap-beijing.myqcloud.com/repo/pipy-nightly/x86_64/binary/pipy-nightly-202404011409-generic_linux-x86_64.tar.gz && tar -xzf pipy.tar.gz && cp -f ./usr/local/bin/pipy ../src-tauri/bin/pipy-x86_64-unknown-linux-gnu"
},
Expand Down
4 changes: 2 additions & 2 deletions gui/src-tauri/bin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# macOS aarch64
# pipy-aarch64-apple-darwin
pipy-aarch64-apple-darwin

# macOS x86
# pipy-x86_64-apple-darwin
pipy-x86_64-apple-darwin

# Windows
pipy-x86_64-pc-windows-msvc.exe
Expand Down
Binary file removed gui/src-tauri/bin/pipy-aarch64-apple-darwin
Binary file not shown.
Binary file removed gui/src-tauri/bin/pipy-x86_64-apple-darwin
Binary file not shown.

0 comments on commit 7dda504

Please sign in to comment.