|
@@ -94,7 +94,7 @@ export class DeviceController extends Controller {
|
|
|
appGuid: "",
|
|
|
};
|
|
|
this.appDataDir = await this.GetAppDataDir();
|
|
|
- const httpServer = await this.StartHttpServer(`${this.appDataDir}/screen/`);
|
|
|
+ const httpServer = await this.StartHttpServer(`${this.appDataDir}/screen`);
|
|
|
this.httpServer = httpServer.substring(0, httpServer.length - 1);
|
|
|
console.log("current app profile=>", this.profile);
|
|
|
}
|
|
@@ -256,6 +256,7 @@ export class DeviceController extends Controller {
|
|
|
|
|
|
//开启projects 的httpserver
|
|
|
StartHttpServer(prjFile: string): Promise<string> {
|
|
|
+ console.log("start server ", prjFile);
|
|
|
const sid = Date.now();
|
|
|
return new Promise((r) => {
|
|
|
const ipc = this.ipc;
|