Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyHookin committed Apr 25, 2021
0 parents commit fdc32ed
Show file tree
Hide file tree
Showing 10 changed files with 96 additions and 0 deletions.
6 changes: 6 additions & 0 deletions default.aproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<project ver="10" name="edge-TTS-record" libEmbed="true" icon="..." ui="win" output="edge-TTS-record.exe" CompanyName="单位名称" FileDescription="edge-TTS-record" LegalCopyright="Copyright (C) 作者 2021" ProductName="edge-TTS-record" InternalName="edge-TTS-record" FileVersion="0.0.0.1" ProductVersion="0.0.0.1" publishDir="/dist/" dstrip="false">
<file name="main.aardio" path="main.aardio" comment="main.aardio"/>
<folder name="资源文件" path="res" embed="true"/>
<folder name="窗体文件" path="dlg" comment="目录" embed="true"/>
</project>
21 changes: 21 additions & 0 deletions lib/config.aardio
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//config 配置文件
import fsys.config;
config = fsys.config("/config/");
//config = fsys.config( io.appData("/软件作者/应用程序名/") );

//不需要序列化的配置名字前请添加下划线
//在 config 名字空间内部请不要导入其他名字空间
namespace config {
__appName = "应用程序名";
__appVersion = "1.0.0.01";
__appDescription = "这是一个测试程序";
__website = "http://www.aardio.com/";
}

/**intellisense(config)
__appName = 应用程序名
__appVersion = 应用程序内部版本号
__appDescription = 程序说明
__website = 官方网站
? = 配置文件名,\n读写配置并序列化为一个表对象,\n表的成员值可以是支持序列化的普通变量,支持table对象\n配置文件在首次使用时自动加载,退出程序时自动保存\n!fsys_table.
end intellisense**/
42 changes: 42 additions & 0 deletions main.aardio
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
//Edge 语音合成

import chrome.edge;
var theApp = chrome.edge.app();
import console;
import fsys.dlg.dir;
theApp.external = {
startRecord = function(v){
console.log("startRecord")
}
stopRecord = function(v){
console.log("stopRecord")
}
getFileDir = function(v){
if(v=="./"){
return io._exedir;
}
var dir = fsys.dlg.dir();
return dir;
}
}
/*
theApp.httpHandler["\res\index.html"] = function(response,request){

}
*/

//调整窗口大小

theApp.indexReady(
function(){
//mainForm.show(false)
//theApp.setPos(,,620,680)
//mainForm.show()
}
)


//正式的启动chrome进程
theApp.start("http://localhost:8080/")

win.loopMessage();
5 changes: 5 additions & 0 deletions res/css/chunk-vendors.30cd8522.css

Large diffs are not rendered by default.

Binary file added res/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions res/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>tts-record-html</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="css/chunk-vendors.30cd8522.css" rel="preload" as="style"><link href="js/app.5d183bbe.js" rel="preload" as="script"><link href="js/chunk-vendors.37ca2be4.js" rel="preload" as="script"><link href="css/chunk-vendors.30cd8522.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but tts-record-html doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.37ca2be4.js"></script><script src="js/app.5d183bbe.js"></script></body></html>
2 changes: 2 additions & 0 deletions res/js/app.5d183bbe.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions res/js/app.5d183bbe.js.map

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions res/js/chunk-vendors.37ca2be4.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions res/js/chunk-vendors.37ca2be4.js.map

Large diffs are not rendered by default.

0 comments on commit fdc32ed

Please sign in to comment.