Skip to content

Commit 6c90874

Browse files
committed
refactor: rename runelite to rsprox
1 parent e371cd4 commit 6c90874

32 files changed

+278
-278
lines changed

installer/appimage/runelite.desktop installer/appimage/rsprox.desktop

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Name=${project.build.finalName}
33
Comment=${project.description}
44
Exec=${project.build.finalName}
5-
Icon=runelite
5+
Icon=rsprox
66
Terminal=false
77
Type=Application
88
Categories=Game;
File renamed without changes.

installer/innosetup/dircheck.pas

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ procedure InitializeWizard();
33
defaultPath: String;
44
currentPath: String;
55
begin
6-
defaultPath := ExpandConstant('{localappdata}\RuneLite');
6+
defaultPath := ExpandConstant('{localappdata}\RSProx');
77
{ this defaults to the current installed location read from the registry }
88
currentPath := GetWizardForm.DirEdit.Text;
99
if defaultPath <> currentPath then begin
@@ -15,4 +15,4 @@ procedure InitializeWizard();
1515
GetWizardForm.DirEdit.Text := defaultPath
1616
end
1717
end
18-
end;
18+
end;
File renamed without changes.

installer/innosetup/rsprox.iss

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[Setup]
2+
AppName=RSProx Launcher
3+
AppPublisher=RSProx
4+
UninstallDisplayName=RSProx
5+
AppVersion=${project.version}
6+
AppSupportURL=https://rsprox.net/
7+
DefaultDirName={localappdata}\RSProx
8+
9+
; ~30 mb for the repo the launcher downloads
10+
ExtraDiskSpaceRequired=30000000
11+
ArchitecturesAllowed=x64
12+
PrivilegesRequired=lowest
13+
14+
WizardSmallImageFile=${basedir}/innosetup/rsprox_small.bmp
15+
SetupIconFile=${basedir}/innosetup/rsprox.ico
16+
UninstallDisplayIcon={app}\RSProx.exe
17+
18+
Compression=lzma2
19+
SolidCompression=yes
20+
21+
OutputDir=${basedir}
22+
OutputBaseFilename=RSProxSetup
23+
24+
[Tasks]
25+
Name: DesktopIcon; Description: "Create a &desktop icon";
26+
27+
[Files]
28+
Source: "${basedir}\build\win-x64\RSProx.exe"; DestDir: "{app}"; Flags: ignoreversion
29+
Source: "${basedir}\build\win-x64\rsprox-launcher.jar"; DestDir: "{app}"
30+
Source: "${basedir}\build\win-x64\launcher_amd64.dll"; DestDir: "{app}"; Flags: ignoreversion
31+
Source: "${basedir}\build\win-x64\config.json"; DestDir: "{app}"
32+
Source: "${basedir}\build\win-x64\jre\*"; DestDir: "{app}\jre"; Flags: recursesubdirs
33+
34+
[Icons]
35+
; start menu
36+
Name: "{userprograms}\RSProx\RSProx"; Filename: "{app}\RSProx.exe"
37+
Name: "{userprograms}\RSProx\RSProx (configure)"; Filename: "{app}\RSProx.exe"; Parameters: "--configure"
38+
Name: "{userprograms}\RSProx\RSProx (safe mode)"; Filename: "{app}\RSProx.exe"; Parameters: "--safe-mode"
39+
Name: "{userdesktop}\RSProx"; Filename: "{app}\RSProx.exe"; Tasks: DesktopIcon
40+
41+
[Run]
42+
Filename: "{app}\RSProx.exe"; Parameters: "--postinstall"; Flags: nowait
43+
Filename: "{app}\RSProx.exe"; Description: "&Open RSProx"; Flags: postinstall skipifsilent nowait
44+
45+
[InstallDelete]
46+
; Delete the old jvm so it doesn't try to load old stuff with the new vm and crash
47+
Type: filesandordirs; Name: "{app}\jre"
48+
; previous shortcut
49+
Type: files; Name: "{userprograms}\RSProx.lnk"
50+
51+
[UninstallDelete]
52+
Type: filesandordirs; Name: "{%USERPROFILE}\.rsprox"
53+
; includes install_id, settings, etc
54+
Type: filesandordirs; Name: "{app}"
55+
56+
[Code]
57+
#include "upgrade.pas"
58+
#include "usernamecheck.pas"
59+
#include "dircheck.pas"

