Skip to content

Commit

Permalink
2024-08-24T0953Z
Browse files Browse the repository at this point in the history
  • Loading branch information
Windows81 committed Aug 24, 2024
1 parent 270e17e commit da29e0c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ReleaseNewVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function CreateBinary() {
--distpath "$root/Binaries" `
--icon "$root/Source/Icon.ico" `
--specpath "$root/PyInstallerWork/Spec" `
--hidden-import requests
--hidden-import requests # Allows functions in config to use the `requests` library (1 MiB addition)
foreach ($file in (Get-ChildItem "$root/Binaries/*")) {
$files.Add($file.FullName)
}
Expand Down
1 change: 1 addition & 0 deletions Source/config/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def f(t, *a):
retrieve_user_id: callable[[str], int] = textwrap.dedent('''\
count = 0
def f(*a):
nonlocal count
count += 1
return count
''') # type: ignore
Expand Down
4 changes: 2 additions & 2 deletions Source/config/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def _type_call_union(value, data: type_call_data) -> Any | None:
value,
dataclasses.replace(data, typ=sub_typ),
)
except Exception:
pass
except Exception as e:
ex = e

raise Exception(
'Value "%s" is not of any of the following types: %s.' %
Expand Down
1 change: 0 additions & 1 deletion Source/launcher/downloader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ def bootstrap_binary(rōblox_version: util.versions.rōblox, bin_type: util.reso

print(f"Extracting to {full_dir}...")
py7zr.unpack_7zarchive(response, full_dir)
print("Done.")
2 changes: 1 addition & 1 deletion Source/launcher/subparsers/args_launch_mode/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def subparse(
)
subparser.add_argument(
'--quiet', '-q',
action='store_false',
action='store_true',
help='Suppresses console output from RCC.',
)

Expand Down

0 comments on commit da29e0c

Please sign in to comment.