@bubblewrap/core 1.22.0 → 1.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib/TwaManifest.js
CHANGED
|
@@ -58,7 +58,7 @@ const DEFAULT_NAVIGATION_DIVIDER_COLOR = '#00000000';
|
|
|
58
58
|
const DEFAULT_BACKGROUND_COLOR = '#FFFFFF';
|
|
59
59
|
const DEFAULT_APP_VERSION_CODE = 1;
|
|
60
60
|
const DEFAULT_APP_VERSION_NAME = DEFAULT_APP_VERSION_CODE.toString();
|
|
61
|
-
const DEFAULT_MIN_SDK_VERSION =
|
|
61
|
+
const DEFAULT_MIN_SDK_VERSION = 21;
|
|
62
62
|
const DEFAULT_SIGNING_KEY_PATH = './android.keystore';
|
|
63
63
|
const DEFAULT_SIGNING_KEY_ALIAS = 'android';
|
|
64
64
|
const DEFAULT_ENABLE_NOTIFICATIONS = true;
|
package/dist/lib/util.js
CHANGED
|
@@ -65,7 +65,7 @@ async function executeFile(cmd, args, env, log, cwd) {
|
|
|
65
65
|
if (log) {
|
|
66
66
|
log.debug(`Executing command ${cmd} with args ${args}`);
|
|
67
67
|
}
|
|
68
|
-
return await execFilePromise(cmd, args, { env: env, cwd: cwd });
|
|
68
|
+
return await execFilePromise(cmd, args, { env: env, cwd: cwd, shell: true });
|
|
69
69
|
}
|
|
70
70
|
async function unzipFile(zipFile, destinationPath, deleteZipWhenDone = false) {
|
|
71
71
|
await extractZipPromise(zipFile, { dir: destinationPath });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubblewrap/core",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.2",
|
|
4
4
|
"description": "Core Library to generate, build and sign TWA projects",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=14.15.0"
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"tar": "^6.1.0",
|
|
58
58
|
"valid-url": "^1.0.9"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "d13036a031c271bff2e187beeac21caec6ff909c"
|
|
61
61
|
}
|
|
@@ -191,7 +191,11 @@
|
|
|
191
191
|
<category android:name="android.intent.category.DEFAULT" />
|
|
192
192
|
<category android:name="android.intent.category.BROWSABLE"/>
|
|
193
193
|
<data android:scheme="https"
|
|
194
|
-
android:host="@string/hostName"
|
|
194
|
+
android:host="@string/hostName"
|
|
195
|
+
<% if (fullScopeUrl && fullScopeUrl.pathname !== '/') { %>
|
|
196
|
+
android:pathPrefix="<%= fullScopeUrl.pathname %>"
|
|
197
|
+
<% } %>
|
|
198
|
+
/>
|
|
195
199
|
</intent-filter>
|
|
196
200
|
|
|
197
201
|
<% for (const additionalOrigin of additionalTrustedOrigins) { %>
|