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 = ''
|
network = ''
|
||||||
|
|
||||||
if options.host_radio:
|
if options.host_radio:
|
||||||
"""
|
|
||||||
if options.host_pass == '':
|
if options.host_pass == '':
|
||||||
netpass = ' '
|
netpass = ' '
|
||||||
else:
|
else:
|
||||||
netpass = ' --pass ' + '"' + options.host_pass + '" '
|
netpass = ' --pass ' + '"' + options.host_pass + '" '
|
||||||
network = '--net localhost --port '+\
|
network = '--net localhost --port '+\
|
||||||
str(options.host_port) + netpass + ' '"""
|
str(options.host_port) + netpass + ' '
|
||||||
network = ''
|
network = ''
|
||||||
|
|
||||||
if local:
|
if local:
|
||||||
|
@ -621,9 +620,9 @@ class GfceuxApp:
|
||||||
|
|
||||||
def host_radio_clicked(self, menuitem, data=None):
|
def host_radio_clicked(self, menuitem, data=None):
|
||||||
if widgets.get_object("host_radio").get_active():
|
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':
|
if os.name == 'nt':
|
||||||
self.print_error("The fceux server software cannot be found. \n\
|
self.print_error("The fceux server software cannot be found. \n\
|
||||||
Ensure that it is installed in the same directory as \n\
|
Ensure that it is installed in the same directory as \n\
|
||||||
|
|
|
@ -13,7 +13,7 @@ import os
|
||||||
import dircache
|
import dircache
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
prefix = "/usr/"
|
prefix = "/usr/local"
|
||||||
try:
|
try:
|
||||||
if sys.argv[1]:
|
if sys.argv[1]:
|
||||||
prefix = sys.argv[1]
|
prefix = sys.argv[1]
|
||||||
|
|
Loading…
Reference in New Issue