Skip to content

Commit

Permalink
修复:兼容版BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
HCLonely committed Jan 8, 2023
1 parent 7b80940 commit 71202a9
Show file tree
Hide file tree
Showing 19 changed files with 164 additions and 151 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Release.yml
Expand Up @@ -21,9 +21,9 @@ jobs:
uses: softprops/action-gh-release@v1
with:
prerelease: false
tag_name: v4.2.27
name: 4.2.27
body: '- 优化:Gleam任务识别优化'
tag_name: v4.2.28
name: 4.2.28
body: '- 修复:兼容版BUG'
files: |-
dist/auto-task-v4-for-giveawaysu.user.js
dist/auto-task-v4.compatibility.user.js
Expand Down
18 changes: 9 additions & 9 deletions dist/auto-task-v4-for-giveawaysu.all.user.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions dist/auto-task-v4-for-giveawaysu.user.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/auto-task-v4.all.user.js
@@ -1,7 +1,7 @@
// ==UserScript==
// @name auto-task-v4
// @namespace auto-task-v4
// @version 4.2.27
// @version 4.2.28
// @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。
// @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites.
// @author HCLonely
Expand Down Expand Up @@ -4163,6 +4163,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
playtests: []
};
const Steam_defaultTasks = JSON.stringify(Steam_defaultTasksTemplate);
console.log(Steam_defaultTasks);
class Steam extends social_Social {
tasks = JSON.parse(Steam_defaultTasks);
whiteList = {
Expand Down
50 changes: 25 additions & 25 deletions dist/auto-task-v4.compatibility.all.user.js

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions dist/auto-task-v4.compatibility.user.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/auto-task-v4.user.js
@@ -1,7 +1,7 @@
// ==UserScript==
// @name auto-task-v4
// @namespace auto-task-v4
// @version 4.2.27
// @version 4.2.28
// @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。
// @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites.
// @author HCLonely
Expand Down Expand Up @@ -4144,6 +4144,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
playtests: []
};
const Steam_defaultTasks = JSON.stringify(Steam_defaultTasksTemplate);
console.log(Steam_defaultTasks);
class Steam extends social_Social {
tasks = JSON.parse(Steam_defaultTasks);
whiteList = {
Expand Down
6 changes: 6 additions & 0 deletions doc/docs/logs/README.md
Expand Up @@ -5,6 +5,12 @@ lang: zh-CN

## V4.2

### V4.2.28

[Release](https://github.com/HCLonely/auto-task-v4/releases/tag/v4.2.28)

- 修复:兼容版BUG

### V4.2.27

[Release](https://github.com/HCLonely/auto-task-v4/releases/tag/v4.2.27)
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,8 +1,8 @@
{
"name": "auto-task-v4",
"version": "4.2.27",
"version": "4.2.28",
"change": [
"优化:Gleam任务识别优化"
"修复:兼容版BUG"
],
"description": "赠Key站自动任务脚本",
"main": "package.json",
Expand Down
18 changes: 9 additions & 9 deletions page/dist/auto-task-v4-for-giveawaysu.all.user.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions page/dist/auto-task-v4-for-giveawaysu.user.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion page/dist/auto-task-v4.all.user.js
@@ -1,7 +1,7 @@
// ==UserScript==
// @name auto-task-v4
// @namespace auto-task-v4
// @version 4.2.27
// @version 4.2.28
// @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。
// @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites.
// @author HCLonely
Expand Down Expand Up @@ -4163,6 +4163,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
playtests: []
};
const Steam_defaultTasks = JSON.stringify(Steam_defaultTasksTemplate);
console.log(Steam_defaultTasks);
class Steam extends social_Social {
tasks = JSON.parse(Steam_defaultTasks);
whiteList = {
Expand Down
50 changes: 25 additions & 25 deletions page/dist/auto-task-v4.compatibility.all.user.js

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions page/dist/auto-task-v4.compatibility.user.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion page/dist/auto-task-v4.user.js
@@ -1,7 +1,7 @@
// ==UserScript==
// @name auto-task-v4
// @namespace auto-task-v4
// @version 4.2.27
// @version 4.2.28
// @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。
// @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites.
// @author HCLonely
Expand Down Expand Up @@ -4144,6 +4144,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
playtests: []
};
const Steam_defaultTasks = JSON.stringify(Steam_defaultTasksTemplate);
console.log(Steam_defaultTasks);
class Steam extends social_Social {
tasks = JSON.parse(Steam_defaultTasks);
whiteList = {
Expand Down
4 changes: 2 additions & 2 deletions page/package.json
@@ -1,8 +1,8 @@
{
"name": "auto-task-v4",
"version": "4.2.27",
"version": "4.2.28",
"change": [
"优化:Gleam任务识别优化"
"修复:兼容版BUG"
],
"description": "赠Key站自动任务脚本",
"main": "package.json",
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/social/Steam.ts
@@ -1,7 +1,7 @@
/*
* @Author : HCLonely
* @Date : 2021-10-04 16:07:55
* @LastEditTime : 2022-12-30 11:12:00
* @LastEditTime : 2023-01-08 10:39:07
* @LastEditors : HCLonely
* @FilePath : /auto-task-new/src/scripts/social/Steam.ts
* @Description : steam相关功能
Expand Down Expand Up @@ -32,7 +32,7 @@ const defaultTasksTemplate: steamTasks = {
playtests: []
};
const defaultTasks = JSON.stringify(defaultTasksTemplate);

console.log(defaultTasks);
class Steam extends Social {
tasks: steamTasks = JSON.parse(defaultTasks);
whiteList: steamTasks = { ...JSON.parse(defaultTasks), ...GM_getValue<whiteList>('whiteList')?.steam };
Expand Down
4 changes: 3 additions & 1 deletion webpack.compatibility.config.js
@@ -1,8 +1,9 @@
/* eslint-disable camelcase */
/* eslint-disable @typescript-eslint/no-var-requires */
/*
* @Author : HCLonely
* @Date : 2021-12-12 17:39:48
* @LastEditTime : 2022-01-16 19:54:04
* @LastEditTime : 2023-01-08 11:07:30
* @LastEditors : HCLonely
* @FilePath : /auto-task-new/webpack.compatibility.config.js
*/
Expand Down Expand Up @@ -92,6 +93,7 @@ module.exports = {
minify: TerserPlugin.uglifyJsMinify,
terserOptions: {
sourceMap: false,
mangle: false,
output: {
preamble: fs.readFileSync('./src/header.js').toString()
.replace(/__VERSION__/g, VERSION)
Expand Down
3 changes: 2 additions & 1 deletion webpack.giveawaysu.config.js
Expand Up @@ -2,7 +2,7 @@
/*
* @Author : HCLonely
* @Date : 2021-10-26 16:22:46
* @LastEditTime : 2022-01-16 19:53:59
* @LastEditTime : 2023-01-08 11:09:03
* @LastEditors : HCLonely
* @FilePath : /auto-task-new/webpack.giveawaysu.config.js
*/
Expand Down Expand Up @@ -91,6 +91,7 @@ module.exports = {
minify: TerserPlugin.uglifyJsMinify,
terserOptions: {
sourceMap: false,
mangle: false,
output: {
preamble: fs.readFileSync('./src/for_giveawaysu/header.js').toString()
.replace(/__VERSION__/g, VERSION)
Expand Down

1 comment on commit 71202a9

@vercel
Copy link

@vercel vercel bot commented on 71202a9 Jan 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.