Skip to content

Commit

Permalink
deploy: 7daa0e7
Browse files Browse the repository at this point in the history
  • Loading branch information
tddang-linagora committed Jan 6, 2025
1 parent 402267d commit 9ce196b
Show file tree
Hide file tree
Showing 10 changed files with 7,502 additions and 5,061 deletions.
2 changes: 1 addition & 1 deletion 3384/flutter_bootstrap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions 3384/flutter_service_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ const RESOURCES = {"icons/Icon-maskable-192.png": "009a8eae32218365ab20cce81aa89
"assets/env.file": "48ca294dae965d691eb82c075ec240d5",
"assets/shaders/ink_sparkle.frag": "ecc85a2e95f5e9f53123dcaf8cb9b6ce",
"assets/AssetManifest.bin.json": "ac51e5f35bcf9a302a5650aecb9089c0",
"version.json": "27f5a8de122a2575cec923437ceb123e",
"version.json": "fdb8432f74e723d2913d5c6d853d7ebf",
"manifest.json": "c2c66c9dd73fa42a8a2c5e95615de7d1",
"canvaskit/chromium/canvaskit.js.symbols": "ee7e331f7f5bbf5ec937737542112372",
"canvaskit/chromium/canvaskit.wasm": "399e2344480862e2dfa26f12fa5891d7",
Expand Down Expand Up @@ -327,10 +327,10 @@ const RESOURCES = {"icons/Icon-maskable-192.png": "009a8eae32218365ab20cce81aa89
"splash/style.css": "cc60b7a16945acc8c8f2492dfa54d668",
"splash/splash.js": "123c400b58bea74c1305ca3ac966748d",
"main.dart.js_8.part.js": "82411a44c43afd84ff221abf68d10929",
"main.dart.js_2.part.js": "f475e31eef2d43d818da25649cd28cd3",
"index.html": "ddc707914d70ea39e41a57a1a1ed42b9",
"/": "ddc707914d70ea39e41a57a1a1ed42b9",
"main.dart.js_1.part.js": "cfd891fe7868a36067e0385f7c3cb476",
"main.dart.js_2.part.js": "2d0a05a8770ec939190676bfcace85a9",
"index.html": "dcf46cb7f8a82b22070532048d198fee",
"/": "dcf46cb7f8a82b22070532048d198fee",
"main.dart.js_1.part.js": "2892b4617dc1ba646dac0d9f71af0f6c",
"favicon.svg": "1734d2c8d930abd57ebba9c158506714",
"main.dart.js_6.part.js": "4c344e180fa47a08373c5b10641c863a",
"i18n/fr.json": "7617ec5651456d93357805d0b56aa429",
Expand All @@ -341,8 +341,8 @@ const RESOURCES = {"icons/Icon-maskable-192.png": "009a8eae32218365ab20cce81aa89
"flutter.js": "383e55f7f3cce5be08fcf1f3881f585c",
"login-callback.html": "e17f83d4982ea3cce6e692b31c4b4beb",
"logout-callback.html": "999326dc9a0f37c9a9a4280b4a35dc51",
"main.dart.js_7.part.js": "9b5623d3e59c3b65300f175df72b94c8",
"flutter_bootstrap.js": "753de79e0756c27f166a9ef0cb575cce",
"main.dart.js_7.part.js": "00e9c2778ca8280bae409188144fd767",
"flutter_bootstrap.js": "a79d6eab4c376bfee4a6c0ea0357f837",
"worker_service/img/ic-close-1x.png": "27b9c71ff0cf463da5f1affb11b4c204",
"worker_service/img/tmail-3x.png": "7b5f8e671c4f39ae5d1a67b46fe494d7",
"worker_service/img/tmail-2x.png": "55f91555db37edb9ed0608f7ee3f37ee",
Expand All @@ -353,9 +353,9 @@ const RESOURCES = {"icons/Icon-maskable-192.png": "009a8eae32218365ab20cce81aa89
"worker_service/img/ic-close-2x.png": "4472c6a715b4bab53815806f07f59d0f",
"worker_service/worker_service.js": "c741398f2ab58bd36f7c510a8429fc41",
"worker_service/style.css": "3ec186c93eb7bdab17e882de738e3123",
"main.dart.js_4.part.js": "8fc2f74e5912ca183ee5fd8a42afb093",
"main.dart.js_5.part.js": "22389b418a3302075baf9189cf171b4f",
"main.dart.js": "3d77fb20aa29aaf78b444ef0fd008682",
"main.dart.js_4.part.js": "07d1f9912e124895c813e3bf3f6c1612",
"main.dart.js_5.part.js": "0603085d4613296f658ffd14e3cc918c",
"main.dart.js": "a7450187e7037919901b343b012b4964",
"main.dart.js_3.part.js": "69ec72afffb27201a73d9811892bedbc"};
// The application shell files that are downloaded before a service worker can
// start.
Expand Down
36 changes: 27 additions & 9 deletions 3384/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,33 @@

loadLanguageResources().finally(initialTmailApp);

_flutter.loader.load({
serviceWorkerSettings: {
serviceWorkerVersion: "4294276247",
},
onEntrypointLoaded: async function(engineInitializer) {
const appRunner = await engineInitializer.initializeEngine();
await appRunner.runApp();
}
});
if ('serviceWorker' in navigator) {
navigator
.serviceWorker
.getRegistrations()
.then(async function(registrations) {
try {
await Promise.all(registrations.map(function(registration) {
return registration.unregister();
}));
} catch (error) {
console.log('[Twake Mail] Error unregistering service worker: ', error);
}
_flutter.loader.load({
onEntrypointLoaded: async function(engineInitializer) {
const appRunner = await engineInitializer.initializeEngine();
await appRunner.runApp();
}
});
});
} else {
_flutter.loader.load({
onEntrypointLoaded: async function(engineInitializer) {
const appRunner = await engineInitializer.initializeEngine();
await appRunner.runApp();
}
});
}
</script>
<script src="https://unpkg.com/pica/dist/pica.min.js" ></script>
</body>
Expand Down
Loading

0 comments on commit 9ce196b

Please sign in to comment.