Skip to content

Commit 00000d9

Browse files
committed
edits
- remove previous app id from source file - add examples to readme
1 parent 00000d9 commit 00000d9

5 files changed

Lines changed: 11 additions & 9 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,13 @@ server for the [iOS based tweak](https://chariz.com/get/forwardnotifier)
55
allow executable through windows' firewall after installing
66

77
edit 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)

example/0.jpg

12.5 KB
Loading

example/1.jpg

15.7 KB
Loading

example/3.gif

140 KB
Loading

source.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import base64
44
import binascii
55
import json
6-
import platform
76
import shutil
87
from configparser import ConfigParser
98
from http.server import BaseHTTPRequestHandler, HTTPServer
@@ -14,13 +13,6 @@
1413
from winsdk.windows.data.xml import dom
1514
from 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

2517
config = 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()

0 commit comments

Comments
 (0)