免费试用

中文化、本土化、云端化的在线跨平台软件开发工具,支持APP、电脑端、小程序、IOS免签等等

苹果软件打包网站

苹果软件打包网站,也被称为苹果软件封装网站,是指一种将苹果应用程序打包成安装包的网站。这样可以方便用户下载和安装软件,同时也可以保护软件的版权和安全性。下面将详细介绍苹果软件打包网站的原理和操作流程。

一、原理

苹果软件打包网站的原理是将苹果应用程序打包成安装包,让用户可以直接下载安装。苹果应用程序通常是以.app为后缀的文件,这种文件不能直接被安装在其他电脑上。但是,苹果操作系统提供了一种打包工具——pkgbuild,可以将苹果应用程序打包成.pkg安装包。苹果软件打包网站就是利用这种工具将苹果应用程序打包成.pkg安装包,并上传到服务器上,供用户下载和安装。

二、操作流程

苹果软件打包网站的操作流程主要包括以下几个步骤:

1. 准备工作

在打包之前,需要准备好以下工具和文件:

- Xcode:苹果官方开发工具,用于编写和打包应用程序。

- pkgbuild:苹果提供的打包工具,可以将应用程序打包成安装包。

- Distribution.xml:描述安装包的元数据文件,包括软件名称、版本号、作者、版权信息等。

- 应用程序文件:需要打包的应用程序文件。

2. 创建安装包

使用pkgbuild工具创建安装包,命令格式如下:

pkgbuild --root 应用程序目录 --identifier com.example.app --version 1.0 --install-location /Applications --scripts 脚本目录 安装包名称.pkg

其中,--root参数指定应用程序的根目录,--identifier参数指定唯一标识符,--version参数指定版本号,--install-location参数指定安装位置,--scripts参数指定脚本目录,安装包名称.pkg为自定义的安装包名称。

3. 编写元数据文件

使用文本编辑器编写Distribution.xml文件,描述安装包的元数据信息,命令格式如下:

软件名称

软件名称

软件名称.pkg

