quapp 1.0.4 → 1.0.5
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/build.js +2 -2
- package/package.json +1 -1
package/build.js
CHANGED
|
@@ -111,9 +111,9 @@ try {
|
|
|
111
111
|
const manifestPath = path.join(distFolder, "manifest.json");
|
|
112
112
|
|
|
113
113
|
const manifestContent = {
|
|
114
|
-
package_name: `com.${projectAuthor}.${projectName}`.toLowerCase().replace(/\s+/g, "
|
|
114
|
+
package_name: `com.${projectAuthor}.${projectName}`.toLowerCase().replace(/\s+/g, ""),
|
|
115
115
|
version: projectVersion,
|
|
116
|
-
version_code: projectVersion.replace(/\./g, ""),
|
|
116
|
+
version_code: parseInt(projectVersion.replace(/\./g, "")) || 1,
|
|
117
117
|
entry_point: "index.html",
|
|
118
118
|
permissions: [],
|
|
119
119
|
min_sdk_version: 1
|