update sdk

This commit is contained in:
lxsang 2021-06-14 20:02:32 +02:00
parent c05fe5d1dd
commit 12f4c6d1b9
8 changed files with 7 additions and 5 deletions

View File

@ -2,6 +2,7 @@
AntOSDK: development API for AntOS based applications/projects AntOSDK: development API for AntOS based applications/projects
## Change logs ## Change logs
- 0.0.9: Fix locale gen bug
- 0.0.8: Update JQuery support in typescript - 0.0.8: Update JQuery support in typescript
- 0.0.7: enable typescript downlevelIteration compile option - 0.0.7: enable typescript downlevelIteration compile option
- 0.0.6: add GUI application for building a JSON build file - 0.0.6: add GUI application for building a JSON build file

View File

@ -2,6 +2,7 @@
AntOSDK: development API for AntOS based applications/projects AntOSDK: development API for AntOS based applications/projects
## Change logs ## Change logs
- 0.0.9: Fix locale gen bug
- 0.0.8: Update JQuery support in typescript - 0.0.8: Update JQuery support in typescript
- 0.0.7: enable typescript downlevelIteration compile option - 0.0.7: enable typescript downlevelIteration compile option
- 0.0.6: add GUI application for building a JSON build file - 0.0.6: add GUI application for building a JSON build file

View File

@ -133,7 +133,7 @@ class LocaleJob extends AntOSDKBaseJob {
// read the meta file // read the meta file
const contents = await this.read_files([this.job.data.dest]); const contents = await this.read_files([this.job.data.dest]);
const pkg = JSON.parse(contents[0]); const pkg = JSON.parse(contents[0]);
pkg.locale = locale; pkg.locales = locale;
// save data // save data
const result = await this.save_file(this.job.data.dest,pkg,"object"); const result = await this.save_file(this.job.data.dest,pkg,"object");
this.log_info(`locale-gen: locale file generated at ${this.job.data.dest}`); this.log_info(`locale-gen: locale file generated at ${this.job.data.dest}`);

View File

@ -7,7 +7,7 @@
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"email": "mrsang@iohub.dev" "email": "mrsang@iohub.dev"
}, },
"version": "0.0.8-a", "version": "0.0.9-a",
"category": "Development", "category": "Development",
"iconclass": "fa fa-cog", "iconclass": "fa fa-cog",
"mimes": [ "mimes": [

View File

@ -133,7 +133,7 @@ class LocaleJob extends AntOSDKBaseJob {
// read the meta file // read the meta file
const contents = await this.read_files([this.job.data.dest]); const contents = await this.read_files([this.job.data.dest]);
const pkg = JSON.parse(contents[0]); const pkg = JSON.parse(contents[0]);
pkg.locale = locale; pkg.locales = locale;
// save data // save data
const result = await this.save_file(this.job.data.dest,pkg,"object"); const result = await this.save_file(this.job.data.dest,pkg,"object");
this.log_info(`locale-gen: locale file generated at ${this.job.data.dest}`); this.log_info(`locale-gen: locale file generated at ${this.job.data.dest}`);

View File

@ -7,7 +7,7 @@
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"email": "mrsang@iohub.dev" "email": "mrsang@iohub.dev"
}, },
"version": "0.0.8-a", "version": "0.0.9-a",
"category": "Development", "category": "Development",
"iconclass": "fa fa-cog", "iconclass": "fa fa-cog",
"mimes": [ "mimes": [

View File

@ -195,7 +195,7 @@
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/README.md", "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/README.md",
"category": "Development", "category": "Development",
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"version": "0.0.8-a", "version": "0.0.9-a",
"dependencies": [], "dependencies": [],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/build/release/libantosdk.zip" "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/build/release/libantosdk.zip"
}, },