diff --git a/index.html b/index.html index 7ae579f..59ca398 100644 --- a/index.html +++ b/index.html @@ -45,11 +45,6 @@ - -
- SkateSpots loading... (v1.0.6-debug) -
diff --git a/package.json b/package.json index b8ca946..b64409c 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,11 @@ "build": "npm i --silent && vite build -l error && cp dist/index.html dist/404.html && echo 'Project built successfully!'", "test": "npm i --silent && tsc --noEmit && eslint && vitest run --reporter=dot --silent && vite build -l error && cp dist/index.html dist/404.html && echo 'All tests passed!'", "deploy": "npm i --silent && npm run build && npx -y nostr-deploy-cli deploy --skip-setup", - "android:init": "npm run build && npx cap add android && npx cap sync android", - "android:sync": "npm run build && npx cap sync android", + "android:init": "npm run android:build:apk && npx cap add android && npx cap sync android", + "android:sync": "npm run android:build:apk && npx cap sync android", "android:open": "npx cap open android", - "android:build": "npm run build && npx cap sync android && cd android && ./gradlew assembleRelease" + "android:build": "npm run android:build:apk && npx cap sync android && cd android && ./gradlew assembleRelease", + "android:build:apk": "CAPACITOR_BUILD=1 vite build && sed -i 's|||g' dist/index.html && sed -i 's|