This repository was archived by the owner on Oct 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +6
-9
lines changed
Expand file tree Collapse file tree 6 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 11Package: AltServerLinux
2- Version: 0.1.3
2+ Version: 0.1.4
33Architecture: all
44Maintainer: powen
55Description: GUI for AltServerLinux
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ def resource_path(relative_path):
2121
2222cwd = os .getcwd ()
2323AltServer = resource_path ("AltServer" )
24- AltServerDaemon = resource_path ("AltServerDaemon" )
2524AutoStart = resource_path ("AutoStart.sh" )
2625Exec = cwd + "/altserver"
2726UserName = subprocess .check_output ("whoami" ,shell = True ).decode ('utf-8' ).replace ("\n " , "" )
@@ -149,9 +148,9 @@ def pair():
149148
150149@QtCore .Slot ()
151150def 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 ()
157156def check_update ():
Original file line number Diff line number Diff line change 88# check permission
99if 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 )
1311if 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.
9088def app_quit ():
91- subprocess .run ('killall %s' % AltServerDaemon ,shell = True )
89+ subprocess .run ('killall %s' % AltServer ,shell = True )
9290 app .quit ()
9391
9492quit = QAction ("Quit AltServer" )
@@ -101,7 +99,7 @@ def app_quit():
10199
102100# Add the menu to the tray
103101tray .setContextMenu (menu )
104- subprocess .run ('%s &> /dev/null &' % AltServerDaemon ,shell = True )
102+ subprocess .run ('%s &> /dev/null &' % AltServer ,shell = True )
105103UpdateNotification ()
106104app .exec_ ()
107105
Original file line number Diff line number Diff line change 1- 0.1.3
1+ 0.1.4
You can’t perform that action at this time.
0 commit comments