mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Fixes to get production build working
This commit is contained in:
parent
05c18d42db
commit
d8f4d1f313
4 changed files with 9 additions and 8 deletions
|
@ -103,12 +103,10 @@
|
|||
}
|
||||
},
|
||||
openStandalone() {
|
||||
if (window.getEnvironment() !== 'production') {
|
||||
window.addSetupMenuItems();
|
||||
this.resetViews();
|
||||
this.standaloneView = new Whisper.StandaloneRegistrationView();
|
||||
this.openView(this.standaloneView);
|
||||
}
|
||||
window.addSetupMenuItems();
|
||||
this.resetViews();
|
||||
this.standaloneView = new Whisper.StandaloneRegistrationView();
|
||||
this.openView(this.standaloneView);
|
||||
},
|
||||
closeStandalone() {
|
||||
if (this.standaloneView) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const crc32 = require('buffer-crc32');
|
||||
const sc_reduce32_module = require('../components/sc_reduce32/sc_reduce32');
|
||||
const sc_reduce32_module = require('./sc_reduce32');
|
||||
|
||||
module.exports = {
|
||||
mn_encode,
|
||||
|
|
|
@ -227,13 +227,16 @@
|
|||
"permissions_popup.html",
|
||||
"debug_log.html",
|
||||
"_locales/**",
|
||||
"libloki/mnemonic.js",
|
||||
"libloki/sc_reduce32.js",
|
||||
"mnemonic_languages/**",
|
||||
"protos/*",
|
||||
"js/**",
|
||||
"ts/**/*.js",
|
||||
"ts/*.js",
|
||||
"stylesheets/*.css",
|
||||
"!js/register.js",
|
||||
"!js/views/standalone_registration_view.js",
|
||||
"js/views/standalone_registration_view.js",
|
||||
"app/*",
|
||||
"preload.js",
|
||||
"about_preload.js",
|
||||
|
|
Loading…
Reference in a new issue