mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-25 03:38:21 +01:00
Update About
This commit is contained in:
parent
f38c586c67
commit
9fa5258ff6
@ -4,6 +4,8 @@ This is an example project, generated by AntOS Development Kit
|
||||
It is used to show the change logs of the current AntOS version
|
||||
|
||||
## Change logs
|
||||
### v0.1.0-b
|
||||
* Beta state, read README file from the current OS
|
||||
|
||||
### v0.0.7-a
|
||||
* Change app category to Utility
|
||||
|
81
About/build.json
Normal file
81
About/build.json
Normal file
@ -0,0 +1,81 @@
|
||||
{
|
||||
"name": "About",
|
||||
"targets": {
|
||||
"init": {
|
||||
"jobs": [
|
||||
{
|
||||
"name": "vfs-mkdir",
|
||||
"data": [
|
||||
"build",
|
||||
"build/debug",
|
||||
"build/release"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"coffee": {
|
||||
"require": [
|
||||
"coffee"
|
||||
],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "coffee-compile",
|
||||
"data": {
|
||||
"src": [
|
||||
"coffees/main.coffee"
|
||||
],
|
||||
"dest": "build/debug/main.js"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uglify": {
|
||||
"require": [
|
||||
"terser"
|
||||
],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "terser-uglify",
|
||||
"data": [
|
||||
"build/debug/main.js"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"copy": {
|
||||
"jobs": [
|
||||
{
|
||||
"name": "vfs-cp",
|
||||
"data": {
|
||||
"src": [
|
||||
"assets/scheme.html",
|
||||
"package.json",
|
||||
"README.md"
|
||||
],
|
||||
"dest": "build/debug"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"release": {
|
||||
"require": [
|
||||
"zip"
|
||||
],
|
||||
"depend": [
|
||||
"init",
|
||||
"coffee",
|
||||
"uglify",
|
||||
"copy"
|
||||
],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "zip-mk",
|
||||
"data": {
|
||||
"src": "build/debug",
|
||||
"dest": "build/release/About.zip"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -4,6 +4,8 @@ This is an example project, generated by AntOS Development Kit
|
||||
It is used to show the change logs of the current AntOS version
|
||||
|
||||
## Change logs
|
||||
### v0.1.0-b
|
||||
* Beta state, read README file from the current OS
|
||||
|
||||
### v0.0.7-a
|
||||
* Change app category to Utility
|
||||
|
@ -1,21 +0,0 @@
|
||||
|
||||
afx-app-window[data-id = "About"] a:link,
|
||||
afx-app-window[data-id = "About"] a:visited,
|
||||
afx-app-window[data-id = "About"] a:hover
|
||||
{
|
||||
color:#df3154;
|
||||
}
|
||||
afx-app-window[data-id = "About"] afx-hbox[data-id="wrapper"]
|
||||
{
|
||||
overflow-x: hidden;
|
||||
overflow-y:auto;
|
||||
}
|
||||
afx-app-window[data-id = "About"] div[data-id="container"]
|
||||
{
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
afx-app-window[data-id = "About"] img
|
||||
{
|
||||
max-width: 100%;
|
||||
}
|
@ -1 +1 @@
|
||||
(function(){var t;(t=class extends this.OS.application.BaseApplication{constructor(t){super("About",t)}main(){var t,n;return t=this,this.container=this.find("container"),(n="https://raw.githubusercontent.com/lxsang/antos/master/README.md").asFileHandle().read().then((function(n){var i;return i=new showdown.Converter,$(t.container).html(i.makeHtml(n))})).catch(()=>this.notify(__("Unable to read: {0}",n))),this.find("btnclose").onbtclick=()=>this.quit()}}).singleton=!0,t.dependencies=["os://scripts/showdown.min.js"],this.OS.register("About",t)}).call(this);
|
||||
(function(){var t;(t=class extends this.OS.application.BaseApplication{constructor(t){super("About",t)}main(){var t,n;return t=this,this.container=this.find("container"),(n="os://README.md").asFileHandle().read().then((function(n){var i;return i=new showdown.Converter,$(t.container).html(i.makeHtml(n))})).catch(()=>this.notify(__("Unable to read: {0}",n))),this.find("btnclose").onbtclick=()=>this.quit()}}).singleton=!0,t.dependencies=["os://scripts/showdown.min.js"],this.OS.register("About",t)}).call(this);
|
@ -6,7 +6,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "xsang.le@gmail.com"
|
||||
},
|
||||
"version":"0.0.7-a",
|
||||
"version":"0.1.0-b",
|
||||
"category":"Utility",
|
||||
"iconclass":"fa fa-question-circle",
|
||||
"mimes":["none"],
|
||||
|
Binary file not shown.
@ -5,7 +5,7 @@ class About extends this.OS.application.BaseApplication
|
||||
main: () ->
|
||||
me = @
|
||||
@container = @find "container"
|
||||
path = "https://raw.githubusercontent.com/lxsang/antos/master/README.md"
|
||||
path = "os://README.md"
|
||||
path.asFileHandle()
|
||||
.read()
|
||||
.then (txt) ->
|
||||
|
@ -6,7 +6,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "xsang.le@gmail.com"
|
||||
},
|
||||
"version":"0.0.7-a",
|
||||
"version":"0.1.0-b",
|
||||
"category":"Utility",
|
||||
"iconclass":"fa fa-question-circle",
|
||||
"mimes":["none"],
|
||||
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"name": "About",
|
||||
"css": ["css/main.css"],
|
||||
"javascripts": [],
|
||||
"ts": [],
|
||||
"coffees": ["coffees/main.coffee"],
|
||||
"copies": ["assets/scheme.html", "package.json", "README.md"]
|
||||
}
|
@ -5,7 +5,7 @@
|
||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/About/README.md",
|
||||
"category": "Utility",
|
||||
"author": "Xuan Sang LE",
|
||||
"version": "0.0.7-a",
|
||||
"version": "0.1.0-b",
|
||||
"dependencies": [],
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/About/build/release/About.zip"
|
||||
},
|
||||
@ -69,6 +69,16 @@
|
||||
"dependencies": ["Antunnel@0.2.0-b"],
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/AntunnelPlugins/build/release/AntunnelPlugins.zip"
|
||||
},
|
||||
{
|
||||
"pkgname": "AntunnelTestClient",
|
||||
"name": "AntunnelTestClient",
|
||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/AntunnelTestClient/README.md",
|
||||
"category": "Development",
|
||||
"author": "Dany LE",
|
||||
"version": "0.1.0-a",
|
||||
"dependencies": ["Antunnel@0.2.1-b"],
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/AntunnelTestClient/build/release/AntunnelTestClient.zip"
|
||||
},
|
||||
{
|
||||
"pkgname": "Archive",
|
||||
"name": "Archive",
|
||||
|
Loading…
Reference in New Issue
Block a user