Skip to content

Commit

Permalink
功能0不管老参数了,给个提示
Browse files Browse the repository at this point in the history
  • Loading branch information
zzliux committed Jan 18, 2025
1 parent 9374144 commit 7eade12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/common/funcList/000_结束判断.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,22 +206,6 @@ export class Func000 implements IFuncOrigin {
}

function stopOrReRun() {
// 兼容老逻辑
if (typeof thisconf.scheme_switch_enabled !== 'undefined' && thisconf.scheme_switch_enabled) {
thisScript.rerun(thisconf.next_scheme);
sleep(3000);
return;
} else if (typeof thisconf.scheme_switch_enabled !== 'undefined' && !thisconf.scheme_switch_enabled) {
thisScript.doPush(thisScript, { text: `[${thisScript.schemeHistory.map(item => item.schemeName).join('、')}]已停止,请查看。`, before() { thisScript.myToast('脚本即将停止,正在上传数据'); } });
// 停止脚本时关闭应用
if (thisconf.stop_with_launched_app_exit) {
thisScript.stopRelatedApp();
}
thisScript.stop();
sleep(3000);
return;
}

// 新逻辑
if (thisconf.after_operation === '切换方案') {
thisScript.rerun(thisconf.next_scheme);
Expand Down
3 changes: 3 additions & 0 deletions src/common/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1301,6 +1301,9 @@ export const versionList = [{
desc: `修复:悬赏追踪重新取点
通用活动放宽悬浮窗黄标识别(测试)
方案选择改为两列`
}, {
version: '20240118_01',
desc: '因功能0结束判断的参数“结束当前方案后切换方案”变更为“结束后的操作”,如果有存在方案在功能0中设置过切换方案,需手动重新设置下该功能的新参数“结束后的操作”值为“切换方案”'
}];

export default versionList[versionList.length - 1].version;

0 comments on commit 7eade12

Please sign in to comment.