Skip to content

Commit

Permalink
Fix: 2022-05-22
Browse files Browse the repository at this point in the history
  • Loading branch information
horsicq committed May 22, 2022
1 parent 309df5b commit 74f0f2c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ if [ -z "$X_ERROR" ]; then
make_translate "gui_source_tr.pro" xelfviewer
cd "$X_SOURCE_PATH"

check_file "$X_SOURCE_PATH/build/release/xelfviewer.app/Contents/MacOS/xelfviewer"
check_file "$X_SOURCE_PATH/build/release/XELFViewer.app/Contents/MacOS/XELFViewer"
if [ -z "$X_ERROR" ]; then
cp -R "$X_SOURCE_PATH/build/release/xelfviewer.app" "$X_SOURCE_PATH/release/$X_BUILD_NAME"
cp -R "$X_SOURCE_PATH/build/release/XELFViewer.app" "$X_SOURCE_PATH/release/$X_BUILD_NAME"

mkdir -p $X_SOURCE_PATH/release/$X_BUILD_NAME/xelfviewer.app/Contents/Resources/signatures
cp -R $X_SOURCE_PATH/signatures/crypto.db $X_SOURCE_PATH/release/$X_BUILD_NAME/xelfviewer.app/Contents/Resources/signatures
cp -Rf $X_SOURCE_PATH/XStyles/qss $X_SOURCE_PATH/release/$X_BUILD_NAME/xelfviewer.app/Contents/Resources/
mkdir -p $X_SOURCE_PATH/release/$X_BUILD_NAME/XELFViewer.app/Contents/Resources/signatures
cp -R $X_SOURCE_PATH/signatures/crypto.db $X_SOURCE_PATH/release/$X_BUILD_NAME/XELFViewer.app/Contents/Resources/signatures
cp -Rf $X_SOURCE_PATH/XStyles/qss $X_SOURCE_PATH/release/$X_BUILD_NAME/XELFViewer.app/Contents/Resources/

fiximport "$X_SOURCE_PATH/build/release/xelfviewer.app/Contents/MacOS/xelfviewer"
fiximport "$X_SOURCE_PATH/build/release/XELFViewer.app/Contents/MacOS/XELFViewer"

deploy_qt xelfviewer
deploy_qt XELFViewer

make_release
make_clear
fi
fi
fi

0 comments on commit 74f0f2c

Please sign in to comment.