mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-11 16:27:19 +10:00
Scripts: Handle output escapes in El Capitan
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user