Add pwa fix files, disable publishing
This commit is contained in:
6
scripts/fixOfflinePWA.sh
Normal file
6
scripts/fixOfflinePWA.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#! /bin/sh
|
||||
cp scripts/pwaOffline.patch .
|
||||
sed -e "s/HREFREPLACE/$(echo $HREFREPLACE)\//g" pwaOffline.patch > fix.patch
|
||||
mv build/web/flutter_service_worker.js .
|
||||
patch flutter_service_worker.js < fix.patch
|
||||
mv flutter_service_worker.js build/web/
|
||||
Reference in New Issue
Block a user