Compare commits

..

No commits in common. "a073e3b9beca7b87e75cc49bee8609f0c1717dfe" and "fd6aa930738225598e0f499e3ce6586ab789977f" have entirely different histories.

View File

@ -6,8 +6,8 @@
AppId={{C42BF9E1-4791-4098-A19E-74D6EAF0750F} AppId={{C42BF9E1-4791-4098-A19E-74D6EAF0750F}
AppName=Enderal SE AppName=Enderal SE
DefaultGroupName=Enderal SE DefaultGroupName=Enderal SE
AppVersion=2.1.1 AppVersion=2.1.0
AppVerName=Enderal SE 2.1.1 [mod.pub] AppVerName=Enderal SE 2.1 [mod.pub]
AppPublisher=ModPub AppPublisher=ModPub
AppPublisherURL=https://mod.pub/ AppPublisherURL=https://mod.pub/
AppReadmeFile=https://mod.pub/enderal-se/38-enderal-se AppReadmeFile=https://mod.pub/enderal-se/38-enderal-se
@ -30,7 +30,6 @@ DisableProgramGroupPage=no
AllowNoIcons=yes AllowNoIcons=yes
Password=mod.pub Password=mod.pub
Encryption=yes Encryption=yes
AlwaysRestart=no
[Files] [Files]
; Root ; Root
@ -161,26 +160,18 @@ Filename: "{app}\MO2\ModOrganizer.ini"; Section: "Plugins"; Key: "Skyrim%20Speci
Filename: "{app}\MO2\ModOrganizer.ini"; Section: "Plugins"; Key: "Skyrim%20VR%20Support%20Plugin\enderal_downloads"; String: "true" Filename: "{app}\MO2\ModOrganizer.ini"; Section: "Plugins"; Key: "Skyrim%20VR%20Support%20Plugin\enderal_downloads"; String: "true"
Filename: "{app}\Data\profiles\Default\skyrimprefs.ini"; Section: "Display"; Key: "iShadowMaskQuarter"; String: "4" Filename: "{app}\Data\profiles\Default\skyrimprefs.ini"; Section: "Display"; Key: "iShadowMaskQuarter"; String: "4"
Filename: "{app}\Data\profiles\Default\skyrimprefs.ini"; Section: "Display"; Key: "bFull Screen"; String: "0" Filename: "{app}\Data\profiles\Default\skyrimprefs.ini"; Section: "Controls"; Key: "fMouseHeadingSensitivity"; String: "0.0420"; Flags: createkeyifdoesntexist
Filename: "{app}\Data\profiles\Default\skyrimprefs.ini"; Section: "Display"; Key: "bBorderless"; String: "1"
Filename: "{app}\Data\profiles\Default\skyrimprefs.ini"; Section: "Display"; Key: "iSize W"; String: "{code:GetScreenWidth}"
Filename: "{app}\Data\profiles\Default\skyrimprefs.ini"; Section: "Display"; Key: "iSize H"; String: "{code:GetScreenHeight}"
Filename: "{app}\Data\profiles\Default\skyrimprefs.ini"; Section: "Controls"; Key: "fMouseHeadingSensitivity"; String: "0.0320"; Flags: createkeyifdoesntexist
[Icons] [Icons]
Name: "{userdesktop}\Enderal SE"; Filename: "{app}\MO2\ModOrganizer.exe"; WorkingDir: "{app}\MO2"; Parameters: """moshortcut://:SKSE"""; IconFilename: "{app}\Game\Data\enderal.ico" Name: "{userdesktop}\Enderal SE"; Filename: "{app}\MO2\ModOrganizer.exe"; WorkingDir: "{app}\MO2"; Parameters: """moshortcut://:SKSE"""; IconFilename: "{app}\Game\Data\enderal.ico"
Name: "{userdesktop}\Enderal SE Display Settings"; Filename: "{app}\MO2\ModOrganizer.exe"; WorkingDir: "{app}\MO2"; Parameters: """moshortcut://:Skyrim Special Edition Launcher"""; IconFilename: "{app}\Game\Data\enderal.ico"
Name: "{app}\Run Enderal SE"; Filename: "{app}\MO2\ModOrganizer.exe"; WorkingDir: "{app}\MO2"; Parameters: """moshortcut://:SKSE"""; IconFilename: "{app}\Game\Data\enderal.ico" Name: "{app}\Run Enderal SE"; Filename: "{app}\MO2\ModOrganizer.exe"; WorkingDir: "{app}\MO2"; Parameters: """moshortcut://:SKSE"""; IconFilename: "{app}\Game\Data\enderal.ico"
Name: "{group}\Run Enderal SE"; Filename: "{app}\MO2\ModOrganizer.exe"; WorkingDir: "{app}\MO2"; Parameters: """moshortcut://:SKSE"""; IconFilename: "{app}\Game\Data\enderal.ico" Name: "{group}\Run Enderal SE"; Filename: "{app}\MO2\ModOrganizer.exe"; WorkingDir: "{app}\MO2"; Parameters: """moshortcut://:SKSE"""; IconFilename: "{app}\Game\Data\enderal.ico"
Name: "{group}\Display settings"; Filename: "{app}\MO2\ModOrganizer.exe"; WorkingDir: "{app}\MO2"; Parameters: """moshortcut://:Skyrim Special Edition Launcher"""; IconFilename: "{app}\Game\SkyrimSELauncher.exe"
Name: "{group}\Manage mods"; Filename: "{app}\MO2\ModOrganizer.exe"; WorkingDir: "{app}\MO2"; Flags: runmaximized Name: "{group}\Manage mods"; Filename: "{app}\MO2\ModOrganizer.exe"; WorkingDir: "{app}\MO2"; Flags: runmaximized
Name: "{group}\Uninstall"; Filename: "{uninstallexe}" Name: "{group}\Uninstall"; Filename: "{uninstallexe}"
[Registry] [Registry]
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\MO2\ModOrganizer.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.1 Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\MO2\ModOrganizer.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.1
Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\MO2\ModOrganizer.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.1 Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\MO2\ModOrganizer.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.1
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\Game\SkyrimSE.exe"; ValueData: "HIGHDPIAWARE"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.1
Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\Game\SkyrimSE.exe"; ValueData: "HIGHDPIAWARE"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.1
Root: HKCU; Subkey: "Software\SureAI\EnderalSE"; ValueType: string; ValueName: "Install_Path"; ValueData: "{app}\Game\" Root: HKCU; Subkey: "Software\SureAI\EnderalSE"; ValueType: string; ValueName: "Install_Path"; ValueData: "{app}\Game\"
[Code] [Code]
@ -333,20 +324,3 @@ begin
S := S + NewLine + Space + 'v' + sSkyrimVersion; S := S + NewLine + Space + 'v' + sSkyrimVersion;
Result := S; Result := S;
end; end;
function GetSystemMetrics(nIndex: Integer): Integer;
external 'GetSystemMetrics@User32.dll stdcall setuponly';
Const
SM_CXSCREEN = 0; // The enum-value for getting the width of the cient area for a full-screen window on the primary display monitor, in pixels.
SM_CYSCREEN = 1; // The enum-value for getting the height of the client area for a full-screen window on the primary display monitor, in pixels.
function GetScreenWidth(Param: String): String;
begin
Result := IntToStr(GetSystemMetrics(SM_CXSCREEN));
end;
function GetScreenHeight(Param: String): String;
begin
Result := IntToStr(GetSystemMetrics(SM_CYSCREEN));
end;