File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,3 +5,13 @@ server for the [iOS based tweak](https://chariz.com/get/forwardnotifier)
55allow executable through windows' firewall after installing
66
77edit device name through config.ini in install directory
8+
9+ ---
10+
11+ _ examples_
12+
13+ ![ ] ( ./example/0.jpg )
14+
15+ ![ ] ( ./example/1.jpg )
16+
17+ ![ ] ( ./example/3.gif )
Original file line number Diff line number Diff line change 33import base64
44import binascii
55import json
6- import platform
76import shutil
87from configparser import ConfigParser
98from http .server import BaseHTTPRequestHandler , HTTPServer
1413from winsdk .windows .data .xml import dom
1514from winsdk .windows .ui .notifications import ToastNotification , ToastNotificationManager
1615
17- try :
18- from ctypes import windll
19-
20- myappid = "d9_scratch.forwardnotifier"
21- windll .shell32 .SetCurrentProcessExplicitAppUserModelID (myappid )
22- except ImportError :
23- pass
2416
2517config = ConfigParser ()
2618
@@ -174,5 +166,5 @@ def run() -> None:
174166 httpd .server_close ()
175167
176168
177- if platform . system () == "Windows " :
169+ if __name__ == "__main__ " :
178170 run ()
You can’t perform that action at this time.
0 commit comments