Unigui服務器綠色發布


在ServerModule單元里

1、在Uses中添加IOUtils;

2、在on BeforeInit中添加:

 //發布時使用,將extjs相關目錄放到執行文件相同的目錄

if DirectoryExists(TPath.GetDirectoryName(ParamStr(0))+'\ext-6.5.3') then
begin
Self.UniRoot :='uni-1.50.0.1479';      //隨版本改變
Self.ExtRoot :='ext-6.5.3'
end;


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM