This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
howto:fridahooklibrary [2017/11/12 09:43] czokie [PrettyWoman.csv] |
howto:fridahooklibrary [2017/11/12 09:45] (current) czokie [Tweak.js] |
||
---|---|---|---|
Line 442: | Line 442: | ||
return originalResult; | return originalResult; | ||
} | } | ||
+ | }); | ||
+ | |||
+ | // | ||
+ | // DJILImitDBUpdateLogic needUpdateType jsfunction | ||
+ | // | ||
+ | |||
+ | var DJILImitDBUpdateLogic = ObjC.classes.DJILImitDBUpdateLogic; | ||
+ | var needUpdateType = DJILImitDBUpdateLogic[' | ||
+ | var needUpdateTypeImpl = needUpdateType.implementation; | ||
+ | needUpdateType.implementation = ObjC.implement(needUpdateType, | ||
+ | var originalResult = needUpdateTypeImpl(handle, | ||
+ | if ( originalResult != 0 ) { | ||
+ | if ( 00 == 0 || DJILImitDBUpdateLogicneedUpdateTypeSeenReplace == 0 ) { | ||
+ | console.log(" | ||
+ | DJILImitDBUpdateLogicneedUpdateTypeSeenReplace = 1; | ||
+ | } | ||
+ | } else { | ||
+ | if ( 00 == 0 || DJILImitDBUpdateLogicneedUpdateTypeSeenHit == 0 ) { | ||
+ | console.log("" | ||
+ | DJILImitDBUpdateLogicneedUpdateTypeSeenHit = 1; | ||
+ | } | ||
+ | } | ||
+ | return 0; | ||
}); | }); | ||
} | } | ||
</ | </ | ||