installer/innosetup/rsprox32.iss

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[Setup]
2+
AppName=RSProx Launcher
3+
AppPublisher=RSProx
4+
UninstallDisplayName=RSProx
5+
AppVersion=${project.version}
6+
AppSupportURL=https://rsprox.net/
7+
DefaultDirName={localappdata}\RSProx
8+
9+
; ~30 mb for the repo the launcher downloads
10+
ExtraDiskSpaceRequired=30000000
11+
ArchitecturesAllowed=x86 x64
12+
PrivilegesRequired=lowest
13+
14+
WizardSmallImageFile=${basedir}/innosetup/rsprox_small.bmp
15+
SetupIconFile=${basedir}/innosetup/rsprox.ico
16+
UninstallDisplayIcon={app}\RSProx.exe
17+
18+
Compression=lzma2
19+
SolidCompression=yes
20+
21+
OutputDir=${basedir}
22+
OutputBaseFilename=RSProxSetup32
23+
24+
[Tasks]
25+
Name: DesktopIcon; Description: "Create a &desktop icon";
26+
27+
[Files]
28+
Source: "${basedir}\build\win-x86\RSProx.exe"; DestDir: "{app}"; Flags: ignoreversion
29+
Source: "${basedir}\build\win-x86\rsprox-launcher.jar"; DestDir: "{app}"
30+
Source: "${basedir}\build\win-x86\launcher_x86.dll"; DestDir: "{app}"; Flags: ignoreversion
31+
Source: "${basedir}\build\win-x86\config.json"; DestDir: "{app}"
32+
Source: "${basedir}\build\win-x86\jre\*"; DestDir: "{app}\jre"; Flags: recursesubdirs
33+
34+
[Icons]
35+
; start menu
36+
Name: "{userprograms}\RSProx\RSProx"; Filename: "{app}\RSProx.exe"
37+
Name: "{userprograms}\RSProx\RSProx (configure)"; Filename: "{app}\RSProx.exe"; Parameters: "--configure"
38+
Name: "{userprograms}\RSProx\RSProx (safe mode)"; Filename: "{app}\RSProx.exe"; Parameters: "--safe-mode"
39+
Name: "{userdesktop}\RSProx"; Filename: "{app}\RSProx.exe"; Tasks: DesktopIcon
40+
41+
[Run]
42+
Filename: "{app}\RSProx.exe"; Parameters: "--postinstall"; Flags: nowait
43+
Filename: "{app}\RSProx.exe"; Description: "&Open RSProx"; Flags: postinstall skipifsilent nowait
44+
45+
[InstallDelete]
46+
; Delete the old jvm so it doesn't try to load old stuff with the new vm and crash
47+
Type: filesandordirs; Name: "{app}\jre"
48+
; previous shortcut
49+
Type: files; Name: "{userprograms}\RSProx.lnk"
50+
51+
[UninstallDelete]
52+
Type: filesandordirs; Name: "{%USERPROFILE}\.rsprox"
53+
; includes install_id, settings, etc
54+
Type: filesandordirs; Name: "{app}"
55+
56+
[Code]
57+
#include "upgrade.pas"
58+
#include "usernamecheck.pas"
59+
#include "dircheck.pas"
File renamed without changes.

