mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Bring CEF up to snuff (#4760)
This commit is contained in:
committed by
GitHub
parent
7b171b2212
commit
2d3379d7f4
@@ -8,6 +8,7 @@ import subprocess
|
||||
import sys
|
||||
import zipfile
|
||||
import argparse
|
||||
import glob
|
||||
|
||||
from typing import List, Optional
|
||||
|
||||
@@ -101,10 +102,12 @@ def main() -> None:
|
||||
|
||||
if os.path.exists("release"):
|
||||
print(Fore.BLUE + Style.DIM +
|
||||
"Cleaning old release packages (release/)..." + Style.RESET_ALL)
|
||||
shutil.rmtree("release")
|
||||
"Cleaning old release packages (release/Robust.Client_*)..." + Style.RESET_ALL)
|
||||
for past in glob.glob("release/Robust.Client_*"):
|
||||
os.remove(past)
|
||||
else:
|
||||
os.mkdir("release")
|
||||
|
||||
os.mkdir("release")
|
||||
|
||||
if PLATFORM_WINDOWS in platforms:
|
||||
if not skip_build:
|
||||
|
||||
@@ -8,6 +8,7 @@ import subprocess
|
||||
import sys
|
||||
import zipfile
|
||||
import argparse
|
||||
import glob
|
||||
|
||||
from typing import List, Optional
|
||||
|
||||
@@ -55,10 +56,11 @@ def main() -> None:
|
||||
|
||||
if os.path.exists("release"):
|
||||
print(Fore.BLUE + Style.DIM +
|
||||
"Cleaning old release packages (release/)..." + Style.RESET_ALL)
|
||||
shutil.rmtree("release")
|
||||
|
||||
os.mkdir("release")
|
||||
"Cleaning old release packages (release/Robust.Client.WebView_*)..." + Style.RESET_ALL)
|
||||
for past in glob.glob("release/Robust.Client.WebView_*"):
|
||||
os.remove(past)
|
||||
else:
|
||||
os.mkdir("release")
|
||||
|
||||
if PLATFORM_WINDOWS in platforms:
|
||||
if not skip_build:
|
||||
@@ -83,7 +85,7 @@ def build_windows(skip_build: bool) -> None:
|
||||
# Run a full build.
|
||||
print(Fore.GREEN + "Building project for Windows x64..." + Style.RESET_ALL)
|
||||
|
||||
base_bin = p("Robust.Client.WebView", "bin", "Release", "net7.0")
|
||||
base_bin = p("Robust.Client.WebView", "bin", "Release", "net8.0")
|
||||
|
||||
if not skip_build:
|
||||
build_client_rid("Windows", "win-x64")
|
||||
@@ -142,7 +144,7 @@ def build_linux(skip_build: bool) -> None:
|
||||
# Run a full build.
|
||||
print(Fore.GREEN + "Building project for Linux x64..." + Style.RESET_ALL)
|
||||
|
||||
base_bin = p("Robust.Client.WebView", "bin", "Release", "net7.0")
|
||||
base_bin = p("Robust.Client.WebView", "bin", "Release", "net8.0")
|
||||
|
||||
if not skip_build:
|
||||
build_client_rid("Linux", "linux-x64")
|
||||
|
||||
Reference in New Issue
Block a user