Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit bc5cf7c

Browse files
committed
Update Altserver binary
1 parent 5d53952 commit bc5cf7c

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

AltServer/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: AltServerLinux
2-
Version: 0.1.3
2+
Version: 0.1.4
33
Architecture: all
44
Maintainer: powen
55
Description: GUI for AltServerLinux

Main.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def resource_path(relative_path):
2121

2222
cwd = os.getcwd()
2323
AltServer = resource_path("AltServer")
24-
AltServerDaemon = resource_path("AltServerDaemon")
2524
AutoStart = resource_path("AutoStart.sh")
2625
Exec = cwd+"/altserver"
2726
UserName = subprocess.check_output("whoami",shell=True).decode('utf-8').replace("\n", "")
@@ -149,9 +148,9 @@ def pair():
149148

150149
@QtCore.Slot()
151150
def restart_daemon():
152-
subprocess.run('killall %s' %AltServerDaemon,shell=True)
151+
subprocess.run('killall %s' %AltServer,shell=True)
153152
subprocess.run('idevicepair pair',shell=True)
154-
subprocess.run('%s &> /dev/null &' %AltServerDaemon,shell=True)
153+
subprocess.run('%s &> /dev/null &' %AltServer,shell=True)
155154

156155
@QtCore.Slot()
157156
def check_update():

UI.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
# check permission
99
if subprocess.run('stat %s | grep -- "-rw-r--r--"' %AltServer,shell=True) != "" :
1010
subprocess.run("chmod +x %s" %AltServer,shell=True)
11-
if subprocess.run('stat %s | grep -- "-rw-r--r--"' %AltServerDaemon,shell=True) != "" :
12-
subprocess.run("chmod +x %s" %AltServerDaemon,shell=True)
1311
if subprocess.run('stat %s | grep -- "-rw-r--r--"' %AutoStart,shell=True) != "" :
1412
subprocess.run("chmod +x %s" %AutoStart,shell=True)
1513

@@ -88,7 +86,7 @@ def launch_config() :
8886

8987
# Add a Quit option to the menu.
9088
def app_quit():
91-
subprocess.run('killall %s' %AltServerDaemon,shell=True)
89+
subprocess.run('killall %s' %AltServer,shell=True)
9290
app.quit()
9391

9492
quit = QAction("Quit AltServer")
@@ -101,7 +99,7 @@ def app_quit():
10199

102100
# Add the menu to the tray
103101
tray.setContextMenu(menu)
104-
subprocess.run('%s &> /dev/null &' %AltServerDaemon,shell=True)
102+
subprocess.run('%s &> /dev/null &' %AltServer,shell=True)
105103
UpdateNotification()
106104
app.exec_()
107105

resources/AltServer

-9.48 MB
Binary file not shown.

resources/AltServerDaemon

-55.4 MB
Binary file not shown.

resources/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.3
1+
0.1.4

0 commit comments

Comments
 (0)