Build 29035748
|
@ -11,8 +11,8 @@ android {
|
||||||
applicationId = "me.lecaro.breakout"
|
applicationId = "me.lecaro.breakout"
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 29035727
|
versionCode = 29035748
|
||||||
versionName = "29035727"
|
versionName = "29035748"
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables {
|
vectorDrawables {
|
||||||
useSupportLibrary = true
|
useSupportLibrary = true
|
||||||
|
|
2
dist/PWA/manifest.webmanifest
vendored
|
@ -1 +1 @@
|
||||||
{"short_name":"B71","name":"Breakout 71","icons":[{"src":"/icon-512.e79a8a4c.png","sizes":"512x512","type":"image/png"},{"src":"/icon-128.59c1f720.png","sizes":"128x128","type":"image/png"},{"src":"/icon-64.2922f911.png","sizes":"64x64","type":"image/png"}],"start_url":"/index.html?isPWA=true","display":"fullscreen","theme_color":"#5DA3EA","background_color":"#ffffff"}
|
{"short_name":"B71","name":"Breakout 71","icons":[{"src":"/icon.cad232de.svg","sizes":"48x48 72x72 96x96 128x128 256x256 512x512","type":"image/svg+xml","purpose":"any"},{"src":"/icon-128.07cda280.png","sizes":"128x128","type":"image/png"}],"start_url":"/index.html?isPWA=true","display":"fullscreen","theme_color":"#5DA3EA","background_color":"#ffffff"}
|
33
dist/PWA/sw-b71.js
vendored
|
@ -1,33 +1,2 @@
|
||||||
// The version of the cache.
|
function e(e,t,n,r,a,i,c){try{var o=e[i](c),u=o.value}catch(e){n(e);return}o.done?t(u):Promise.resolve(u).then(r,a)}function t(t){return function(){var n=this,r=arguments;return new Promise(function(a,i){var c=t.apply(n,r);function o(t){e(c,a,i,o,u,"next",t)}function u(t){e(c,a,i,o,u,"throw",t)}o(void 0)})}}function n(e,t){var n,r,a,i,c={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(i){return function(o){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(a=(a=c.trys).length>0&&a[a.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){c.label=i[1];break}if(6===i[0]&&c.label<a[1]){c.label=a[1],a=i;break}if(a&&c.label<a[2]){c.label=a[2],c.ops.push(i);break}a[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e],r=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,o])}}}var r="breakout-71-".concat("29035748"),a=["/"];self.addEventListener("install",function(e){e.waitUntil(t(function(){return n(this,function(e){switch(e.label){case 0:return[4,caches.open(r)];case 1:return e.sent().addAll(a),[2]}})})())}),self.addEventListener("activate",function(e){e.waitUntil(t(function(){return n(this,function(e){switch(e.label){case 0:return[4,caches.keys()];case 1:return[4,Promise.all(e.sent().map(function(e){if(e!==r)return caches.delete(e)}))];case 2:return e.sent(),[4,clients.claim()];case 3:return e.sent(),[2]}})})())}),self.addEventListener("fetch",function(e){if("navigate"===e.request.mode&&e.request.url.endsWith("/index.html?isPWA=true")){e.respondWith(caches.match("/"));return}});
|
||||||
const VERSION = "29035727";
|
|
||||||
// The name of the cache
|
|
||||||
const CACHE_NAME = `breakout-71-${VERSION}`;
|
|
||||||
// The static resources that the app needs to function.
|
|
||||||
const APP_STATIC_RESOURCES = [
|
|
||||||
"/"
|
|
||||||
];
|
|
||||||
// On install, cache the static resources
|
|
||||||
self.addEventListener("install", (event)=>{
|
|
||||||
event.waitUntil((async ()=>{
|
|
||||||
const cache = await caches.open(CACHE_NAME);
|
|
||||||
cache.addAll(APP_STATIC_RESOURCES);
|
|
||||||
})());
|
|
||||||
});
|
|
||||||
// delete old caches on activate
|
|
||||||
self.addEventListener("activate", (event)=>{
|
|
||||||
event.waitUntil((async ()=>{
|
|
||||||
const names = await caches.keys();
|
|
||||||
await Promise.all(names.map((name)=>{
|
|
||||||
if (name !== CACHE_NAME) return caches.delete(name);
|
|
||||||
}));
|
|
||||||
await clients.claim();
|
|
||||||
})());
|
|
||||||
});
|
|
||||||
self.addEventListener("fetch", (event)=>{
|
|
||||||
if (event.request.mode === "navigate" && event.request.url.endsWith("/index.html?isPWA=true")) {
|
|
||||||
event.respondWith(caches.match("/"));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
//# sourceMappingURL=sw-b71.js.map
|
//# sourceMappingURL=sw-b71.js.map
|
||||||
|
|
2
dist/PWA/sw-b71.js.map
vendored
BIN
dist/icon-128.07cda280.png
vendored
Normal file
After Width: | Height: | Size: 346 B |
BIN
dist/icon-128.59c1f720.png
vendored
Before Width: | Height: | Size: 651 B |
BIN
dist/icon-512.e79a8a4c.png
vendored
Before Width: | Height: | Size: 10 KiB |
BIN
dist/icon-64.2922f911.png
vendored
Before Width: | Height: | Size: 415 B |
1
dist/icon.cad232de.svg
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500"><path fill="#6262EA" d="M0 0h300v100H0zM200 100h100v100H200zM100 200h100v200H100z"/><path fill="#5DA3EA" d="M200 200h100v100H200zM300 100h100v300H300zM200 400h300v100H200z"/></svg>
|
After Width: | Height: | Size: 245 B |
3676
dist/index.html
vendored
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 652 B |
BIN
src/PWA/icon-128.png_original
Normal file
After Width: | Height: | Size: 710 B |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 445 B |
|
@ -1,8 +1,8 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" height="50" width="50">
|
<svg xmlns="http://www.w3.org/2000/svg" height="500" width="500">
|
||||||
<rect x="0" y="0" width="30" height="10" fill="#6262EA"/>
|
<rect x="0" y="0" width="300" height="100" fill="#6262EA"/>
|
||||||
<rect x="20" y="10" width="10" height="10" fill="#6262EA"/>
|
<rect x="200" y="100" width="100" height="100" fill="#6262EA"/>
|
||||||
<rect x="10" y="20" width="10" height="20" fill="#6262EA"/>
|
<rect x="100" y="200" width="100" height="200" fill="#6262EA"/>
|
||||||
<rect x="20" y="20" width="10" height="10" fill="#5DA3EA"/>
|
<rect x="200" y="200" width="100" height="100" fill="#5DA3EA"/>
|
||||||
<rect x="30" y="10" width="10" height="30" fill="#5DA3EA"/>
|
<rect x="300" y="100" width="100" height="300" fill="#5DA3EA"/>
|
||||||
<rect x="20" y="40" width="40" height="30" fill="#5DA3EA"/>
|
<rect x="200" y="400" width="300" height="100" fill="#5DA3EA"/>
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 428 B After Width: | Height: | Size: 452 B |
|
@ -3,19 +3,15 @@
|
||||||
"name": "Breakout 71",
|
"name": "Breakout 71",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "icon-512.png",
|
"src": "icon.svg",
|
||||||
"sizes": "512x512",
|
"sizes": "48x48 72x72 96x96 128x128 256x256 512x512",
|
||||||
"type": "image/png"
|
"type": "image/svg+xml",
|
||||||
|
"purpose": "any"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "icon-128.png",
|
"src": "icon-128.png",
|
||||||
"sizes": "128x128",
|
"sizes": "128x128",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "icon-64.png",
|
|
||||||
"sizes": "64x64",
|
|
||||||
"type": "image/png"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"start_url": "/index.html?isPWA=true",
|
"start_url": "/index.html?isPWA=true",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// The version of the cache.
|
// The version of the cache.
|
||||||
const VERSION = "29035727";
|
const VERSION = "29035748";
|
||||||
|
|
||||||
// The name of the cache
|
// The name of the cache
|
||||||
const CACHE_NAME = `breakout-71-${VERSION}`;
|
const CACHE_NAME = `breakout-71-${VERSION}`;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
"29035727"
|
"29035748"
|
||||||
|
|