其中,标签指定软件名称,<background>标签指定安装界面背景图片,<license>、<readme>、<conclusion>标签分别指定安装过程中的许可协议、使用说明和安装完成后的提示信息。 <choices-outline>标签定义安装选项,<pkg-ref>标签指定安装包的唯一标识符和版本号,以及安装包的文件名。</p><p>4. 打包安装程序</p><p>使用productbuild工具将安装包和Distribution.xml文件打包成安装程序,命令格式如下:</p><p>productbuild --distribution Distribution.xml --resources 资源目录 --package-path 安装包目录 安装程序名称.pkg</p><p>其中,--distribution参数指定Distribution.xml文件路径,--resources参数指定资源目录,--package-path参数指定安装包目录,安装程序名称.pkg为自定义的安装程序名称。</p><p>5. 上传到网站</p><p>将打包好的安装程序上传到网站服务器,供用户下载和安装。</p><p>三、总结</p><p>苹果软件打包网站是一种将苹果应用程序打包成安装包的网站。其原理是利用pkgbuild工具将应用程序打包成.pkg安装包,再使用productbuild工具将安装包和Distribution.xml文件打包成安装程序。操作流程包括准备工作、创建安装包、编写元数据文件、打包安装程序和上传到网站。通过苹果软件打包网站,用户可以方便地下载和安装软件,同时也可以保护软件的版权和安全性。</p></div> <hr style="margin: 20px 0;height: 0;border: none; border-bottom: 1px dashed #ddd;"/> <div class="tag-banner"><a href="https://ruanzhu.yimenapp.com/"><img src="//cdn.myapp.ltd/ag/3/xinruanzhu.gif" style="vertical-align: top;display: inline-block;width: auto;max-width:100%;"></a></div> <div style="font-size:130%;padding-top:20px;">相关知识:</div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/09458250694.jpg"/> <div class=content> <a class=title href="info@-apk-chong-xin-da-bao-gong-ju-5971.html">apk重新打包工具</a> <div class=summary>APK重新打包工具可以将已经编译好的APK文件进行修改和重新打包,以达到对APK文件进行二次开发或者修改的目的。这种工具在Android应用开发中非常常见,特别是在进行反编译和修改已有应用功能时,使用这种工具可以节省很多人力和时间。APK重新打包工具的原理</div> <div class=date>2023-04-06</div> </div> </div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/05982576251.jpg"/> <div class=content> <a class=title href="info@-an-zhuo-app-jie-gou-5785.html">安卓app结构</a> <div class=summary>安卓应用程序结构是安卓应用程序的基础架构,它由四个主要组件构成:活动(Activity)、服务(Service)、广播接收器(Broadcast Receiver)和内容提供者(Content Provider)。这些组件相互协作,共同构成了一个完整的安卓</div> <div class=date>2023-04-06</div> </div> </div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/09458250694.jpg"/> <div class=content> <a class=title href="info@-web-wang-xie-da-bao-app-4933.html">web网页打包app</a> <div class=summary>Web网页打包App是利用特定的工具将Web网页转化为原生应用程序的过程。在这个过程中,开发人员可以利用各种技术来将Web网页转化为Android和iOS平台上的应用程序。这种技术越来越受欢迎,因为它可以帮助开发人员快速创建跨平台应用程序,而无需为每个平台</div> <div class=date>2023-04-06</div> </div> </div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/09458250694.jpg"/> <div class=content> <a class=title href="info@-web-xiang-mu-yi-jian-da-bao-app-4902.html">web项目一键打包app</a> <div class=summary>随着移动互联网的普及,越来越多的网站开始考虑如何将自己的网站打包成APP,以便更好地满足用户的需求。本文将介绍如何使用一键打包app的工具来实现这一目标。一、什么是一键打包app?一键打包app是一种将网站快速打包成APP的工具。它可以帮助开发人员将网站转</div> <div class=date>2023-04-06</div> </div> </div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/09458250694.jpg"/> <div class=content> <a class=title href="info@-url-ying-yong-da-bao-4451.html">url应用打包</a> <div class=summary>URL应用打包是一种将多个网页或应用程序打包为一个文件的技术。该技术可以提高网页或应用程序的加载速度和性能,并且可以减少网络带宽的使用量。本文将介绍URL应用打包的原理和详细介绍。一、URL应用打包的原理URL应用打包的原理是将多个网页或应用程序的代码、样</div> <div class=date>2023-04-06</div> </div> </div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/09458250694.jpg"/> <div class=content> <a class=title href="info@-li-xian-da-bao-ruan-jian-shui-ming-4435.html">离线打包软件说明</a> <div class=summary>离线打包软件是一种将网页或应用程序的所有文件打包成一个独立的文件,使其可以在没有网络连接的情况下运行的工具。这种软件可以将所有的HTML、CSS、JavaScript、图片和其他文件打包成一个文件,这样用户就可以在离线的情况下访问这个网页或应用程序。离线打</div> <div class=date>2023-04-06</div> </div> </div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/09458250694.jpg"/> <div class=content> <a class=title href="info@-url-da-bao-apk-4349.html">url打包apk</a> <div class=summary>在移动应用开发中,将网页封装成一个移动应用是一种常见的方式。这种方式不仅可以让用户更方便地访问网页,还可以提供更好的用户体验。而将网页封装成移动应用需要用到一种叫做打包apk的技术。APK(Android Package Kit)是Android应用程序的</div> <div class=date>2023-04-06</div> </div> </div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/09458250694.jpg"/> <div class=content> <a class=title href="info@-wang-zhan-feng-zhuang-cheng-app-shou-ji-ruan-jian-4181.html">网站封装成app手机软件</a> <div class=summary>将网站封装成手机应用程序是一种非常流行的方式,可以将网站的功能和内容转化为更易于使用的形式,提高用户的使用体验。本文将介绍如何将网站封装成手机应用程序的原理和详细步骤。一、封装网站的原理将网站封装成手机应用程序的原理是将网站的前端页面和后端功能进行整合和转</div> <div class=date>2023-04-06</div> </div> </div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/09458250694.jpg"/> <div class=content> <a class=title href="info@-da-bao-appthinning-3809.html">打包appthinning</a> <div class=summary>App Thinning是苹果在iOS 9之后推出的一项技术,旨在减小应用程序的大小,提高应用程序的性能和效率。App Thinning使用的技术包括切割、位码化和压缩。下面将详细介绍这些技术。切割(Slicing)切割是App Thinning的核心技术</div> <div class=date>2023-04-06</div> </div> </div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/09458250694.jpg"/> <div class=content> <a class=title href="info@-iosapp-tui-jian-3554.html">iosapp推荐</a> <div class=summary>iOS系统上的App数量众多,但是有些App比较特别,推荐给大家。1. WorkflowWorkflow是一款非常强大的自动化应用,可以让你用简单的拖拽操作创建自动化任务,比如快速转换图片格式、发送电子邮件、创建PDF文件等等。Workflow还可以通过S</div> <div class=date>2023-04-06</div> </div> </div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/09458250694.jpg"/> <div class=content> <a class=title href="info@-ios-da-bao-cheng-plist-3253.html">ios打包成plist</a> <div class=summary>在iOS开发中,我们经常需要将应用打包成.ipa文件,然后通过邮件或者其他方式分发给测试人员或者客户。但是,有时候我们需要将应用打包成.plist文件,这是为什么呢?本文将为大家介绍iOS打包成.plist的原理和详细步骤。1.什么是.plist文件.pl</div> <div class=date>2023-04-06</div> </div> </div> <div class=aitem> <img src="//i.cdn.yimenapp.com/2023-04/03/11/09458250694.jpg"/> <div class=content> <a class=title href="info@-apk-bao-3137.html">apk包</a> <div class=summary>APK包是安卓应用程序的安装包,是Android应用程序的一种标准格式。APK包包含了应用程序的所有必要组件,包括代码、资源、配置文件和其他文件。APK包是Android应用程序的主要分发方式,用户可以从应用商店或其他渠道下载APK包来安装应用程序。APK</div> <div class=date>2023-04-06</div> </div> </div> </div> </div> <div class="topMs" style="height:auto;background:#fff;"></div> <style> .footer {background: #F9F9FA;height: auto;width: 100%;clear: both;} .link_list1 {width: 100%;clear: both;border-top: 1px solid #fff;margin-top: 9px;} .fflist {position: relative;height: auto;} .fflist-title {position: absolute;left: 0;text-align: left;line-height: 25px;font-size: 13px;color: #6a7582;letter-spacing: .43px;padding-right: 20px;font-weight: 700;} .fflist-wrap {zoom: 1;padding-left: 70px;width: 100%;box-sizing: border-box;} .fflist-link{display: inline-block;width: 10%;text-align: left;line-height: 25px;font-size: 12px;color: #6a7582;letter-spacing: .43px;text-decoration: none;} </style> <div class="footer"> <div class="width_normal"> <ul class="foot_ul"> <li class="foot_title">一门APP</li> <li><a href="https://www.yimenapp.com/aboutus.html">关于我们 ›</a></li> <li><a href="https://www.yimenapp.com/info/shi-yong-tiao-kuan-258.html">使用条款 ›</a></li> <li><a href="https://www.yimenapp.com/aboutus.html">隐私条款 ›</a></li> <li><a href="https://www.yimenapp.com/aboutus.html">企业文化 ›</a></li> <li><a href="https://www.yimenapp.com/aboutus.html">企业历程 ›</a></li> </ul> <ul class="foot_ul"> <li class="foot_title">主要产品</li> <li><a href="https://www.yimenapp.com/more.html">一门APP ›</a></li> <li><a href="https://www.yimenapp.com/exe.html">一门应用 ›</a></li> <li><a href="https://www.yimenapp.com/shop.cshtml">一门云商城 ›</a></li> <li><a href="https://www.yimenapp.com/jiaocheng.html">使用教程 ›</a></li> </ul> <ul class="foot_ul"> <li class="foot_title">增值服务</li> <li><a href="https://www.yimenapp.com/iosup.html">苹果上架 ›</a></li> <li><a href="https://www.yimenapp.com/androidup.html">安卓上架 ›</a></li> <li><a href="https://www.yimenapp.com/appruanzhu.html">软著申请 ›</a></li> <li><a href="https://bbs.yimenapp.com/forum-151-1.html">应用内测 ›</a></li> </ul> <ul class="foot_ul"> <li class="foot_title">开放平台</li> <li><a href="/module">组件模块 ›</a></li> <li><a href="doc/demo.cshtml">APP Demo ›</a></li> <li><a href="/desktop/doc/#/api/variable">PC Demo ›</a></li> <li><a href="https://bbs.yimenapp.com">开发者社区 ›</a></li> </ul> <ul class="foot_ul"> <li class="foot_title">语言版本</li> <li><a href="/" onclick='document.cookie="_ymlang=zh"'>简体中文 ›</a></li> <li><a href="/" onclick='document.cookie="_ymlang=zh-tw"'>繁体中文 ›</a></li> <li><a href="/" onclick='document.cookie="_ymlang=en"'>英文 ›</a></li> </ul> <ul class="foot_ul contactUs"> <li class="foot_title"><a href="aboutus.html">联系我们</a></li> <li>企业电话: 4001658508</li> <li>企业QQ: 4001658508</li> <li>座机: 028-65787095</li> <li>邮箱: dev@yimenapp.com</li> <li>地址: 四川省成都市高新区剑南大道1537号3栋4楼</li> </ul> <div class="link_list1"> <div class="fflist"> <span class="fflist-title">一门产品</span> <div class="fflist-wrap"> <a class="fflist-link" href="/more.html" target="_blank">APP打包</a> <a class="fflist-link" href="https://sapp.yimenapp.com" target="_blank">小程序打包</a> <a class="fflist-link" href="//exe.yimenapp.com" target="_blank">EXE打包</a> <a class="fflist-link" href="/shop.html" target="_blank">云商城</a> <a class="fflist-link" href="/discuz.html" target="_blank">Discuz app</a> <a class="fflist-link" href="/wordpress.html" target="_blank">Wordpress app</a> <a class="fflist-link" href="/webclip.html" target="_blank">Webclip</a> <a class="fflist-link" href="/softpage.html" target="_blank">APP软著申请</a> <a class="fflist-link" href="/iosup.html" target="_blank">APP上架</a> <a class="fflist-link" href="/ssl.html" target="_blank">SSL加密</a> <a class="fflist-link" href="/iosmianqian.html" target="_blank">IOS免签版</a> <a class="fflist-link" href="/vueapp.html" target="_blank">vue做APP</a> <a class="fflist-link" href="/appfenfa.html" target="_blank">APP分发</a> <a class="fflist-link" href="https://platform.yimenapp.com/ioszhengshu.html" target="_blank">IOS证书制作工具</a> <a class="fflist-link" href="https://zaixian.yimenapp.com/androidzhengshu.html" target="_blank">安卓证书制作工具</a> <a class="fflist-link" href="https://tool.yimenapp.com/chongqianming.html" target="_blank">安卓重签名工具</a> <a class="fflist-link" href="https://www.yimenapp.com/special.html" target="_blank">更多</a> </div> </div> <div class="fflist"> <span class="fflist-title">一门文档</span> <div class="fflist-wrap"> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/category/zixun/" target="_blank">行业技术</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/category/androidinfo/" target="_blank">安卓开发</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/category/iosinfo/" target="_blank">IOS开发</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/category/www/" target="_blank">互联网</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/category/windows/" target="_blank">Windows</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/category/macos/" target="_blank">Macos</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/category/kaifangpingtai/" target="_blank">开放平台</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/category/jssdk/" target="_blank">JS-SDK</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/category/appcs/" target="_blank">测试分发</a> </div> </div> <div class="fflist"> <span class="fflist-title">三方平台</span> <div class="fflist-wrap"> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/app/hwopen/" target="_blank">华为开放平台</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/app/oppokfpt/" target="_blank">OPPO开放平台</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/app/vivokfpt/" target="_blank">VIVO开放平台</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/app/xiaomikfpt/" target="_blank">小米开放平台</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/app/meizukfpt/" target="_blank">魅族开放平台</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/app/weixinopen/" target="_blank">微信开放平台</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/app/zfbopen/" target="_blank">支付宝开放平台</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/app/baiduopen/" target="_blank">百度开放平台</a> <a class="fflist-link" href="https://www.yimenapp.com/kb-yimen/app/qqopen/" target="_blank">腾讯开放平台</a> </div> </div> <div class="fflist"> <span class="fflist-title">推荐模块</span> <div class="fflist-wrap"> <a class="fflist-link" href="/module/yuan-sheng-biao-ti-lan-1.html" target="_blank">原生标题栏</a> <a class="fflist-link" href="/module/sao-yi-sao-8.html" target="_blank">扫一扫</a> <a class="fflist-link" href="/module/an-gao-qi-dong-bing-32.html" target="_blank">广告启动屏</a> <a class="fflist-link" href="/module/wei-xin-fen-xiang-33.html" target="_blank">微信分享</a> <a class="fflist-link" href="/module/ce-bian-lan-52.html" target="_blank">侧边栏</a> <a class="fflist-link" href="/module/AppsFlyer--tong-ji-152.html" target="_blank">AppsFlyer统计</a> <a class="fflist-link" href="/module/zhi-fu-bao-zhi-fu-37.html" target="_blank">支付宝支付</a> <a class="fflist-link" href="/module/X5-nei-he-20.html" target="_blank">X5内核</a> <a class="fflist-link" href="/module/chuan-shan-jia-an-gao-90.html" target="_blank">穿山甲广告</a> <a class="fflist-link" href="/module/liu-lan-qi-UA-13.html" target="_blank">浏览器UA</a> <a class="fflist-link" href="/module/iOS-nei-gou-30.html" target="_blank">IOS内购</a> <a class="fflist-link" href="/module/tuo-luo-yi-59.html" target="_blank">陀螺仪</a> <a class="fflist-link" href="/module/ji-shi-tong-xun-64.html" target="_blank">融云IM</a> <a class="fflist-link" href="/module/IDFA--an-gao-biao-shi-fu-75.html" target="_blank">IDFA广告标识</a> <a class="fflist-link" href="/module/IMEIOAID--biao-shi-74.html" target="_blank">IMEI/OAID</a> <a class="fflist-link" href="/module/ge-tui-tui-song-39.html" target="_blank">个推推送</a> <a class="fflist-link" href="/module/gao-de-ding-wei-130.html" target="_blank">高德定位</a> <a class="fflist-link" href="/module/wei-xin-deng-lu-11.html" target="_blank">微信登录</a> </div> </div> <div style="text-align:center;padding-top:2em;line-height:2.2em"><a href="/jiage-109.html">获苹果手机udid并打包app</a> <span style="color:#ddd"> | </span> <a href="/jiage-279.html">普通html打包成app</a> <span style="color:#ddd"> | </span> <a href="/jiage-318.html">打包wapapp</a> <span style="color:#ddd"> | </span> <a href="/jiage-662.html">网站打包成apk</a> <span style="color:#ddd"> | </span> <a href="/jiage-1113.html">ios一键打包</a> <span style="color:#ddd"> | </span> <a href="/jiage-1314.html">把网站打包成安卓app</a> <span style="color:#ddd"> | </span> <a href="/jiage-1511.html">h5网页封装app免签</a> <span style="color:#ddd"> | </span> <a href="/jiage-1578.html">mui打包apk</a> <span style="color:#ddd"> | </span> <a href="/jiage-1737.html">aidlux打包apk</a> <span style="color:#ddd"> | </span> <a href="/jiage-1877.html">ios应用分身</a> <span style="color:#ddd"> | </span> <a href="/jiage-1893.html">vue打包app工具</a> <span style="color:#ddd"> | </span> <a href="/jiage-2025.html">android编译链接打包apk</a> <span style="color:#ddd"> | </span> <a href="/jiage-2085.html">iosflutter打包</a> <span style="color:#ddd"> | </span> <a href="/jiage-2298.html">在线苹果打包</a> <span style="color:#ddd"> | </span> <a href="/jiage-2578.html">app分享</a> <span style="color:#ddd"> | </span> <a href="/jiage-2754.html">制作app网站</a> <span style="color:#ddd"> | </span> <a href="/jiage-2814.html">apk共存工具</a> <span style="color:#ddd"> | </span> <a href="/jiage-3104.html">实用的apk</a></div> <div class="link_list"> <span>友情链接:</span> <a href="https://www.yimenapp.com">APP开发</a> <a href="https://bbs.yimenapp.com">APP开发社区</a> <a href="http://www.anzhuoe.cn">安卓上架</a> <a href="https://www.yimenapp.net">APP打包</a> <a href="http://app.applebyme.cn">APP生成</a> <a href="http://www.yimenapp.cn">APP封装</a> <a href="http://www.uapp.club">webclip</a><a href="http://www.yizhanapp.com">驿站APP</a> <a href="http://discuz.yizhanapp.com">discuz做APP</a> <a href="http://www.applebyme.cn/">苹果APP上架</a> <a href="https://www.yimenapp.com/wordpress.html">wordpress app</a><a href="https://www.yimenssl.com/">低价ssl</a> <div style="clear:both;"></div> </div> </div> </div> <div class="bottom"> <div class="width_normal"> <span>©2015-2021 成都七扇门科技有限公司 yimenapp.com</span> <span><img src="//cdn.myapp.ltd/ag/35/img/foot_1.png"/> <a href="https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=51019002001185">川公网安备 51019002001185号</a></span> <span><a href="https://beian.miit.gov.cn/">蜀ICP备17005078号-4</a></span> <span><a href="https://v.yunaq.com/certificate?domain=www.yimenapp.com&from=label&code=90030"><img src="//cdn.myapp.ltd/ag/35/img/foot_2.png" class="bot_img"/></a></span> <div style="clear:both;"></div> </div> </div> <!-- WPA start --> <script id="qd2852153749712b2d3cc16651c050fa3081fba21c66" src="https://wp.qiye.qq.com/qidian/2852153749/712b2d3cc16651c050fa3081fba21c66" charset="utf-8" async defer></script> <!-- WPA end --> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?3da5a313e099b629a89e99f0ef41896c"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?acb5b28fbdbef6aadca2373f2329a647"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> /*推广联盟*/ (function () { var m = /un=(\d+)/.exec(location.href.toLowerCase()); if (!m) return; var d = new Date(); d.setTime(d.getTime() + 12 * 3600 * 1000); document.cookie = "un=" + m[1] + ";path=/;expires=" + d.toGMTString(); })(); </script> <link rel=stylesheet href=https://cdn.staticfile.net/highlight.js/11.9.0/styles/vs2015.min.css /> <style>code[lang]::before{content:attr(lang);display:block;text-align:right;margin-bottom:8px;font-weight:bold;text-transform:capitalize}</style> <script src=https://cdn.staticfile.net/highlight.js/11.9.0/highlight.min.js></script> <script>hljs.highlightAll()</script></body> </html>