Skip to content

Commit

Permalink
Merge pull request #20 from AriaArcadia/main
Browse files Browse the repository at this point in the history
更新客户端版本号
  • Loading branch information
niuhuan authored Jun 4, 2024
2 parents d28986a + 55b480b commit 5f8e972
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/Package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ jobs:
fail-fast: false
matrix:
config:
- target: linux
host: ubuntu-latest
# - target: linux
# host: ubuntu-latest
- target: windows
host: windows-latest
- target: macos
host: macos-latest
- target: ios
host: macos-latest
- target: android-arm64
host: ubuntu-latest

# - target: macos
# host: macos-latest
# - target: ios
# host: macos-latest
# - target: android-arm64
# host: ubuntu-latest
runs-on: ${{ matrix.config.host }}

env:
Expand Down
9 changes: 6 additions & 3 deletions rust/src/copy_client/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,14 @@ impl Client {
"authorization",
format!("Token {}", self.get_token().await.as_str()),
)
.header("referer", "com.copymanga.app-2.1.7")
.header("user-agent", "COPY/2.1.7")
// .header("referer", "com.copymanga.app-2.1.7")
.header("referer", "com.copymanga.app-2.2.0")
// .header("user-agent", "COPY/2.1.7")
.header("user-agent", "COPY/2.2.0")
.header("source", "copyApp")
.header("webp", "1")
.header("version", "2.1.7")
// .header("version", "2.1.7")
.header("version", "2.2.0")
.header("region", "1")
.header("platform", "3")
.header("accept", "application/json")
Expand Down

0 comments on commit 5f8e972

Please sign in to comment.