Skip to content

Commit 0f754f2

Browse files
committed
v1.4.3
1 parent 03adf2d commit 0f754f2

22 files changed

+100
-103
lines changed

Apps/EfazRobloxBootstrapMac.zip

-215 Bytes
Binary file not shown.
-232 Bytes
Binary file not shown.
2.05 MB
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.4.2</string>
20+
<string>1.4.3</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>1.4.2</string>
24+
<string>1.4.3</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: 1 addition & 1 deletion
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.4.2";
30+
std::string current_version = "1.4.3";
3131
std::string main_os;
3232

3333
#ifdef __APPLE__

Apps/Scripts/EfazRobloxBootstrap.py

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@
88
import time
99
import traceback
1010
import datetime
11-
import logging
12-
import io
1311
import hashlib
1412
from PipHandler import pip
1513

1614
if __name__ == "__main__":
17-
current_version = {"version": "1.4.2"}
15+
current_version = {"version": "1.4.3"}
1816
main_os = platform.system()
1917
args = sys.argv
2018
generated_app_id = str(uuid.uuid4())
@@ -45,14 +43,6 @@ def printSuccessMessage(mes):
4543
print(f"\033[38;5;82m{mes}\033[0m")
4644
logs.append((mes, 4))
4745

48-
class LogCapture(io.StringIO):
49-
def write(self, message):
50-
super().write(message)
51-
super().flush()
52-
if not ("\033[38;5;" in message): logs.append((message, 0))
53-
log_capture = LogCapture()
54-
logging.basicConfig(level=logging.DEBUG, stream=log_capture, format="%(message)s")
55-
5646
printWarnMessage("-----------")
5747
printWarnMessage("Welcome to Efaz's Roblox Bootstrap Loader!")
5848
printWarnMessage("Made by Efaz from efaz.dev!")
@@ -164,7 +154,7 @@ def printDebugMessage(mes):
164154

165155
if len(args) > 1:
166156
filtered_args = args[1]
167-
if (("roblox-player:" in filtered_args) or ("roblox:" in filtered_args)) and not (loaded_json == True and fflag_configuration.get("EFlagEnableDebugMode") == True):
157+
if (("roblox-player:" in filtered_args) or ("roblox:" in filtered_args) or ("efaz-bootstrap:" in filtered_args)):
168158
use_shell = True
169159
printMainMessage(f"Creating URL Exchange file..")
170160
if os.path.exists("/Applications/EfazRobloxBootstrap.app/Contents/Resources/"):
@@ -294,7 +284,7 @@ def startBootstrap():
294284
unable_to_validate.append("DiscordPresenceHandler.py")
295285

296286
if validated == True or fflag_configuration.get("EFlagDisableSecureHashSecurity") == True:
297-
if fflag_configuration.get("EFlagDisableSecureHashSecurity") == True: displayNotification("Security Notice", "Hash Verification is currently disabled. Please check your FFlag configuration and your mod scripts if this wasn't you!")
287+
if fflag_configuration.get("EFlagDisableSecureHashSecurity") == True: displayNotification("Security Notice", "Hash Verification is currently disabled. Please check your configuration and mod scripts if you didn't disable this!")
298288
result = subprocess.run(args=["osascript", "-e", applescript], check=True, capture_output=True)
299289
printMainMessage("Ending Bootstrap..")
300290
ended = True
@@ -305,8 +295,10 @@ def startBootstrap():
305295
printErrorMessage(f"Bootstrap Run Failed: {result.returncode}")
306296
sys.exit(0)
307297
else:
308-
printErrorMessage(f"Unable to validate hashes for files: {', '.join(unable_to_validate)}")
298+
printErrorMessage(f"Uh oh! There was an issue trying to validate hashes for the following files: {', '.join(unable_to_validate)}")
299+
printErrorMessage(f"Please download a new copy from GitHub or disable hash security by manually editting your configuration file!")
309300
displayNotification("Uh oh!", "Your copy of Efaz's Roblox Bootstrap was unable to be validated and must be reinstalled! Please download a new copy from GitHub!")
301+
ended = True
310302
sys.exit(0)
311303
except Exception as e:
312304
ended = True
@@ -795,12 +787,15 @@ def cool():
795787
threading.Thread(target=cool).start()
796788

797789
if len(args) > 1:
798-
cou = 0
799-
filtered_args = ""
800-
for i in args:
801-
if cou > 0:
802-
filtered_args = f"{i} "
803-
cou += 1
790+
filtered_args = args[1]
791+
if (("roblox-player:" in filtered_args) or ("roblox:" in filtered_args) or ("efaz-bootstrap:" in filtered_args)):
792+
printMainMessage(f"Creating URL Exchange file..")
793+
if os.path.exists(os.path.join(local_app_data, "EfazRobloxBootstrap")):
794+
with open(os.path.join(local_app_data, "EfazRobloxBootstrap", "URLSchemeExchange"), "w") as f:
795+
f.write(filtered_args)
796+
else:
797+
with open("URLSchemeExchange", "w") as f:
798+
f.write(filtered_args)
804799

