Skip to content

Commit 6e95265

Browse files
committed
2.6.2
Disabled some components, made old install date info be appended in a localized manner.
1 parent 03421f4 commit 6e95265

5 files changed

Lines changed: 23 additions & 6 deletions

File tree

CMI.iss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "COM Modular Installer"
5-
#define MyAppVersion "2.6.1"
5+
#define MyAppVersion "2.6.2"
66
#define MyAppURL "https://krypto5863.github.io/COM-Modular-Installer/"
77
#define MyAppUpdates "https://github.com/krypto5863/COM-Modular-Installer/releases"
88
#define MyAppSupport "https://github.com/krypto5863/COM-Modular-Installer/issues"
@@ -134,7 +134,7 @@ Name: bepinexPlugs; Description: BepInEx Plugins;
134134
Name: bepinexPlugs/InBlock; Description: InputHotkeyBlock; Types: full notr compact eng pic self hen;
135135
Name: bepinexPlugs/meidophoto; Description: MeidoPhotoStudio; Types: full notr eng pic self;
136136
Name: bepinexPlugs/meidophoto/Poses; Description: 1900 Poses for MPS; Flags: dontinheritcheck;
137-
Name: bepinexPlugs/modref; Description: ModRefresh; Types:full pic self eng notr;
137+
Name: bepinexPlugs/modref; Description: ModRefresh;
138138
Name: bepinexPlugs/ShaderServant; Description: ShaderServant; Types: Full notr eng pic self hen;
139139
Name: bepinexPlugs/ShapekeyMaster; Description: ShapekeyMaster; Types: Full notr eng pic self hen;
140140
Name: bepinexPlugs/ShiftClick; Description: ShiftClickExplorer; Types: Full notr compact eng pic self hen;
@@ -161,7 +161,7 @@ Name: Scripts; Description: ScriptLoader Scripts;
161161
Name: Scripts/editname; Description: EditableNames Script; Types: Full notr compact eng pic self hen;
162162
Name: Scripts/enascout; Description: Enable Scout Mode Script;
163163
Name: Scripts/eventcharacterlistfix; Description: EventCharacterListFix Script; Types: Full notr compact eng pic self hen;
164-
Name: Scripts/fastfade; Description: FastFade Script; Types: Full notr eng pic self hen;
164+
//Name: Scripts/fastfade; Description: FastFade Script; Types: Full notr eng pic self hen;
165165
Name: Scripts/freeguest; Description: FreeGuest Script;
166166
Name: Scripts/forceschedule; Description: ForceScheduleEvents Script;
167167
Name: Scripts/invertlearntstat; Description: InvertLearntStat Script;

Helpers.iss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,20 @@ begin
4343
Result := true;
4444
end;
4545
46+
function AppendToName(const Path: String; const Suffix: String): boolean;
47+
begin
48+
49+
if NOT ShellRename(Path, Path + ' ' + Suffix) then
50+
begin
51+
log('Could not rename: ' + Path + ' to ' + ExtractFileName(Path) + ' ' + Suffix);
52+
result := false;
53+
exit;
54+
end;
55+
56+
result := true;
57+
end;
58+
59+
{
4660
type
4761
SYSTEMTIME = record
4862
Year: WORD;
@@ -88,6 +102,7 @@ begin
88102
FindClose(FindRec);
89103
end;
90104
end;
105+
}
91106
92107
procedure ApplyCustomPreset(const path: String);
93108
var

Installer Files/Files.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Source: "{#ibep}\ScriptLoader\Scripts\editable_names.cs"; DestDir: "{app}\script
7676
Source: "{#ibep}\ScriptLoader\Scripts\editBlinkStop.cs"; DestDir: "{app}\scripts"; Components:scripts/blinkstop; Flags: {#stdFlags}
7777
Source: "{#ibep}\ScriptLoader\Scripts\enable_scout_mode.cs"; DestDir: "{app}\scripts"; Components:scripts/enascout; Flags: {#stdFlags}
7878
Source: "{#ibep}\ScriptLoader\Scripts\EventCharacterListFix.cs"; DestDir: "{app}\scripts"; Components:scripts/EventCharacterListFix; Flags: {#stdFlags}
79-
Source: "{#ibep}\ScriptLoader\Scripts\fastFade.cs"; DestDir: "{app}\scripts"; Components:scripts/fastfade; Flags: {#stdFlags}
79+
;Source: "{#ibep}\ScriptLoader\Scripts\fastFade.cs"; DestDir: "{app}\scripts"; Components:scripts/fastfade; Flags: {#stdFlags}
8080
Source: "{#ibep}\ScriptLoader\Scripts\freeGuest.cs"; DestDir: "{app}\scripts"; Components:scripts/freeguest; Flags: {#stdFlags}
8181
Source: "{#ibep}\ScriptLoader\Scripts\ForceScheduleEvents.cs"; DestDir: "{app}\scripts"; Components:scripts/ForceSchedule; Flags: {#stdFlags}
8282
Source: "{#ibep}\ScriptLoader\Scripts\InvertLearntStat.cs"; DestDir: "{app}\scripts"; Components:scripts/InvertLearntStat; Flags: {#stdFlags}

MainCode.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ begin
179179
180180
OldInstallPath := AddBackSlash(path) + 'OldInstall'
181181
182-
while DirExists(OldInstallPath) AND NOT AppendCreationTimeToName(OldInstallPath) do
182+
while DirExists(OldInstallPath) AND NOT AppendToName(OldInstallPath, GetDateTimeString('ddddd.h.nn.ss', '.', '.')) do
183183
begin
184184
185185
case SuppressibleMsgBox('Encountered an issue while attempting to rename OldInstall folder.', mbError, MB_ABORTRETRYIGNORE, IDIGNORE) of
@@ -247,7 +247,7 @@ begin
247247
248248
OldInstallPath := AddBackSlash(path) + 'OldInstall'
249249
250-
while DirExists(OldInstallPath) AND NOT AppendCreationTimeToName(OldInstallPath) do
250+
while DirExists(OldInstallPath) AND NOT AppendToName(OldInstallPath, GetDateTimeString('ddddd.h.nn.ss', '.', '.')) do
251251
begin
252252
case SuppressibleMsgBox(CustomMessage('CannotRenameOld'), mbError, MB_ABORTRETRYIGNORE, IDIGNORE) of
253253
IDIGNORE: break;

OldInstallHandler.iss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ begin
141141
result := true;
142142
end;
143143
144+
{
144145
function AppendCreationTimeToName(const Path: String): boolean;
145146
var
146147
DateTime: String;
@@ -162,4 +163,5 @@ begin
162163
163164
result := true;
164165
end;
166+
}
165167
[/Code]

0 commit comments

Comments
 (0)