Merge pull request #9 from sriramsv/play-store-search

Play store search script
This commit is contained in:
zobnin
2022-09-04 08:06:00 +03:00
committed by GitHub

View File

@@ -0,0 +1,25 @@
-- name = "Play Store"
-- description = "Search anything in playstore app"
-- data_source = "internal"
-- type = "search"
-- author = "Sriram SV"
-- version = "1.0"
-- prefix = "playstore|play|appstore|store"
text_from = ""
text_to = ""
local md_color = require "md_colors"
local green = md_colors.green_600
function on_search(input)
text_from = input
text_to = ""
search:show({input},{green})
end
function on_click(idx)
system:open_browser("https://play.google.com/store/search?q="..text_from)
end