File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77# Server/port secrets.
88* .env
99! * .env.example
10+
11+ # Pyinstaller
12+ build
13+ dist
14+ * .zip
15+ * .spec
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def main():
2222
2323 client_socket = socket .socket (socket .AF_INET , socket .SOCK_STREAM )
2424
25- client_socket .connect ((ip , port ))
25+ client_socket .connect ((ip , int ( port ) ))
2626 client_socket .setblocking (False )
2727
2828 app = App (Client (client_socket ))
Original file line number Diff line number Diff line change @@ -11,11 +11,13 @@ def __init__(self, client):
1111 pygame .display .set_caption ("PyChat v2.0" )
1212
1313 self .screen = pygame .display .set_mode ((1280 , 720 ))
14+ icon = pygame .Surface ((64 , 64 ), pygame .SRCALPHA )
15+ pygame .display .set_icon (icon )
1416
1517 self .update_event = pygame .USEREVENT + 1
1618 pygame .time .set_timer (self .update_event , 1000 )
1719
18- self .font = pygame .font .Font ("oxygen.ttf" , 12 )
20+ self .font = pygame .font .Font ("assets/ oxygen.ttf" , 12 )
1921
2022 self .message = ''
2123 self .history = []
You can’t perform that action at this time.
0 commit comments