Scripts: Handle output escapes in El Capitan

This commit is contained in:
Mykola Grymalyuk
2024-05-21 21:12:06 -06:00
parent 0ef817566e
commit e2dabfcc16
3 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ function _removeFile() {
function _createParentDirectory() {
local currentFile=$1
local parentDirectory=$(/usr/bin/dirname $currentFile)
local parentDirectory="$(/usr/bin/dirname $currentFile)"
# Check if parent directory exists
if [[ ! -d $parentDirectory ]]; then

View File

@@ -23,7 +23,7 @@ class GeneratePackage:
"""
_welcome = ""
_welcome = "# Overview\n"
_welcome += "# Overview\n"
_welcome += f"This package will install the OpenCore Legacy Patcher application (v{constants.Constants().patcher_version}) on your system."
_welcome += "\n\nAdditionally, a shortcut for OpenCore Legacy Patcher will be added in the '/Applications' folder."
@@ -45,7 +45,7 @@ class GeneratePackage:
"""
_welcome = ""
_welcome = "# Application Uninstaller\n"
_welcome += "# Application Uninstaller\n"
_welcome += "This package will uninstall the OpenCore Legacy Patcher application and its Privileged Helper Tool from your system."
_welcome += "\n\n"
_welcome += "This will not remove any root patches or OpenCore configurations that you may have installed using OpenCore Legacy Patcher."

View File

@@ -45,7 +45,7 @@ function _removeFile() {
function _createParentDirectory() {
local file=$1
local parentDirectory=$(/usr/bin/dirname $file)
local parentDirectory="$(/usr/bin/dirname $file)"
# Check if parent directory exists
if [[ ! -d $parentDirectory ]]; then