mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 12:09:18 +08:00
17 lines
360 B
Python
17 lines
360 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
from wox import Wox
|
||
|
|
||
|
class HelloWorld(Wox):
|
||
|
|
||
|
def query(self, query):
|
||
|
results = []
|
||
|
results.append({
|
||
|
"Title": "Hello World",
|
||
|
"SubTitle": "Query: {}".format(query),
|
||
|
"IcoPath":"Images/app.ico"
|
||
|
})
|
||
|
return results
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
HelloWorld()
|