plyght's own C++ browser for macOS
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

up

plyght 09fef6fc e850d34b

+81 -4
+6
.gitignore
··· 31 31 *.app/ 32 32 *.dSYM/ 33 33 34 + # App icon source 35 + icons/Icon Exports/ 36 + !icons/ 37 + !icons/pcob.icon/ 38 + !icons/pcob.icon/** 39 + 34 40 # Editor 35 41 .vscode/ 36 42 .idea/
+20 -4
CMakeLists.txt
··· 140 140 if(APPLE) 141 141 add_custom_command(TARGET pocb POST_BUILD 142 142 COMMAND ${CMAKE_COMMAND} -E make_directory "$<TARGET_BUNDLE_DIR:pocb>/Contents/Resources" 143 - COMMAND /usr/bin/xcrun actool "${CMAKE_SOURCE_DIR}/icons/pcob.icon" --app-icon pcob --compile "$<TARGET_BUNDLE_DIR:pocb>/Contents/Resources" --output-partial-info-plist "$<TARGET_BUNDLE_DIR:pocb>/Contents/Resources/assetcatalog_generated_info.plist" --minimum-deployment-target 11.0 --platform macosx --target-device mac 143 + COMMAND /usr/bin/xcrun actool "${CMAKE_SOURCE_DIR}/icons/pcob.icon" --app-icon pcob --compile "$<TARGET_BUNDLE_DIR:pocb>/Contents/Resources" --output-partial-info-plist "$<TARGET_BUNDLE_DIR:pocb>/Contents/Resources/assetcatalog_generated_info.plist" --minimum-deployment-target 26.0 --platform macosx --target-device mac 144 144 COMMAND /bin/chmod u+w "$<TARGET_BUNDLE_DIR:pocb>/Contents/Info.plist" 145 145 COMMAND /usr/bin/plutil -replace CFBundleIconFile -string pcob "$<TARGET_BUNDLE_DIR:pocb>/Contents/Info.plist" 146 146 COMMAND /usr/bin/plutil -replace CFBundleIconName -string pcob "$<TARGET_BUNDLE_DIR:pocb>/Contents/Info.plist" ··· 152 152 get_target_property(_qt_qmake Qt6::qmake IMPORTED_LOCATION) 153 153 get_filename_component(_qt_bin_dir "${_qt_qmake}" DIRECTORY) 154 154 get_filename_component(_qt_prefix "${_qt_bin_dir}" DIRECTORY) 155 - set(_qt_openssl_backend "${_qt_prefix}/share/qt/plugins/tls/libqopensslbackend.dylib") 155 + set(_qt_openssl_backend_candidates 156 + "${_qt_prefix}/share/qt/plugins/tls/libqopensslbackend.dylib" 157 + "${_qt_prefix}/plugins/tls/libqopensslbackend.dylib" 158 + ) 159 + set(_qt_openssl_backend "") 160 + foreach(_qt_openssl_backend_candidate IN LISTS _qt_openssl_backend_candidates) 161 + if(EXISTS "${_qt_openssl_backend_candidate}") 162 + set(_qt_openssl_backend "${_qt_openssl_backend_candidate}") 163 + break() 164 + endif() 165 + endforeach() 156 166 157 167 add_custom_command(TARGET pocb POST_BUILD 158 168 COMMAND ${CMAKE_COMMAND} -E make_directory "$<TARGET_BUNDLE_DIR:pocb>/Contents/PlugIns/platforms" 159 169 COMMAND ${CMAKE_COMMAND} -E copy_if_different "$<TARGET_FILE:Qt6::QCocoaIntegrationPlugin>" "$<TARGET_BUNDLE_DIR:pocb>/Contents/PlugIns/platforms/libqcocoa.dylib" 160 - COMMAND ${CMAKE_COMMAND} -E make_directory "$<TARGET_BUNDLE_DIR:pocb>/Contents/PlugIns/tls" 161 - COMMAND ${CMAKE_COMMAND} -E copy_if_different "${_qt_openssl_backend}" "$<TARGET_BUNDLE_DIR:pocb>/Contents/PlugIns/tls/libqopensslbackend.dylib" 162 170 COMMAND ${CMAKE_COMMAND} -E make_directory "$<TARGET_BUNDLE_DIR:pocb>/Contents/Resources" 163 171 COMMAND ${CMAKE_COMMAND} -E echo "[Paths]" > "$<TARGET_BUNDLE_DIR:pocb>/Contents/Resources/qt.conf" 164 172 COMMAND ${CMAKE_COMMAND} -E echo "Plugins = PlugIns" >> "$<TARGET_BUNDLE_DIR:pocb>/Contents/Resources/qt.conf" 165 173 VERBATIM 166 174 ) 175 + 176 + if(_qt_openssl_backend) 177 + add_custom_command(TARGET pocb POST_BUILD 178 + COMMAND ${CMAKE_COMMAND} -E make_directory "$<TARGET_BUNDLE_DIR:pocb>/Contents/PlugIns/tls" 179 + COMMAND ${CMAKE_COMMAND} -E copy_if_different "${_qt_openssl_backend}" "$<TARGET_BUNDLE_DIR:pocb>/Contents/PlugIns/tls/libqopensslbackend.dylib" 180 + VERBATIM 181 + ) 182 + endif() 167 183 endif()
+13
icons/pcob.icon/Assets/pocb-white.svg
··· 1 + <?xml version="1.0" encoding="UTF-8"?> 2 + <svg width="290px" height="440px" viewBox="0 0 290 440" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 3 + <title>pocb</title> 4 + <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> 5 + <g id="pocb"> 6 + <rect id="Rectangle" fill="color(display-p3 1.000 1.000 1.000)" x="0" y="0" width="60" height="440"></rect> 7 + <rect id="Rectangle" fill="color(display-p3 1.000 1.000 1.000)" x="0" y="0" width="290" height="60"></rect> 8 + <rect id="Rectangle" fill="color(display-p3 1.000 1.000 1.000)" x="230" y="1.42108547e-14" width="60" height="250"></rect> 9 + <path d="M0,190 L290,190 L290,234.409717 L290,250 L0,250 L0,190 Z" id="Rectangle" fill="color(display-p3 1.000 1.000 1.000)"></path> 10 + <rect id="Rectangle" stroke="color(display-p3 1.000 1.000 1.000)" stroke-width="40" x="115" y="298" width="155" height="122"></rect> 11 + </g> 12 + </g> 13 + </svg>
+42
icons/pcob.icon/icon.json
··· 1 + { 2 + "fill" : { 3 + "automatic-gradient" : "extended-srgb:0.00000,0.53333,1.00000,1.00000" 4 + }, 5 + "groups" : [ 6 + { 7 + "layers" : [ 8 + { 9 + "fill-specializations" : [ 10 + { 11 + "appearance" : "dark", 12 + "value" : "none" 13 + } 14 + ], 15 + "image-name" : "pocb-white.svg", 16 + "name" : "pocb-white", 17 + "position" : { 18 + "scale" : 1.5, 19 + "translation-in-points" : [ 20 + 0, 21 + 0 22 + ] 23 + } 24 + } 25 + ], 26 + "shadow" : { 27 + "kind" : "neutral", 28 + "opacity" : 0.5 29 + }, 30 + "translucency" : { 31 + "enabled" : true, 32 + "value" : 0.5 33 + } 34 + } 35 + ], 36 + "supported-platforms" : { 37 + "circles" : [ 38 + "watchOS" 39 + ], 40 + "squares" : "shared" 41 + } 42 + }