mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Mac OS X install scripts, and related stuff
This commit is contained in:
parent
347d3a717c
commit
6f2bea6c31
3 changed files with 10 additions and 7 deletions
|
|
@ -49,7 +49,6 @@ cd $BUILD_DC_TMP_DIR
|
|||
mkdir -p $BUILD_PACK_DIR
|
||||
install/darwin/install.sh $BUILD_PACK_DIR
|
||||
cd $BUILD_PACK_DIR
|
||||
sed -e 's/<UseConfigInProgramDir>False/<UseConfigInProgramDir>True/' -i '' doublecmd.app/Contents/MacOS/doublecmd.xml
|
||||
sed -e 's/Archiver=7za/Archiver=%commander_path%\/7za/' -i '' doublecmd.app/Contents/MacOS/multiarc.ini
|
||||
mv doublecmd.app 'Double Commander.app'
|
||||
hdiutil create -anyowners -volname "Double Commander" -imagekey zlib-level=9 -format UDZO -srcfolder 'Double Commander.app' $PACK_DIR/doublecmd-$DC_VER-$DC_REVISION.$lcl.$CPU_TARGET.dmg
|
||||
|
|
|
|||
2
install/darwin/lib/readme.txt
Normal file
2
install/darwin/lib/readme.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Before create packages (before run create_packages.mac) copy in this directory third-party libraries:
|
||||
- libunrar.dylib - needed for unrar plugin
|
||||
|
|
@ -22,18 +22,13 @@ begin
|
|||
// Wcx plugins
|
||||
Folder:= '%commander_path%' + PathDelim + 'plugins' + PathDelim + 'wcx' + PathDelim;
|
||||
|
||||
{$IF NOT DEFINED(DARWIN)}
|
||||
I:= gWCXPlugins.IndexOfName('zip');
|
||||
if I < 0 then
|
||||
gWCXPlugins.Add('zip', 607, Folder + 'zip' + PathDelim + 'zip.wcx')
|
||||
else
|
||||
gWCXPlugins.Flags[I]:= 607;
|
||||
|
||||
I:= gWCXPlugins.IndexOfName('lzma');
|
||||
if I < 0 then
|
||||
gWCXPlugins.Add('lzma', 1, Folder + 'lzma' + PathDelim + 'lzma.wcx')
|
||||
else
|
||||
gWCXPlugins.Flags[I]:= 1;
|
||||
|
||||
I:= gWCXPlugins.IndexOfName('tar');
|
||||
if I < 0 then
|
||||
gWCXPlugins.Add('tar', 95, Folder + 'zip' + PathDelim + 'zip.wcx')
|
||||
|
|
@ -67,6 +62,13 @@ begin
|
|||
gWCXPlugins.Add('tgz', 95, Folder + 'zip' + PathDelim + 'zip.wcx')
|
||||
else
|
||||
gWCXPlugins.Flags[I]:= 95;
|
||||
{$ENDIF}
|
||||
|
||||
I:= gWCXPlugins.IndexOfName('lzma');
|
||||
if I < 0 then
|
||||
gWCXPlugins.Add('lzma', 1, Folder + 'lzma' + PathDelim + 'lzma.wcx')
|
||||
else
|
||||
gWCXPlugins.Flags[I]:= 1;
|
||||
|
||||
I:= gWCXPlugins.IndexOfName('cpio');
|
||||
if I < 0 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue