You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
adjust path to register script for pip installation
This commit is contained in:
@ -59,12 +59,12 @@ module.exports = class RestSessionCreator {
|
||||
'--no-admin',
|
||||
this.hsUrl
|
||||
];
|
||||
const registerCmd = `./scripts/register_new_matrix_user ${registerArgs.join(' ')}`;
|
||||
const registerCmd = `./register_new_matrix_user ${registerArgs.join(' ')}`;
|
||||
const allCmds = [
|
||||
`cd ${this.synapseSubdir}`,
|
||||
". env/bin/activate",
|
||||
". activate",
|
||||
registerCmd
|
||||
].join('&&');
|
||||
].join(' && ');
|
||||
|
||||
await execAsync(allCmds, {cwd: this.cwd, encoding: 'utf-8'});
|
||||
}
|
||||
|
Reference in New Issue
Block a user