fileslist_install.pas - создание скрипта архива файлов для Линукс-инсталляции

This commit is contained in:
Mikhalkovich Stanislav 2022-07-12 23:22:17 +03:00
parent 61278df9b1
commit 907709e6bd
2 changed files with 8 additions and 1 deletions

View file

@ -167,7 +167,7 @@ namespace ICSharpCode.TextEditor.Gui.CompletionWindow
&& Environment.OSVersion.Platform != PlatformID.MacOSX
)
{
Close();
//Close(); // Под Mono начинает показываться окно по скобке
}
if (Environment.OSVersion.Platform == PlatformID.Unix || Environment.OSVersion.Platform == PlatformID.MacOSX)
{

7
fileslist_install.pas Normal file
View file

@ -0,0 +1,7 @@
begin
Assign(output,'_GenerateLinuxVersion.bat');
var a := EnumerateAllFiles('LinuxInstallerPABC');
var b := a.Select(s -> 'copy bin\'+s[20:]+' Release\PascalABCNETLinux\'+s[20:]);//.OrderBy(s->ExtractFileExt(s));
b := b.Append(#13#10'powershell Compress-Archive -Force Release\PascalABCNETLinux Release\PascalABCNETLinux.zip');
b.PrintLines;
end.