new(core.gbapp): New FIND keyword for General Bots BASIC.

This commit is contained in:
Rodrigo Rodriguez 2020-05-14 12:48:36 -03:00
parent c8a7201488
commit 9b9c79fbb4
4 changed files with 4 additions and 1 deletions

View file

@ -545,7 +545,7 @@ export class GBDeployer implements IGBDeployer {
public async callGBAppCompiler(gbappPath: string, core: IGBCoreService,
appPackages: any[] = undefined, appPackagesProcessed: number = 0) {
GBLog.info(`Deploying General Bots Application (.gbapp) or Library (.gblib): ${Path.basepath(gbappPath)}...`);
GBLog.info(`Deploying General Bots Application (.gbapp) or Library (.gblib): ${Path.basename(gbappPath)}...`);
let folder = Path.join(gbappPath, 'node_modules');
if (process.env.GBAPP_DISABLE_COMPILE !== "true") {
if (!Fs.existsSync(folder)) {

View file

@ -210,6 +210,9 @@ export class GBMinService {
const { min, adapter, conversationState } = await this.buildBotAdapter(instance, GBServer.globals.sysPackages);
GBServer.globals.minInstances.push(min);
this.deployer.deployPackage(min, 'packages/default.gbdialog');
// Install per bot deployed packages.
let packagePath = `work/${min.botId}.gbdialog`;