Skip to content

Commit

Permalink
android-studio: Fix checkver (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
BanHammerYKT authored May 16, 2024
1 parent 579221a commit 8acbc2a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
11 changes: 7 additions & 4 deletions bucket/android-studio-beta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2022.1.1.15",
"version": "2024.1.1.8",
"description": "The official IDE for Android development, which includes everything you need to build Android apps.",
"homepage": "https://developer.android.com/studio/preview",
"license": {
Expand All @@ -11,8 +11,8 @@
},
"architecture": {
"64bit": {
"url": "https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2022.1.1.15/android-studio-2022.1.1.15-windows.zip",
"hash": "be8d896163dbef0e4b8f14ccbbe04b45c2a809b083ba3868cd79a7f27021bacb",
"url": "https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2024.1.1.8/android-studio-2024.1.1.8-windows.zip",
"hash": "EEDEEC4712CE71E4B7C2EF356555008C472336A6A5037E3CEB13A0C83873AEE7",
"shortcuts": [
[
"bin\\studio64.exe",
Expand All @@ -21,9 +21,12 @@
]
}
},
"pre_install": [
"'uninstall.exe' | ForEach-Object { Remove-Item \"$dir/$_\" -Recurse }"
],
"extract_dir": "android-studio",
"checkver": {
"regex": "Android Studio [\\d.]+ Beta \\d+\\s+for\\s+Windows\\s+<\\/a>\\s+<p><em>android-studio-([\\d.]+)"
"regex": "agree_beta_win_bundle_download(?:.|\n)+?android-studio-([\\d.]+)-windows\\.exe"
},
"autoupdate": {
"architecture": {
Expand Down
12 changes: 7 additions & 5 deletions bucket/android-studio-canary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2022.2.1.9",
"version": "2024.1.2.1",
"description": "The official IDE for Android development, which includes everything you need to build Android apps.",
"homepage": "https://developer.android.com/studio/preview",
"license": {
Expand All @@ -11,8 +11,8 @@
},
"architecture": {
"64bit": {
"url": "https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2022.2.1.9/android-studio-2022.2.1.9-windows.zip",
"hash": "e14cbf904d5b9724dc22b7391ecb2c4a56f8c48436aca10ffe2b789ede831c92",
"url": "https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2024.1.2.1/android-studio-2024.1.2.1-windows.zip",
"hash": "613B1313468FC826A527FA4F127EBB89DC14A860DD53E966D5B746BD5C3044EF",
"shortcuts": [
[
"bin\\studio64.exe",
Expand All @@ -21,10 +21,12 @@
]
}
},
"pre_install": [
"'uninstall.exe' | ForEach-Object { Remove-Item \"$dir/$_\" -Recurse }"
],
"extract_dir": "android-studio",
"checkver": {
"regex": "Android Studio ([\\d.]+) Canary (\\d+)",
"replace": "${1}.${2}"
"regex": "agree_canary_win_bundle_download(?:.|\n)+?android-studio-([\\d.]+)-windows\\.exe"
},
"autoupdate": {
"architecture": {
Expand Down

0 comments on commit 8acbc2a

Please sign in to comment.