installer/innosetup/rsproxaarch64.iss

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[Setup]
2+
AppName=RSProx Launcher
3+
AppPublisher=RSProx
4+
UninstallDisplayName=RSProx
5+
AppVersion=${project.version}
6+
AppSupportURL=https://rsprox.net/
7+
DefaultDirName={localappdata}\RSProx
8+
9+
; ~30 mb for the repo the launcher downloads
10+
ExtraDiskSpaceRequired=30000000
11+
ArchitecturesAllowed=arm64
12+
PrivilegesRequired=lowest
13+
14+
WizardSmallImageFile=${basedir}/innosetup/rsprox_small.bmp
15+
SetupIconFile=${basedir}/innosetup/rsprox.ico
16+
UninstallDisplayIcon={app}\RSProx.exe
17+
18+
Compression=lzma2
19+
SolidCompression=yes
20+
21+
OutputDir=${basedir}
22+
OutputBaseFilename=RSProxSetupAArch64
23+
24+
[Tasks]
25+
Name: DesktopIcon; Description: "Create a &desktop icon";
26+
27+
[Files]
28+
Source: "${basedir}\build\win-aarch64\RSProx.exe"; DestDir: "{app}"; Flags: ignoreversion
29+
Source: "${basedir}\build\win-aarch64\rsprox-launcher.jar"; DestDir: "{app}"
30+
Source: "${basedir}\build\win-aarch64\launcher_aarch64.dll"; DestDir: "{app}"; Flags: ignoreversion
31+
Source: "${basedir}\build\win-aarch64\config.json"; DestDir: "{app}"
32+
Source: "${basedir}\build\win-aarch64\jre\*"; DestDir: "{app}\jre"; Flags: recursesubdirs
33+
34+
[Icons]
35+
; start menu
36+
Name: "{userprograms}\RSProx\RSProx"; Filename: "{app}\RSProx.exe"
37+
Name: "{userprograms}\RSProx\RSProx (configure)"; Filename: "{app}\RSProx.exe"; Parameters: "--configure"
38+
Name: "{userprograms}\RSProx\RSProx (safe mode)"; Filename: "{app}\RSProx.exe"; Parameters: "--safe-mode"
39+
Name: "{userdesktop}\RSProx"; Filename: "{app}\RSProx.exe"; Tasks: DesktopIcon
40+
41+
[Run]
42+
Filename: "{app}\RSProx.exe"; Parameters: "--postinstall"; Flags: nowait
43+
Filename: "{app}\RSProx.exe"; Description: "&Open RSProx"; Flags: postinstall skipifsilent nowait
44+
45+
[InstallDelete]
46+
; Delete the old jvm so it doesn't try to load old stuff with the new vm and crash
47+
Type: filesandordirs; Name: "{app}\jre"
48+
; previous shortcut
49+
Type: files; Name: "{userprograms}\RSProx.lnk"
50+
51+
[UninstallDelete]
52+
Type: filesandordirs; Name: "{%USERPROFILE}\.rsprox"
53+
; includes install_id, settings, etc
54+
Type: filesandordirs; Name: "{app}"
55+
56+
[Code]
57+
#include "upgrade.pas"
58+
#include "usernamecheck.pas"
59+
#include "dircheck.pas"

installer/innosetup/runelite.iss

-59
This file was deleted.

installer/innosetup/runelite32.iss

-59
This file was deleted.

installer/innosetup/runeliteaarch64.iss

-59
This file was deleted.

installer/innosetup/upgrade.pas

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ procedure CurStepChanged(CurStep: TSetupStep);
1414

1515
rlUpgrade := GetEnv('RUNELITE_UPGRADE');
1616
if rlUpgrade <> '' then begin
17-
exePath := ExpandConstant('{app}\RuneLite.exe');
17+
exePath := ExpandConstant('{app}\RSProx.exe');
1818
Exec(exePath, GetEnv('RUNELITE_UPGRADE_PARAMS'), '', SW_SHOW, ewNoWait, ResultCode);
1919
end;
2020
end;
21-
end;
21+
end;

0 commit comments

Comments
 (0)