Skip to content

Commit eca888e

Browse files
committed
v1.3.6
1 parent 1611016 commit eca888e

26 files changed

+853
-433
lines changed

Apps/EfazRobloxBootstrapMac.zip

71.4 KB
Binary file not shown.

Apps/Play Roblox.app/Contents/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.3.5</string>
20+
<string>1.3.6</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>1.3.5</string>
24+
<string>1.3.6</string>
2525
<key>LSApplicationCategoryType</key>
2626
<string>public.app-category.utilities</string>
2727
<key>LSMinimumSystemVersion</key>
0 Bytes
Binary file not shown.

Apps/Scripts/Clang/EfazRobloxBootstrapPlayRoblox.cpp

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void printWarnMessage(const std::string& mes) {
2727
}
2828

2929
int main(int argc, char* argv[]) {
30-
std::string current_version = "1.3.5";
30+
std::string current_version = "1.3.6";
3131
std::string main_os;
3232

3333
#ifdef __APPLE__
@@ -56,15 +56,17 @@ int main(int argc, char* argv[]) {
5656
}
5757
printMainMessage("Created URL Exchange File: " + url_scheme_path);
5858
printMainMessage("Loading EfazRobloxBootstrap executable!");
59-
int result = std::system("open -n -a /Applications/EfazRobloxBootstrap.app/Contents/MacOS/EfazRobloxBootstrap.app/Contents/MacOS/EfazRobloxBootstrapMain");
59+
int result = std::system("open -n -a /Applications/EfazRobloxBootstrap.app/Contents/MacOS/Efaz\'s Roblox Bootstrap.app/Contents/MacOS/EfazRobloxBootstrapMain");
6060
if (result == 0) {
6161
printSuccessMessage("Bootstrap Run Success: " + std::to_string(result));
62+
return 0;
6263
} else {
6364
printErrorMessage("Bootstrap Run Failed: " + std::to_string(result));
65+
return 1;
6466
}
65-
return 0;
6667
} else {
6768
printErrorMessage("Bootstrap Run Failed: App is not installed.");
69+
return 1;
6870
}
6971
} else if (main_os == "Windows") {
7072
char* localAppData = std::getenv("LOCALAPPDATA");
@@ -85,10 +87,14 @@ int main(int argc, char* argv[]) {
8587
return 0;
8688
} else {
8789
printErrorMessage("Bootstrap Run Failed: App is not installed.");
90+
return 1;
8891
}
92+
} else {
93+
printErrorMessage("Local app data not found.");
94+
return 1;
8995
}
9096
} else {
91-
printMainMessage("Efaz's Roblox Bootstrap is not a module.");
97+
printMainMessage("Efaz's Roblox Bootstrap is only supported for macOS/Windows.");
9298
std::cin.get();
9399
return 1;
94100
}

Apps/Scripts/Clang/MakePlayRobloxMac.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
printMessage() {
44
local message=$1
5-
echo "\033[38;5;202mRebuild EfazRobloxBootstrap @ ${message}\033[0m"
5+
echo "\033[38;5;202mRebuild EfazRobloxBootstrapPlayRoblox @ ${message}\033[0m"
66
}
77

88
printMessage "Building Clang Package for EfazRobloxBootstrapPlayRoblox.."
99
clang++ -std=c++17 -arch x86_64 -g -arch arm64 -o EfazRobloxBootstrapPlayRoblox ./Apps/Scripts/Clang/EfazRobloxBootstrapPlayRoblox.cpp
1010
mv EfazRobloxBootstrapPlayRoblox "./Apps/Play Roblox.app/Contents/MacOS/EfazRobloxBootstrapPlayRoblox"
1111

12+
printMessage "Cleaning Up.."
13+
rm -rf ./EfazRobloxBootstrapPlayRoblox.dSYM/
14+
1215
printMessage "Successfully rebuilt EfazRobloxBootstrapPlayRoblox!"
1316
printMessage "The executable has been moved to the Play Roblox.app bundle"
1417
read -p "> "

Apps/Scripts/EfazRobloxBootstrap.py

