Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: cordova build

Ilian Sapundshiev051f2ed505f1
diff --git a/cordova/www/index.html b/cordova/www/index.html
index 398557d72..4da40cb58 100644
--- a/cordova/www/index.html
+++ b/cordova/www/index.html
@@ -14,18 +14,6 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="TagSpaces PRO">
- <link href="/node_modules/@tagspaces/pro/assets/splashscreens/iphone5_splash.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
- <link href="/node_modules/@tagspaces/pro/assets/splashscreens/iphone6_splash.png" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
- <link href="/node_modules/@tagspaces/pro/assets/splashscreens/iphoneplus_splash.png" media="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
- <link href="/node_modules/@tagspaces/pro/assets/splashscreens/iphonex_splash.png" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
- <link href="/node_modules/@tagspaces/pro/assets/splashscreens/iphonexr_splash.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
- <link href="/node_modules/@tagspaces/pro/assets/splashscreens/iphonexsmax_splash.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
- <link href="/node_modules/@tagspaces/pro/assets/splashscreens/ipad_splash.png" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
- <link href="/node_modules/@tagspaces/pro/assets/splashscreens/ipadpro1_splash.png" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
- <link href="/node_modules/@tagspaces/pro/assets/splashscreens/ipadpro3_splash.png" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
- <link href="/node_modules/@tagspaces/pro/assets/splashscreens/ipadpro2_splash.png" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
- <link rel="icon" sizes="192x192" href="/node_modules/@tagspaces/pro/assets/icons/192x192.png" />
- <link rel="apple-touch-icon" href="/node_modules/@tagspaces/pro/assets/icons/192x192.png" />
<link rel="stylesheet" type="text/css" href="dist/style.css">
<script type="text/javascript" src="extconfig.js"></script>
</head>
diff --git a/package.json b/package.json
index d70770631..aafb9f2f1 100644
--- a/package.json
+++ b/package.json
@@ -89,7 +89,7 @@
"postinstall-web-check": "cross-env PD_PLATFORM=web node scripts/postinstall.js",
"precommit": "lint-staged",
"prepare-cordova": "yarn install-ext-web && yarn postinstall-cordova-check && rimraf cordova/www/dist && rimraf cordova/www/node_modules && shx cp -rL app/node_modules cordova/www && shx cp LICENSE.txt cordova/www",
- "prepare-cordova-pro": "rimraf cordova/www/dist && rimraf cordova/www/node_modules && shx cp -rL app/node_modules cordova/www && shx cp extensions/tagspacespro/EULA.txt cordova/www",
+ "prepare-cordova-pro": "yarn install-ext-web && yarn postinstall-cordova-check && rimraf cordova/www/dist && rimraf cordova/www/node_modules && shx cp -rL app/node_modules cordova/www && shx cp extensions/tagspacespro/EULA.txt cordova/www",
"prepare-node": "yarn install-ext-node && yarn postinstall-node-check",
"prepare-web-pro": "yarn version-meta && yarn install-ext-web && yarn postinstall-web-check && rimraf web/node_modules && shx cp -rL app/node_modules/ web && shx cp extensions/tagspacespro/EULA.txt web && yarn clean-maps && yarn build-web && node scripts/genswconf.js",
"prettier-check": "prettier --check **/*.{js,json,ts,tsx,yml}",