migrate to AutoX

This commit is contained in:
StageGuard
2023-02-25 10:39:56 +08:00
parent 2ea865cb52
commit e8334effc2
6 changed files with 34 additions and 28 deletions

View File

@@ -1,6 +1,6 @@
# SkyAutoPlayerScript
A script to play Sheets generated by [SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio) automatically in game Sky with accessibility services using Auto.js
A script to play Sheets generated by [SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio) automatically in game Sky with accessibility services using AutoX
[![shared sheet](https://badgen.net/badge/shared%20sheets/175%20in%20total/green)](shared_sheets/) [![sheet contributors](https://badgen.net/badge/sheet%20contributors/36/pink)](#shared-sheets) [![Hosted in](https://badgen.net/badge/CDN/jsDelivr?icon=jsdelivr)](https://www.jsdelivr.com/)
@@ -20,17 +20,19 @@ There are many features in SkyAutoPlayerScript compared to other auto player scr
## Usage
1. Download release `4.1.1 Alpha2 (461) -> armeabi-v7a` in [`Ericwyn/Auto.js/releases@V4.1.1.Alpha2`](https://github.com/Ericwyn/Auto.js/releases/tag/V4.1.1.Alpha2)
1. Download AutoX at [Releases · kkevsekk1/AutoX](https://github.com/kkevsekk1/AutoX/releases)
2. Turn on **Accessibility service** and allow **Display pop-up window** permission for Auto.js
> Warning: Please notice that you should check your device arch in advance, or select `universal`。
3. Create a new script file in Auto.js. Copy the code below and run!
2. Turn on **Accessibility service** and allow **Display pop-up window** permission for AutoX
3. Create a new script file in AutoX. Copy the code below and run!
```javascript
"ui";
"use strict";
/*
SkyAutoPlayer (Auto.js script)
SkyAutoPlayer (AutoX script)
Copyright © 2020-2021 StageGuard
This library is free software; you can redistribute it and/or
@@ -74,7 +76,7 @@ There are many features in SkyAutoPlayerScript compared to other auto player scr
```
## Clear data
`SkyAutoPlayerScript` will store data while running, if you want to delete all data, please run the code below in Auto.js
`SkyAutoPlayerScript` will store data while running, if you want to delete all data, please run the code below in AutoX
```
storages.remove("StageGuard:SkyAutoPlayer:Config");
@@ -192,7 +194,7 @@ Welcome everyone to contribute this project, including pull request, issue, new
### ⚠WARNING
CodeFactor Evaluation: [![CodeFactor](https://www.codefactor.io/repository/github/stageguard/skyautoplayerscript/badge)](https://www.codefactor.io/repository/github/stageguard/skyautoplayerscript)
Because of the limitation of Auto.js, it is impossible to extract functions and method so all functions are defined in a single file. Also, my coding skill is poor, so it is `a little hard` to understand source code.
This program is a single-file project which means all modules are in a single file. Also, my coding skill is poor, so it is `a little hard` to understand source code.
## Contributor
@@ -260,7 +262,7 @@ None
# LICENSE
```
SkyAutoPlayer (Auto.js script)
SkyAutoPlayer (AutoX script)
Copyright © 2020-2021 StageGuard
This library is free software; you can redistribute it and/or