mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 18:55:58 +03:00
751a1dc543
App checks at startup for an existing session, if there isn't one, it will start the tool to check for a login in the file:// origin. If there is one, it will copy the login over to the vector://vector origin. In principle this could also be used to migrate logins between other origins on the web if this were ever required. This includes a minified copy of the browserified js-sdk with a getAllEndToEndSessions() function added to the crypto store (https://github.com/matrix-org/matrix-js-sdk/pull/812). This is not great, but for a short-lived tool this seems better than introducing more entry points into webpack only used for the electron app.
6 lines
108 B
HTML
6 lines
108 B
HTML
<html>
|
|
<body>
|
|
<script src="browser-matrix.min.js"></script>
|
|
<script src="dest.js"></script>
|
|
</body>
|
|
</html>
|