Windows封装打包 
将您的网页打包成Windows应用,且集成了特殊扩展。
警告
系统还在内测实验中,敬请期待。
功能介绍 
- 网址白名单(仅白名单可访问)
 - 和网页版体验一致(谷歌浏览器引擎作为内核)
 - 自定义跨域(可自己配置同源策略)
 内置网络验证,用户授权系统 (卡密授权 - 暂未开发)- 可调用基础的windows功能 (扩展功能)
 - 支持网页内嵌JS远程脚本(打开网页嵌入自己的远程脚本)
 
警告
生成的EXE安装包,仅支持Windows 10/11系统。
自动打包时间 
周一至周日,每天10点到18点。
调用示例 
支持在网页中调用Windows的相关功能。
js
<script>
function isAppFunc(...data) {
    console.log('执行:', data);
    AppFunc(...data)
    .then((response) => {
        console.log('响应:', response);
        return response;
    })
    .catch((error) => {
        console.error('出错:', error);
        throw error;
    });
}
</script>打包信息 
可通过 window.app_ht 获取一些更多信息
获取当前打包版本号 
js
window.app_ht.versionjs
"1.0.0"获取当前打包核心版本 
js
window.app_ht.versionCodejs
2扩展功能包(Beta) 
系统_获取版本 ^1.0.0 
js
isAppFunc("getSystemVersion")响应: Windows 11 Home China
窗口_消息传递 ^1.0.2 
js
// 发送消息到其他窗口
window.sendToOtherWindows('custom-event', { data: 'Hello from Window 1' });响应: true
窗口_消息监听 ^1.0.2 
js
// 接收来自其他窗口的消息
window.onMessageFromOtherWindows('custom-event', (data) => {
    console.log('Received from other window:', data);
});响应: true
窗口_打开新页面 ^1.0.0 
js
isAppFunc("openUrl","https://www.baidu.com",500,500,"",true)响应: true
窗口_关闭 ^1.0.1 
js
isAppFunc("closeWindow")响应: true
窗口_全屏 ^1.0.0 
js
isAppFunc("fullscreen")响应: true
窗口_退出全屏 ^1.0.0 
js
isAppFunc("exitFullscreen")响应: true
窗口_最小化 ^1.0.0 
js
isAppFunc("minimizeWindow")响应: true
窗口_改变大小 ^1.0.0 
js
isAppFunc("resizeWindow", 800, 600)响应: true
注册表_读取 ^1.0.0 
js
isAppFunc("getRegistry","Software\\JumpwAAA","ABC")响应: CCCC
注册表_写入 ^1.0.0 
js
isAppFunc("setRegistry","Software\\JumpwAAA","ABC","CCCC")响应: true
注册表_删除 ^1.0.0 
js
isAppFunc("delRegistry","Software\\JumpwAAA","ABC")响应: true
文件_是否存在 ^1.0.0 
js
isAppFunc("isFile","D:\\2.txt")响应: true
文件_读取 ^1.0.0 
js
isAppFunc("getFile","D:\\2.txt")响应: 写入文件内容
文件_写入 ^1.0.0 
js
isAppFunc("setFile","D:\\2.txt","写入文件内容")响应: true
文件_删除 ^1.0.0 
js
isAppFunc("delFile","D:\\2.txt")响应: true
目录_打开指定目录 ^1.0.0 
js
isAppFunc("openDirectory","C:\\")响应: true
目录_获取文件列表 ^1.0.0 
js
isAppFunc("getFileList","C:\\")响应: ["data","1.txt","2.txt"]
进程_运行EXE ^1.0.0 
js
isAppFunc("runEXE","D:\\Game\\qq.exe aaa bbb")响应: true
进程_打开网址 ^1.0.0 
js
isAppFunc("runEXE","start https://www.acgice.com")响应: true
进程_软件名获取进程ID ^1.0.0 
js
isAppFunc("getProcessId","qq.exe")响应: 1112
进程_进程ID关闭 ^1.0.0 
js
isAppFunc("killProcessId",2132)响应: true
进程_软件名关闭 ^1.0.0 
js
isAppFunc("killProcessName","qq.exe")响应: true