Lines changed: 149 additions & 55 deletions
Large diffs are not rendered by default.

Apps/Scripts/EfazRobloxBootstrapLoad.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def printDebugMessage(mes):
1919
print(f"\033[38;5;226m{mes}\033[0m")
2020

2121
if __name__ == "__main__":
22-
current_version = {"version": "1.3.5"}
22+
current_version = {"version": "1.3.6"}
2323
main_os = platform.system()
2424
direct_run = False
2525
args = sys.argv
@@ -32,14 +32,14 @@ def printDebugMessage(mes):
3232
printMainMessage("Determining System OS..")
3333

3434
if main_os == "Darwin":
35-
if os.path.exists("/Applications/EfazRobloxBootstrap.app/Contents/MacOS/EfazRobloxBootstrap.app/"):
35+
if os.path.exists("/Applications/EfazRobloxBootstrap.app/Contents/MacOS/Efaz\'s Roblox Bootstrap.app/"):
3636
if len(args) > 1:
3737
url_scheme_path = "/Applications/EfazRobloxBootstrap.app/Contents/Resources/URLSchemeExchange"
3838
with open(url_scheme_path, "w") as f:
3939
f.write(args[1])
4040
printMainMessage(f"Created URL Exchange File: {url_scheme_path}")
4141
printMainMessage("Loading EfazRobloxBootstrap executable!")
42-
result = subprocess.run(["open", "-n", "-a", "/Applications/EfazRobloxBootstrap.app/Contents/MacOS/EfazRobloxBootstrap.app/Contents/MacOS/EfazRobloxBootstrapMain"], cwd="/Applications/EfazRobloxBootstrap.app/Contents/Resources/", stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True)
42+
result = subprocess.run(["open", "-n", "-a", "/Applications/EfazRobloxBootstrap.app/Contents/MacOS/Efaz\'s Roblox Bootstrap.app/Contents/MacOS/EfazRobloxBootstrapMain"], cwd="/Applications/EfazRobloxBootstrap.app/Contents/Resources/", stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True)
4343
if result.returncode == 0:
4444
printSuccessMessage(f"Bootstrap Launch Success: {result.returncode}")
4545
else:
@@ -58,7 +58,7 @@ def printDebugMessage(mes):
5858
printMainMessage(f"Created URL Exchange File: {url_scheme_path}")
5959
printMainMessage("Loading EfazRobloxBootstrap.exe!")
6060
result = subprocess.run(f'{os.path.join(generated_app_path, "EfazRobloxBootstrap.exe")}')
61-
sys.exit(result.returncode)
61+
sys.exit(0)
6262
else:
6363
printErrorMessage("Bootstrap Launch Failed: App is not installed.")
6464
sys.exit(1)

Apps/Scripts/EfazRobloxBootstrapPlayRoblox.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def printDebugMessage(mes):
1919
print(f"\033[38;5;226m{mes}\033[0m")
2020

2121
if __name__ == "__main__":
22-
current_version = {"version": "1.3.5"}
22+
current_version = {"version": "1.3.6"}
2323
main_os = platform.system()
2424
direct_run = False
2525
args = sys.argv
@@ -32,13 +32,13 @@ def printDebugMessage(mes):
3232
printMainMessage("Determining System OS..")
3333