805800
if pip_class.pythonInstalled() == False: pip_class.pythonInstall()
806801
pythonExecutable = pip_class.findPython()
@@ -871,19 +866,18 @@ def startBootstrap():
871866
unable_to_validate.append("DiscordPresenceHandler.py")
872867

873868
if validated == True or fflag_configuration.get("EFlagDisableSecureHashSecurity") == True:
874-
if fflag_configuration.get("EFlagDisableSecureHashSecurity") == True: displayNotification("Security Notice", "Hash Verification is currently disabled. Please check your FFlag configuration and your mod scripts if this wasn't you!")
875-
if filtered_args == "":
876-
result = subprocess.run([pythonExecutable, os.path.join(local_app_data, "EfazRobloxBootstrap", "Main.py")], shell=True, cwd=os.path.join(local_app_data, "EfazRobloxBootstrap"))
877-
else:
878-
result = subprocess.run([pythonExecutable, os.path.join(local_app_data, "EfazRobloxBootstrap", "Main.py"), filtered_args], shell=True, cwd=os.path.join(local_app_data, "EfazRobloxBootstrap"))
869+
os.system("cls" if os.name == "nt" else 'echo "\033c\033[3J"; clear')
870+
if fflag_configuration.get("EFlagDisableSecureHashSecurity") == True: displayNotification("Security Notice", "Hash Verification is currently disabled. Please check your configuration and mod scripts if you didn't disable this!")
871+
result = subprocess.run([pythonExecutable, os.path.join(local_app_data, "EfazRobloxBootstrap", "Main.py")], shell=True, cwd=os.path.join(local_app_data, "EfazRobloxBootstrap"))
879872
printMainMessage("Ending Bootstrap..")
880873
ended = True
881874
if result.returncode == 0:
882875
printSuccessMessage(f"Bootstrap Run Success: {result.returncode}")
883876
else:
884877
printErrorMessage(f"Bootstrap Run Failed: {result.returncode}")
885878
else:
886-
printErrorMessage(f"Unable to validate hashes for files: {', '.join(unable_to_validate)}")
879+
printErrorMessage(f"Uh oh! There was an issue trying to validate hashes for the following files: {', '.join(unable_to_validate)}")
880+
printErrorMessage(f"Please download a new copy from GitHub or disable hash security by manually editting your configuration file!")
887881
displayNotification("Uh oh!", "Your copy of Efaz's Roblox Bootstrap was unable to be validated and must be reinstalled! Please download a new copy from GitHub!")
888882
sys.exit(0)
889883
except Exception as e:

Apps/Scripts/EfazRobloxBootstrapLoad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def printDebugMessage(mes):
2121
print(f"\033[38;5;226m{mes}\033[0m")
2222

2323
if __name__ == "__main__":
24-
current_version = {"version": "1.4.2"}
24+
current_version = {"version": "1.4.3"}
2525
main_os = platform.system()
2626
direct_run = False
2727
args = sys.argv

Apps/Scripts/EfazRobloxBootstrapPlayRoblox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def printDebugMessage(mes):
2020
print(f"\033[38;5;226m{mes}\033[0m")
2121

2222
if __name__ == "__main__":
23-
current_version = {"version": "1.4.2"}
23+
current_version = {"version": "1.4.3"}
2424
main_os = platform.system()
2525
direct_run = False
2626
args = sys.argv

Apps/Scripts/GeneratedHash.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"main": "5f15626c3ea393625b9db78db39860182ca3b08fc22c08f867c76ccde9ddb83d",
3-
"fflag_install": "d309c3af71e17cf0455e73a50d00087f8f7732b8e0047b010e0246628ee89af4",
4-
"install": "9d970dc77b4e6e208829d35b1691a69e55f3c49fc39949202a97e7d119d05968",
5-
"uninstall": "cbb2cd3997d2387d3edd7fb2c7a208a52c28318cf84153642065b357acf90bfb",
2+
"main": "7d5de668a4eb980a97209feec6e0a1dee180ff43f148308119d95bf8fc7e562f",
3+
"fflag_install": "24fac30d4333fd102de275e584f37955d1bc05717173cc728db3fb34b522312a",
4+
"install": "85594fce12b246bb95447a42411a0031f9afb9797cc8d2d0f02e1fde7d905481",
5+
"uninstall": "98d4ebdff805c7f49783cd5e564d5a4b65bfac982145686efad4cd0c2ef8452b",
66
"bootstrap_api": "c92cce2102d1be4c5f4e074ea4b7b06ead4d5df8049c2c59e1440b299abad96e",
77
"discord_presence": "17190c394f73fc8d39c6dfab8e991fddb8fe5daa2be09e9601c5bfbb287dbcdc"
88
}

0 commit comments

Comments
 (0)