mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
entrypoint: add missing, currently required set_password entry point
TODO: I think this can actually be part of the setup entrypoint/view at some point
This commit is contained in:
parent
f78a6ed14b
commit
f6d9b42911
6
src/public/app/set_password.ts
Normal file
6
src/public/app/set_password.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import "../stylesheets/bootstrap.scss";
|
||||
|
||||
// @TriliumNextTODO: is this even needed anymore?
|
||||
// @ts-ignore - module = undefined
|
||||
// Required for correct loading of scripts in Electron
|
||||
if (typeof module === 'object') {window.module = module; module = undefined;}
|
@ -45,9 +45,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Required for correct loading of scripts in Electron
|
||||
if (typeof module === 'object') {window.module = module; module = undefined;}
|
||||
</script>
|
||||
<script src="<%= appPath %>/set_password.js" crossorigin type="module"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -12,7 +12,9 @@ const config: Configuration = {
|
||||
setup: "./src/public/app/setup.js",
|
||||
mobile: "./src/public/app/mobile.js",
|
||||
desktop: "./src/public/app/desktop.js",
|
||||
share: "./src/public/app/share.js"
|
||||
share: "./src/public/app/share.js",
|
||||
// TriliumNextTODO: integrate set_password into setup entry point/view
|
||||
set_password: "./src/public/app/set_password.js"
|
||||
},
|
||||
output: {
|
||||
publicPath: `${assetPath}/app-dist/`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user