proxied fetch support

This commit is contained in:
josc146
2024-03-26 21:23:09 +08:00
parent c2799c9494
commit 08bc342fd6
6 changed files with 96 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ export function GetAbsPath(arg1:string):Promise<string>;
export function GetPlatform():Promise<string>;
export function GetProxyPort():Promise<number>;
export function GetPyError():Promise<string>;
export function InstallPyDep(arg1:string,arg2:boolean):Promise<string>;

View File

@@ -62,6 +62,10 @@ export function GetPlatform() {
return window['go']['backend_golang']['App']['GetPlatform']();
}
export function GetProxyPort() {
return window['go']['backend_golang']['App']['GetProxyPort']();
}
export function GetPyError() {
return window['go']['backend_golang']['App']['GetPyError']();
}