3434
if main_os == "Darwin":
35-
if os.path.exists("/Applications/EfazRobloxBootstrap.app/Contents/MacOS/EfazRobloxBootstrap.app/"):
35+
if os.path.exists("/Applications/EfazRobloxBootstrap.app/Contents/MacOS/Efaz\'s Roblox Bootstrap.app/"):
3636
url_scheme_path = "/Applications/EfazRobloxBootstrap.app/Contents/Resources/URLSchemeExchange"
3737
with open(url_scheme_path, "w") as f:
3838
f.write("efaz-bootstrap://continue")
3939
printMainMessage(f"Created URL Exchange File: {url_scheme_path}")
4040
printMainMessage("Loading EfazRobloxBootstrap executable!")
41-
result = subprocess.run(["open", "-n", "-a", "/Applications/EfazRobloxBootstrap.app/Contents/MacOS/EfazRobloxBootstrap.app/Contents/MacOS/EfazRobloxBootstrapMain"], cwd="/Applications/EfazRobloxBootstrap.app/Contents/Resources/", stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True)
41+
result = subprocess.run(["open", "-n", "-a", "/Applications/EfazRobloxBootstrap.app/Contents/MacOS/Efaz\'s Roblox Bootstrap.app/Contents/MacOS/EfazRobloxBootstrapMain"], cwd="/Applications/EfazRobloxBootstrap.app/Contents/Resources/", stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True)
4242
if result.returncode == 0:
4343
printSuccessMessage(f"Bootstrap Run Success: {result.returncode}")
4444
else:
@@ -55,7 +55,7 @@ def printDebugMessage(mes):
5555
printMainMessage(f"Created URL Exchange File: {url_scheme_path}")
5656
printMainMessage("Loading EfazRobloxBootstrap.exe!")
5757
result = subprocess.run(f'{os.path.join(generated_app_path, "EfazRobloxBootstrap.exe")}', shell=True)
58-
sys.exit(result.returncode)
58+
sys.exit(0)
5959
else:
6060
printErrorMessage("Bootstrap Run Failed: App is not installed.")
6161
else:

Apps/Scripts/Nuitka/EfazRobloxBootstrap_Windows.bat

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ set EF_BOOTSTRAP_PLAY=EfazRobloxBootstrapPlayRoblox.py
99

