Skip to content

Commit

Permalink
bump 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
a1mersnow committed Jul 10, 2024
1 parent ae81731 commit c06c59f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dist/aliyundrive-rename.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name 云盘批量重命名
// @namespace vite-plugin-monkey
// @version 1.0.1
// @version 1.0.2
// @author a1mersnow
// @description 批量重命名云盘里的文件,支持阿里云盘、夸克云盘
// @license GPL
Expand Down Expand Up @@ -620,7 +620,7 @@
}
async function getDriveId() {
const res = await post$1("https://user.aliyundrive.com/v2/user/get", {});
return location.pathname.startsWith("/drive/file/resource") ? res.resource_drive_id : res.backup_drive_id;
return location.pathname.startsWith("/drive/file/all/backup") ? res.backup_drive_id : res.resource_drive_id;
}
const INITIAL_MARKER = "INITIAL";
const PAGE_SIZE = 100;
Expand Down Expand Up @@ -1396,7 +1396,7 @@
}
const name = "aliyundrive-rename";
const type = "module";
const version = "1.0.1";
const version = "1.0.2";
const packageManager = "[email protected]";
const description = "Batch rename files of aliyundrive.";
const author = "a1mersnow";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aliyundrive-rename",
"type": "module",
"version": "1.0.1",
"version": "1.0.2",
"private": true,
"packageManager": "[email protected]",
"description": "Batch rename files of aliyundrive.",
Expand Down

0 comments on commit c06c59f

Please sign in to comment.