mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 09:38:06 +02:00
Merge pull request #1713 from yurydelendik/chromext-1
Fixes extension for Chrome
This commit is contained in:
commit
e9632120c4
1 changed files with 3 additions and 0 deletions
3
make.js
3
make.js
|
@ -503,6 +503,9 @@ target.chrome = function() {
|
|||
// Copy a standalone version of pdf.js inside the content directory
|
||||
cp(BUILD_TARGET, CHROME_BUILD_CONTENT_DIR + BUILD_DIR);
|
||||
cp('-R', EXTENSION_WEB_FILES, CHROME_BUILD_CONTENT_DIR + '/web');
|
||||
// Replacing the l10n.js file with regular gh-pages one
|
||||
rm(CHROME_BUILD_CONTENT_DIR + '/web/l10n.js');
|
||||
cp('external/webL10n/l10n.js', CHROME_BUILD_CONTENT_DIR + '/web');
|
||||
cp('web/locale.properties', CHROME_BUILD_CONTENT_DIR + '/web');
|
||||
mv('-f', CHROME_BUILD_CONTENT_DIR + '/web/viewer-production.html',
|
||||
CHROME_BUILD_CONTENT_DIR + '/web/viewer.html');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue