mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-12-01 11:27:16 -05:00
f6dbdd4fe7
On some newer android devices the screen tranform matrix already includes the current scale. i.e. the matrix looks like: ``` { a: scaleX, b: 0, c: 0, d: scaleY, e: offsetX, f: offsetY } ``` where both `scaleX`, and `scaleY` are the current zoom. On other devices the scale is always `1`, and we need to apply our own scaling. I also added the code to automatically allow webview debgging if the buildType is debuggable. Also, note that you can switch which line is commented out in bundle-compile.sh to get unobfuscated javascript.
4 lines
172 B
Bash
Executable file
4 lines
172 B
Bash
Executable file
#!/bin/sh
|
|
cd ..;
|
|
/usr/local/bin/node ./node_modules/webpack/bin/webpack.js --mode=production
|
|
# /usr/local/bin/node ./node_modules/webpack/bin/webpack.js --mode=development
|