Update About

This commit is contained in:
DanyLE
2022-07-22 20:42:12 +02:00
parent f38c586c67
commit 9fa5258ff6
11 changed files with 100 additions and 34 deletions

View File

@ -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

View File

@ -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%;
}

View File

@ -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);

View File

@ -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"],