fixed indentation issue
changed default uninstlal folder to /usr/local
This commit is contained in:
parent
452a4e675e
commit
0b512f29f4
|
@ -365,13 +365,12 @@ class GfceuxApp:
|
|||
network = ''
|
||||
|
||||
if options.host_radio:
|
||||
"""
|
||||
if options.host_pass == '':
|
||||
netpass = ' '
|
||||
else:
|
||||
netpass = ' --pass ' + '"' + options.host_pass + '" '
|
||||
network = '--net localhost --port '+\
|
||||
str(options.host_port) + netpass + ' '"""
|
||||
str(options.host_port) + netpass + ' '
|
||||
network = ''
|
||||
|
||||
if local:
|
||||
|
@ -621,9 +620,9 @@ class GfceuxApp:
|
|||
|
||||
def host_radio_clicked(self, menuitem, data=None):
|
||||
if widgets.get_object("host_radio").get_active():
|
||||
self.server_binary = find_binary('fceux-server')
|
||||
options.server_binary = find_binary('fceux-server')
|
||||
|
||||
if self.server_binary == None:
|
||||
if options.server_binary == None:
|
||||
if os.name == 'nt':
|
||||
self.print_error("The fceux server software cannot be found. \n\
|
||||
Ensure that it is installed in the same directory as \n\
|
||||
|
|
|
@ -13,7 +13,7 @@ import os
|
|||
import dircache
|
||||
import sys
|
||||
|
||||
prefix = "/usr/"
|
||||
prefix = "/usr/local"
|
||||
try:
|
||||
if sys.argv[1]:
|
||||
prefix = sys.argv[1]
|
||||
|
|
Loading…
Reference in New Issue