mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Fall back to res/values to avoid @strings/app_name
This commit is contained in:
parent
7b394e6893
commit
f6fb7416c5
3 changed files with 29 additions and 16 deletions
|
|
@ -223,13 +223,12 @@ def main():
|
|||
root_dir = src_dir
|
||||
|
||||
# Check AndroidManiifest.xml exists...
|
||||
manifest = os.path.join(root_dir, 'AndroidManifest.xml')
|
||||
if not os.path.exists(manifest):
|
||||
if not os.path.exists(root_dir + '/AndroidManifest.xml'):
|
||||
print "AndroidManifest.xml did not exist in the expected location. Specify --subdir?"
|
||||
sys.exit(1)
|
||||
|
||||
# Extract some information...
|
||||
version, vercode, package = common.parse_androidmanifest(manifest)
|
||||
version, vercode, package = common.parse_androidmanifest(root_dir)
|
||||
if not package:
|
||||
print "Couldn't find package ID"
|
||||
sys.exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue