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',
|
'--no-admin',
|
||||||
this.hsUrl
|
this.hsUrl
|
||||||
];
|
];
|
||||||
const registerCmd = `./scripts/register_new_matrix_user ${registerArgs.join(' ')}`;
|
const registerCmd = `./register_new_matrix_user ${registerArgs.join(' ')}`;
|
||||||
const allCmds = [
|
const allCmds = [
|
||||||
`cd ${this.synapseSubdir}`,
|
`cd ${this.synapseSubdir}`,
|
||||||
". env/bin/activate",
|
". activate",
|
||||||
registerCmd
|
registerCmd
|
||||||
].join('&&');
|
].join(' && ');
|
||||||
|
|
||||||
await execAsync(allCmds, {cwd: this.cwd, encoding: 'utf-8'});
|
await execAsync(allCmds, {cwd: this.cwd, encoding: 'utf-8'});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user