Index: packagerChrome.py |
=================================================================== |
--- a/packagerChrome.py |
+++ b/packagerChrome.py |
@@ -12,6 +12,7 @@ |
import subprocess |
import sys |
import random |
+import posixpath |
from packager import (readMetadata, getDefaultFileName, getBuildVersion, |
getTemplate, Files) |
@@ -214,7 +215,7 @@ |
*filename.split('/'))): |
keys = item[1] |
locale = sourceFile.split(os.path.sep)[-2] |
- targetFile = os.path.join('_locales', locale, 'messages.json') |
+ targetFile = posixpath.join('_locales', locale, 'messages.json') |
Oleksandr
2017/10/26 09:16:02
A more generic approach would be to not rely on an
Wladimir Palant
2017/10/26 09:22:13
ZIP archives (which is what we are talking about h
|
data = json.loads(files.get(targetFile, '{}').decode('utf-8')) |
try: |