fix(whatsapp.gblib): BASIC is disabled again.
This commit is contained in:
		
							parent
							
								
									8d512ca6a1
								
							
						
					
					
						commit
						4828a336af
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -196,7 +196,7 @@ export class GBMinService {
 | 
			
		|||
    GBServer.globals.minInstances.push(min);
 | 
			
		||||
 | 
			
		||||
    // Install default VBA module.
 | 
			
		||||
    // this.deployer.deployPackage(min, 'packages/default.gbdialog');
 | 
			
		||||
    //this.deployer.deployPackage(min, 'packages/default.gbdialog');
 | 
			
		||||
 | 
			
		||||
    // Call the loadBot context.activity for all packages.
 | 
			
		||||
    this.invokeLoadBot(GBServer.globals.appPackages, GBServer.globals.sysPackages, min, GBServer.globals.server);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -40,6 +40,7 @@ const express = require('express');
 | 
			
		|||
const bodyParser = require('body-parser');
 | 
			
		||||
import * as fs from 'fs';
 | 
			
		||||
var mkdirp = require('mkdirp');
 | 
			
		||||
var Path = require('path');
 | 
			
		||||
 | 
			
		||||
import { GBLog, IGBCoreService, IGBInstance, IGBPackage, GBMinInstance } from 'botlib';
 | 
			
		||||
import { GBAdminService } from '../packages/admin.gbapp/services/GBAdminService';
 | 
			
		||||
| 
						 | 
				
			
			@ -92,12 +93,11 @@ export class GBServer {
 | 
			
		|||
 | 
			
		||||
    // Creates working directory.
 | 
			
		||||
 | 
			
		||||
    const workDir = 'workDir'; 
 | 
			
		||||
    const workDir = Path.join(process.env.PWD, 'work'); 
 | 
			
		||||
    if (!fs.existsSync(workDir)){
 | 
			
		||||
      mkdirp.sync(workDir);
 | 
			
		||||
    } 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    server.listen(port, () => {
 | 
			
		||||
      (async () => {
 | 
			
		||||
        try {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue