Skip to content

Commit

Permalink
bump 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
a1mersnow committed Feb 6, 2024
1 parent 839043c commit f6964ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 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 0.8.0
// @version 0.8.1
// @author a1mersnow
// @description 批量重命名云盘里的文件,支持阿里云盘、夸克云盘
// @license GPL
Expand Down Expand Up @@ -1378,7 +1378,7 @@
}
const name = "aliyundrive-rename";
const type = "module";
const version = "0.8.0";
const version = "0.8.1";
const packageManager = "[email protected]";
const description = "Batch rename files of aliyundrive.";
const author = "a1mersnow";
Expand Down Expand Up @@ -1688,6 +1688,9 @@
}
});
const ENTRY_ID = "a1mersnow_webdrive_rename";
if (window[ENTRY_ID])
throw new Error("This error is expected! It means you have installed two copy of this script. Please remove one.");
window[ENTRY_ID] = true;
const oldSetHeader = XMLHttpRequest.prototype.setRequestHeader;
XMLHttpRequest.prototype.setRequestHeader = function(key, value) {
setRequestHeader(key, value);
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": "0.8.0",
"version": "0.8.1",
"private": true,
"packageManager": "[email protected]",
"description": "Batch rename files of aliyundrive.",
Expand Down

0 comments on commit f6964ca

Please sign in to comment.