1010
rem Check if the Python files exist
1111
if not exist "%EF_BOOTSTRAP%" (
12-
echo %esc%[38;5;202mRebuild EfazRobloxBootstrap @ Error: %EF_BOOTSTRAP% not found.%esc%[0m
12+
echo \033[38;5;202mRebuild EfazRobloxBootstrap @ Error: %EF_BOOTSTRAP% not found.\033[0m
1313
exit /B 1
1414
)
1515

1616
if not exist "%EF_BOOTSTRAP_PLAY%" (
17-
echo %esc%[38;5;202mRebuild EfazRobloxBootstrap @ Error: %EF_BOOTSTRAP_PLAY% not found.%esc%[0m
17+
echo \033[38;5;202mRebuild EfazRobloxBootstrap @ Error: %EF_BOOTSTRAP_PLAY% not found.\033[0m
1818
exit /B 1
1919
)
2020

21-
echo %esc%[38;5;202mRebuild EfazRobloxBootstrap @ Compiling EfazRobloxBootstrap with Nuitka using Python 3.12..%esc%[0m
21+
echo \033[38;5;202mRebuild EfazRobloxBootstrap @ Compiling EfazRobloxBootstrap with Nuitka using Python 3.12..\033[0m
2222
rem Compile EfazRobloxBootstrap
2323
python3.12 -m nuitka --standalone --windows-console-mode=force --onefile --include-data-files=./Apps/Scripts/PipHandler.py=PipHandler.py --output-dir="dist" --windows-icon-from-ico="./Apps/Scripts/AppIcon.ico" --target="EfazRobloxBootstrap" "./Apps/Scripts/EfazRobloxBootstrap.py"
2424

25-
echo %esc%[38;5;202mRebuild EfazRobloxBootstrap @ Compiling EfazRobloxBootstrapPlayRoblox with Nuitka using Python 3.12..%esc%[0m
25+
echo \033[38;5;202mRebuild EfazRobloxBootstrap @ Compiling EfazRobloxBootstrapPlayRoblox with Nuitka using Python 3.12..\033[0m
2626
rem Compile PlayRoblox (EfazRobloxBootstrapPlayRoblox.py)
2727
python3.12 -m nuitka --standalone --windows-console-mode=force --onefile --include-data-files=./Apps/Scripts/PipHandler.py=PipHandler.py --output-dir="dist" --windows-icon-from-ico="./Apps/Scripts/AppIcon.ico" --target="EfazRobloxBootstrapPlayRoblox" "./Apps/Scripts/EfazRobloxBootstrapPlayRoblox.py"
2828

29-
echo %esc%[38;5;202mRebuild EfazRobloxBootstrap @ Combining PlayRoblox.exe and EfazRobloxBootstrap.exe into one folder..%esc%[0m
29+
echo \033[38;5;202mRebuild EfazRobloxBootstrap @ Combining PlayRoblox.exe and EfazRobloxBootstrap.exe into one folder..\033[0m
3030
rem Optionally combine both executables in one folder
3131
mkdir "%OUTPUT_DIR%\EfazRobloxBootstrap"
3232
copy "%OUTPUT_DIR%\EfazRobloxBootstrap.exe" "%OUTPUT_DIR%\EfazRobloxBootstrap\"

Apps/Scripts/Nuitka/EfazRobloxBootstrap_Windows32.bat

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ set EF_BOOTSTRAP_PLAY=EfazRobloxBootstrapPlayRoblox.py
99

1010
rem Check if the Python files exist
1111
if not exist "%EF_BOOTSTRAP%" (
12-
echo %esc%[38;5;202mRebuild EfazRobloxBootstrap @ Error: %EF_BOOTSTRAP% not found.%esc%[0m
12+
echo \033[38;5;202mRebuild EfazRobloxBootstrap @ Error: %EF_BOOTSTRAP% not found.\033[0m
1313
exit /B 1
1414
)
1515

1616
if not exist "%EF_BOOTSTRAP_PLAY%" (
17-
echo %esc%[38;5;202mRebuild EfazRobloxBootstrap @ Error: %EF_BOOTSTRAP_PLAY% not found.%esc%[0m
17+
echo \033[38;5;202mRebuild EfazRobloxBootstrap @ Error: %EF_BOOTSTRAP_PLAY% not found.\033[0m
1818
exit /B 1
1919
)
2020

21-
echo %esc%[38;5;202mRebuild EfazRobloxBootstrap @ Compiling EfazRobloxBootstrap with Nuitka using Python 3.12..%esc%[0m
21+
echo \033[38;5;202mRebuild EfazRobloxBootstrap @ Compiling EfazRobloxBootstrap with Nuitka using Python 3.12..\033[0m
2222
rem Compile EfazRobloxBootstrap
2323
python3.12 -m nuitka --standalone --windows-console-mode=force --onefile --include-data-files=./Apps/Scripts/PipHandler.py=PipHandler.py --output-dir="dist" --windows-icon-from-ico="./Apps/Scripts/AppIcon.ico" --target="EfazRobloxBootstrap" "./Apps/Scripts/EfazRobloxBootstrap.py"
2424

25-
echo %esc%[38;5;202mRebuild EfazRobloxBootstrap @ Compiling EfazRobloxBootstrapPlayRoblox with Nuitka using Python 3.12..%esc%[0m
25+
echo \033[38;5;202mRebuild EfazRobloxBootstrap @ Compiling EfazRobloxBootstrapPlayRoblox with Nuitka using Python 3.12..\033[0m
2626
rem Compile PlayRoblox (EfazRobloxBootstrapPlayRoblox.py)
2727
python3.12 -m nuitka --standalone --windows-console-mode=force --onefile --include-data-files=./Apps/Scripts/PipHandler.py=PipHandler.py --output-dir="dist" --windows-icon-from-ico="./Apps/Scripts/AppIcon.ico" --target="EfazRobloxBootstrapPlayRoblox" "./Apps/Scripts/EfazRobloxBootstrapPlayRoblox.py"
2828

29-
echo %esc%[38;5;202mRebuild EfazRobloxBootstrap @ Combining PlayRoblox.exe and EfazRobloxBootstrap.exe into one folder..%esc%[0m
29+
echo \033[38;5;202mRebuild EfazRobloxBootstrap @ Combining PlayRoblox.exe and EfazRobloxBootstrap.exe into one folder..\033[0m
3030
rem Optionally combine both executables in one folder
3131
mkdir "%OUTPUT_DIR%\EfazRobloxBootstrap"
3232
copy "%OUTPUT_DIR%\EfazRobloxBootstrap.exe" "%OUTPUT_DIR%\EfazRobloxBootstrap\"

0 commit comments

Comments
 (0)