fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
4 changed files with 4 additions and 1 deletions
Showing only changes of commit 9b9c79fbb4 - Show all commits

View file

@ -545,7 +545,7 @@ export class GBDeployer implements IGBDeployer {
public async callGBAppCompiler(gbappPath: string, core: IGBCoreService, public async callGBAppCompiler(gbappPath: string, core: IGBCoreService,
appPackages: any[] = undefined, appPackagesProcessed: number = 0) { 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'); let folder = Path.join(gbappPath, 'node_modules');
if (process.env.GBAPP_DISABLE_COMPILE !== "true") { if (process.env.GBAPP_DISABLE_COMPILE !== "true") {
if (!Fs.existsSync(folder)) { if (!Fs.existsSync(folder)) {

View file

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