Skip to content

Commit f5a575b

Browse files
committed
v1.8-3 Correction of script templates & startup shortcut (RU)
1 parent 7163c21 commit f5a575b

28 files changed

+755
-534
lines changed

RPMCreator/RPMCreator

-18.9 KB
Binary file not shown.

RPMCreator/RPMCreator.lpi

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<CONFIG>
33
<ProjectOptions>
4-
<Version Value="11"/>
4+
<Version Value="12"/>
55
<PathDelim Value="\"/>
66
<General>
7+
<Flags>
8+
<CompatibilityMode Value="True"/>
9+
</Flags>
710
<SessionStorage Value="InProjectDir"/>
8-
<MainUnit Value="0"/>
9-
<Title Value="RPMCreator v1.8-2"/>
11+
<Title Value="RPMCreator v1.8-3"/>
1012
<ResourceType Value="res"/>
1113
<UseXPManifest Value="True"/>
1214
<XPManifest>

RPMCreator/RPMCreator.lps

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<CONFIG>
33
<ProjectSession>
44
<PathDelim Value="\"/>
5-
<Version Value="11"/>
5+
<Version Value="12"/>
66
<BuildModes Count="1" Active="Release">
77
<Item1 Name="Release">
88
<CompilerOptions>
@@ -161,7 +161,7 @@
161161
</JumpHistory>
162162
<RunParams>
163163
<FormatVersion Value="2"/>
164-
<Modes Count="0" ActiveMode="default"/>
164+
<Modes ActiveMode="default"/>
165165
</RunParams>
166166
</ProjectSession>
167167
</CONFIG>

RPMCreator/RPMCreator.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{$R *.res}
1919

2020
begin
21-
Application.Title:='RPMCreator v1.8-2';
21+
Application.Title:='RPMCreator v1.8-3';
2222
//Создаём объект с уникальным идентификатором
2323
MyProg := TUniqueInstance.Create('RPMCreator');
2424

RPMCreator/RPMCreator.res

48 Bytes
Binary file not shown.

RPMCreator/backup/RPMCreator.lpi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<CONFIG>
33
<ProjectOptions>
4-
<Version Value="11"/>
4+
<Version Value="12"/>
55
<PathDelim Value="\"/>
66
<General>
7+
<Flags>
8+
<CompatibilityMode Value="True"/>
9+
</Flags>
710
<SessionStorage Value="InProjectDir"/>
8-
<MainUnit Value="0"/>
911
<Title Value="RPMCreator v1.8-2"/>
1012
<ResourceType Value="res"/>
1113
<UseXPManifest Value="True"/>

RPMCreator/backup/RPMCreator.lps

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<CONFIG>
33
<ProjectSession>
44
<PathDelim Value="\"/>
5-
<Version Value="11"/>
5+
<Version Value="12"/>
66
<BuildModes Count="1" Active="Release">
77
<Item1 Name="Release">
88
<CompilerOptions>
@@ -52,8 +52,8 @@
5252
<ResourceBaseClass Value="Form"/>
5353
<UnitName Value="Unit1"/>
5454
<IsVisibleTab Value="True"/>
55-
<TopLine Value="15"/>
56-
<CursorPos X="55" Y="23"/>
55+
<TopLine Value="422"/>
56+
<CursorPos X="34" Y="436"/>
5757
<UsageCount Value="187"/>
5858
<Loaded Value="True"/>
5959
<LoadedDesigner Value="True"/>
@@ -117,7 +117,7 @@
117117
<UsageCount Value="10"/>
118118
</Unit7>
119119
</Units>
120-
<JumpHistory Count="9" HistoryIndex="8">
120+
<JumpHistory Count="10" HistoryIndex="9">
121121
<Position1>
122122
<Filename Value="unit1.pas"/>
123123
<Caret Line="338" TopLine="334"/>
@@ -154,10 +154,14 @@
154154
<Filename Value="unit1.pas"/>
155155
<Caret Line="446" Column="13" TopLine="419"/>
156156
</Position9>
157+
<Position10>
158+
<Filename Value="unit1.pas"/>
159+
<Caret Line="23" Column="55" TopLine="15"/>
160+
</Position10>
157161
</JumpHistory>
158162
<RunParams>
159163
<FormatVersion Value="2"/>
160-
<Modes Count="0" ActiveMode="default"/>
164+
<Modes ActiveMode="default"/>
161165
</RunParams>
162166
</ProjectSession>
163167
</CONFIG>

RPMCreator/backup/unit1.lfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ object MainForm: TMainForm
1919
Height = 637
2020
Top = 48
2121
Width = 991
22-
ActivePage = TabSheet1
22+
ActivePage = TabSheet3
2323
Align = alClient
2424
ParentShowHint = False
25-
TabIndex = 0
25+
TabIndex = 2
2626
TabOrder = 0
2727
object TabSheet1: TTabSheet
2828
Caption = 'Basic'

RPMCreator/backup/unit1.pas

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,10 @@ procedure TMainForm.CreateRepackTxtClick(Sender: TObject);
430430
Application.ProcessMessages;
431431

432432
RunCommand('/bin/bash',
433-
['-c', 'pkexec /bin/bash -c "mkdir /usr/share/doc/' +
434-
NameEdit.Text + '; mv -f ' + WorkDir + '/repack.txt ' +
435-
'/usr/share/doc/' + NameEdit.Text + '/repack.txt"; echo $?'],
433+
['-c', 'pkexec /bin/bash -c "[ -d /usr/share/doc/' + NameEdit.Text +
434+
'] || mkdir /usr/share/doc/' + NameEdit.Text + '; mv -f ' +
435+
WorkDir + '/repack.txt ' + '/usr/share/doc/' + NameEdit.Text +
436+
'/repack.txt"; echo $?'],
436437
output);
437438

438439
//Ловим отмену и ошибку аутентификации pkexec

0 commit comments

Comments
 (0)