aardio 文档

aardio 代码文件与工程文件

aardio 源文件

aardio 代码文件的后缀名为 .aardio,可包含 UTF-8 编码的源代码,也可以包含编译后的二进制代码。

aardio 工程文件

aardio 工程文件的后缀名为 .aproj,其内容是 XML 格式的工程配置,也使用 UTF-8 编码 。

aardio 允许在一个工程目录包含多个 aproj 工程文件,但大多时候一个工程目录基本上都只有一个 default.aproj 。

aardio 工程文件通常默认命名为 default.aproj 。

以下是一个 web.view 工程文件的内容:

<?xml version="1.0" encoding="utf-8"?>
<project ver="37" name="web.view 示例工程" libEmbed="true" icon="..." ui="win" output="发布名称.exe" CompanyName="aardio" FileDescription="aardio 工程名称" LegalCopyright="Copyright (C) 作者 2025" ProductName="产品名称" InternalName="内部文件名" FileVersion="0.0.0.1" ProductVersion="0.0.0.1" publishDir="/dist/" dstrip="false">
    <file name="main" path="main.aardio"/>
    <folder name="窗体" path="forms" comment="" embed="true" local="false" ignored="false"/>
    <folder name="网页" path="web" embed="true" comment="目录" local="true">
        <file name="index.html" path="web\index.html" comment="web\index.html"/>
        <file name="index.js" path="web\index.js" comment="web\index.js"/>
    </folder>
    <folder name="网页源码" path="web.src" embed="false" comment="目录" local="false" ignored="true"/>
</project>

aardio 工程根目录也是 应用程序根目录,在 aardio 中文件路径第一个字符如果是单个斜杠或反斜杠则表示应用程序根目录,例如 /res/test.txt

Markdown 格式