mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-24 04:39:06 -05:00
chore: wrap the work folder error line
This commit is contained in:
1 parent
d297cc3ff6
commit
67a6ad3e32
3 files changed
+4
-3
No files matched your search
+1
-1
@@ -11,7 +11,7 @@
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
$defaultInstallUrl = "https://raw.githubusercontent.com/Abdess/retrobios/main/install.py"
|
||||
$defaultInstallSha256 = "aef82904ca3356ded55f7b43bc03fe80dc30da178a28bc598caef8367b3f9766"
|
||||
$defaultInstallSha256 = "563ed14fea5ea54f5d6cb98311932293e714e9581014ea60c195325c20a587eb"
|
||||
$maximumInstallerBytes = 2MB
|
||||
$installerExit = 0
|
||||
$installer = if ($PSScriptRoot) { Join-Path $PSScriptRoot "install.py" } else { $null }
|
||||
|
||||
+2
-1
@@ -12737,7 +12737,8 @@ def run_tui(args: argparse.Namespace) -> int:
|
||||
except OSError as exc:
|
||||
_restore_handlers(handlers)
|
||||
print(f"Error: no work folder could be made in {tempfile.gettempdir()}: {exc}. "
|
||||
"Free some space there, or point TMPDIR (TEMP on Windows) at another folder.", file=sys.stderr)
|
||||
"Free some space there, or point TMPDIR (TEMP on Windows) at another "
|
||||
"folder.", file=sys.stderr)
|
||||
return 1
|
||||
try:
|
||||
(work / TUI_OWNER).write_text(str(os.getpid()), encoding="utf-8")
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ esac
|
||||
TEMP_INSTALLER=""
|
||||
TEMP_DIRECTORY=""
|
||||
DEFAULT_INSTALL_URL="https://raw.githubusercontent.com/Abdess/retrobios/main/install.py"
|
||||
DEFAULT_INSTALL_SHA256="aef82904ca3356ded55f7b43bc03fe80dc30da178a28bc598caef8367b3f9766"
|
||||
DEFAULT_INSTALL_SHA256="563ed14fea5ea54f5d6cb98311932293e714e9581014ea60c195325c20a587eb"
|
||||
MAX_INSTALLER_BYTES=2097152
|
||||
|
||||
cleanup() {
|
||||
|
||||
Reference in new issue
Block a user