Move icons into platform specific directory

This commit is contained in:
RigoLigo 2022-05-30 17:21:31 +08:00
parent c8b1fbbc83
commit baba0e0f34
3 changed files with 4 additions and 5 deletions

View File

@ -20,7 +20,7 @@ macos: {
QT += gui-private
ICON = images/RedPandaIDE.icns
ICON = ../macos/RedPandaIDE.icns
}
win32: VERSION = $${APP_VERSION}.0
@ -503,15 +503,14 @@ RESOURCES += theme_files
RESOURCES += colorscheme_files
macos: {
message($$OUT_PWD/astyle/astyle)
# Add needed executables into the main app bundle
bundled_executable.files = \
$$OUT_PWD/../astyle/astyle \
$$OUT_PWD/../consolepauser/consolepauser \
$$OUT_PWD/../redpanda-git-askpass/redpanda-git-askpass.app/Contents/MacOS/redpanda-git-askpass
bundled_executable.path = Contents/MacOS
# Also bundled templates
QMAKE_BUNDLE_DATA += bundled_executable
}

View File

@ -1,6 +1,6 @@
#!/bin/bash
input_icon="devcpp.png"
input_icon="../RedPandaIDE/images/devcpp.png"
output_dir="RedPandaIDE.iconset"
mkdir $output_dir