Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyJiangWJ committed May 28, 2020
1 parent cbba63d commit 3d92cc3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/prototype/CommonFunction.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: TonyJiangWJ
* @Date: 2020-04-25 20:16:09
* @Last Modified by: TonyJiangWJ
* @Last Modified time: 2020-05-16 18:18:42
* @Last Modified time: 2020-05-28 11:06:28
* @Description: 通用工具
*/
importClass(android.content.Context)
Expand All @@ -26,6 +26,11 @@ let RUNTIME_STORAGE = _storage_name + "_runtime"
let DISMISS_AWAIT_DIALOG = 'dismissAwaitDialog'
let TIMER_AUTO_START = "timerAutoStart"

if (!_config.is_pro) {
importClass(com.stardust.autojs.ScriptEngineService)
importClass(com.stardust.autojs.engine.ScriptEngineManager)
}

function CommonFunctions () {
this.registerOnEngineRemoved = function (func) {
if (!_config.is_pro) {
Expand Down

0 comments on commit 3d92cc3

Please sign in to comment.