mirror of https://github.com/BOINC/boinc.git
Mac installer: fix 2 installer bugs
svn path=/trunk/boinc/; revision=19594
This commit is contained in:
parent
a1cee5d46a
commit
ac5b37c85c
|
@ -156,8 +156,7 @@ cp -fp "${SOURCE_PKG_PATH}/Resources/all_projects_list.xml" "${IR_PATH}/"
|
||||||
#### mkdir -p "${PR_PATH}/Library/Application Support/${BRAND_NAME} Data"
|
#### mkdir -p "${PR_PATH}/Library/Application Support/${BRAND_NAME} Data"
|
||||||
#### mkdir -p "${PR_PATH}/Library/Application Support/${BRAND_NAME} Data/locale"
|
#### mkdir -p "${PR_PATH}/Library/Application Support/${BRAND_NAME} Data/locale"
|
||||||
|
|
||||||
## Put Branding file into BOINC Data folder to make it available to screensaver coordinator
|
mkdir -p "${PR_PATH}/Library/Application Support/BOINC Data"
|
||||||
sudo echo ${BRANDING_INFO} > "${PR_PATH}/Library/Application Support/BOINC Data/Branding"
|
|
||||||
|
|
||||||
## If skins folder is present. copy it into BOINC Data folder
|
## If skins folder is present. copy it into BOINC Data folder
|
||||||
if [ -d "skins" ]; then
|
if [ -d "skins" ]; then
|
||||||
|
@ -191,6 +190,9 @@ sudo rm -f "${PR_PATH}/Applications/${MANAGER_NAME}.app/Contents/Resources/BOINC
|
||||||
sudo echo ${BRANDING_INFO} > "${IR_PATH}/Branding"
|
sudo echo ${BRANDING_INFO} > "${IR_PATH}/Branding"
|
||||||
sudo cp -fp "${IR_PATH}/Branding" "${PR_PATH}/Applications/${MANAGER_NAME}.app/Contents/Resources/Branding"
|
sudo cp -fp "${IR_PATH}/Branding" "${PR_PATH}/Applications/${MANAGER_NAME}.app/Contents/Resources/Branding"
|
||||||
|
|
||||||
|
## Put Branding file into BOINC Data folder to make it available to screensaver coordinator
|
||||||
|
sudo cp -fp "${IR_PATH}/Branding" "${PR_PATH}/Library/Application Support/BOINC Data/Branding"
|
||||||
|
|
||||||
# Rename the screensaver coordinator bundle and its executable inside the bundle
|
# Rename the screensaver coordinator bundle and its executable inside the bundle
|
||||||
sudo mv -f "${PR_PATH}/Library/Screen Savers/BOINCSaver.saver" "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver"
|
sudo mv -f "${PR_PATH}/Library/Screen Savers/BOINCSaver.saver" "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver"
|
||||||
sudo mv -f "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver/Contents/MacOS/BOINCSaver" "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver/Contents/MacOS/${BRAND_NAME}"
|
sudo mv -f "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver/Contents/MacOS/BOINCSaver" "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver/Contents/MacOS/${BRAND_NAME}"
|
||||||
|
|
|
@ -156,9 +156,6 @@ cp -fp "${SOURCE_PKG_PATH}/Resources/all_projects_list.xml" "${IR_PATH}/"
|
||||||
#### mkdir -p "${PR_PATH}/Library/Application Support/${BRAND_NAME} Data"
|
#### mkdir -p "${PR_PATH}/Library/Application Support/${BRAND_NAME} Data"
|
||||||
#### mkdir -p "${PR_PATH}/Library/Application Support/${BRAND_NAME} Data/locale"
|
#### mkdir -p "${PR_PATH}/Library/Application Support/${BRAND_NAME} Data/locale"
|
||||||
|
|
||||||
## Put Branding file into BOINC Data folder to make it available to screensaver coordinator
|
|
||||||
sudo echo ${BRANDING_INFO} > "${PR_PATH}/Library/Application Support/BOINC Data/Branding"
|
|
||||||
|
|
||||||
## If skins folder is present. copy it into BOINC Data folder
|
## If skins folder is present. copy it into BOINC Data folder
|
||||||
if [ -d "skins" ]; then
|
if [ -d "skins" ]; then
|
||||||
sudo cp -fR "skins" "${PR_PATH}/Library/Application Support/BOINC Data/"
|
sudo cp -fR "skins" "${PR_PATH}/Library/Application Support/BOINC Data/"
|
||||||
|
@ -192,6 +189,9 @@ sudo rm -f "${PR_PATH}/Applications/${MANAGER_NAME}.app/Contents/Resources/BOINC
|
||||||
sudo echo ${BRANDING_INFO} > "${IR_PATH}/Branding"
|
sudo echo ${BRANDING_INFO} > "${IR_PATH}/Branding"
|
||||||
sudo cp -fp "${IR_PATH}/Branding" "${PR_PATH}/Applications/${MANAGER_NAME}.app/Contents/Resources/Branding"
|
sudo cp -fp "${IR_PATH}/Branding" "${PR_PATH}/Applications/${MANAGER_NAME}.app/Contents/Resources/Branding"
|
||||||
|
|
||||||
|
## Put Branding file into BOINC Data folder to make it available to screensaver coordinator
|
||||||
|
sudo cp -fp "${IR_PATH}/Branding" "${PR_PATH}/Library/Application Support/BOINC Data/Branding"
|
||||||
|
|
||||||
# Rename the screensaver coordinator bundle and its executable inside the bundle
|
# Rename the screensaver coordinator bundle and its executable inside the bundle
|
||||||
sudo mv -f "${PR_PATH}/Library/Screen Savers/BOINCSaver.saver" "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver"
|
sudo mv -f "${PR_PATH}/Library/Screen Savers/BOINCSaver.saver" "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver"
|
||||||
sudo mv -f "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver/Contents/MacOS/BOINCSaver" "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver/Contents/MacOS/${BRAND_NAME}"
|
sudo mv -f "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver/Contents/MacOS/BOINCSaver" "${PR_PATH}/Library/Screen Savers/${BRAND_NAME}.saver/Contents/MacOS/${BRAND_NAME}"
|
||||||
|
|
Loading…
Reference in New Issue