mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
win fixes
This commit is contained in:
parent
1e1f0db347
commit
0c31c4a5ab
@ -557,9 +557,12 @@ def find_sdk_tools_cmd(cmd):
|
||||
sdk_platform_tools = os.path.join(config['sdk_path'], 'platform-tools')
|
||||
if os.path.exists(sdk_platform_tools):
|
||||
tooldirs.append(sdk_platform_tools)
|
||||
tooldirs.append('/usr/bin')
|
||||
if os.path.exists('/usr/bin'):
|
||||
tooldirs.append('/usr/bin')
|
||||
for d in tooldirs:
|
||||
path = os.path.join(d, cmd)
|
||||
if not os.path.isfile(path):
|
||||
path += '.exe'
|
||||
if os.path.isfile(path):
|
||||
if cmd == 'aapt':
|
||||
test_aapt_version(path)
|
||||
|
@ -411,7 +411,7 @@ class UpdateTest(unittest.TestCase):
|
||||
|
||||
def javagetsig(self, apkfile):
|
||||
getsig_dir = 'getsig'
|
||||
if not os.path.exists(getsig_dir + "/getsig.class"):
|
||||
if not os.path.exists(os.path.join(getsig_dir, "getsig.class")):
|
||||
logging.critical("getsig.class not found. To fix: cd '%s' && ./make.sh" % getsig_dir)
|
||||
sys.exit(1)
|
||||
# FDroidPopen needs some config to work
|
||||
|
Loading…
Reference in New Issue
Block a user