Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #softwares()
- softwares(["name_or_snippet", "only_installed"])
- - name_or_snippet: By default it is assigned as “*”, that means all softwares.
- - only_installed (bool): By default it is assigned as false. It make the function to bring just installed softwares.
- This function returns an object that contains the list of the softwares.
- ##Attributes and methods
- - list: It contains an array with all softwares found.
- - has(“name_or_snippet”): Function returns true or false. It checks if there is an specific software among the list.
- - has_installed(“name_or_snippet”): Exactly as the name suggests ;)
- ###Examples:
- console.log(softwares(".crc").list)
- if(target.softwares().has_installed("*.av")){
- window.alert("I ain't going to install anything here")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement