Skip to content

Commit

Permalink
use blue/yellow/orange OpenHantek icons also for MacOS
Browse files Browse the repository at this point in the history
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
  • Loading branch information
Ho-Ro committed Aug 29, 2023
1 parent 6e00f96 commit 385bdaa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
macdeployqt OpenHantek.app -always-overwrite -verbose=1
python ../../utils/macdeployqtfix/macdeployqtfix.py \
--quiet OpenHantek.app/Contents/MacOS/OpenHantek $(brew --prefix qt5)
create-dmg --volname OpenHantek --volicon ../../openhantek/res/images/openhantek.icns \
create-dmg --volname OpenHantek --volicon ../../openhantek/res/images/OpenHantek.icns \
--window-pos 200 120 --window-size 800 400 --icon-size 100 --icon "OpenHantek.app" 200 190 \
--skip-jenkins --hide-extension "OpenHantek.app" --app-drop-link 600 185 \
--eula ../../LICENSE OpenHantek.dmg OpenHantek.app
Expand Down
2 changes: 1 addition & 1 deletion docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ After you've installed the requirements run the following commands inside the to
python ../../utils/macdeployqtfix/macdeployqtfix.py OpenHantek.app/Contents/MacOS/OpenHantek $(brew --prefix qt5)
#
# finally create OpenHantek.dmg from OpenHantek.app
create-dmg --volname OpenHantek --volicon ../../openhantek/res/images/openhantek.icns --window-pos 200 120 \
create-dmg --volname OpenHantek --volicon ../../openhantek/res/images/OpenHantek.icns --window-pos 200 120 \
--window-size 800 400 --icon-size 100 --icon "OpenHantek.app" 200 190 --skip-jenkins \
--hide-extension "OpenHantek.app" --app-drop-link 600 185 --eula ../../LICENSE OpenHantek.dmg OpenHantek.app
#
Expand Down
4 changes: 2 additions & 2 deletions openhantek/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ if( APPLE AND BUILD_MACOSX_BUNDLE )
set( MACOSX_BUNDLE_BUNDLE_VERSION ${VERSION} )
string(TIMESTAMP THISYEAR "%Y")
set( MACOSX_BUNDLE_COPYRIGHT "(C) 2012-${THISYEAR} OpenHantek community" )
set( MACOSX_BUNDLE_ICON_FILE openhantek.icns )
set( ICONS ${CMAKE_CURRENT_SOURCE_DIR}/res/images/openhantek.icns )
set( MACOSX_BUNDLE_ICON_FILE OpenHantek.icns )
set( ICONS ${CMAKE_CURRENT_SOURCE_DIR}/res/images/OpenHantek.icns )
set_source_files_properties( ${ICONS} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources" )
endif()

Expand Down
Binary file added openhantek/res/images/OpenHantek.icns
Binary file not shown.

0 comments on commit 385bdaa

Please sign in to comment.