mirror of
https://github.com/Alee14/entertaining-mines.git
synced 2025-01-22 09:02:04 -05:00
Cosmetic changes on macOS
This commit is contained in:
parent
0a09634a4a
commit
fa6974f0e1
8 changed files with 37 additions and 4 deletions
BIN
app-dmg-background.png
Normal file
BIN
app-dmg-background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
dmgicon.icns
Normal file
BIN
dmgicon.icns
Normal file
Binary file not shown.
|
@ -85,11 +85,11 @@ macx {
|
|||
# ICON = icon-bp.icns
|
||||
} else {
|
||||
TARGET = "Entertaining Mines"
|
||||
# ICON = icon.icns
|
||||
ICON = icon.icns
|
||||
}
|
||||
|
||||
INCLUDEPATH += "/usr/local/include/the-libs" "/usr/local/include/libentertaining"
|
||||
LIBS += -L/usr/local/lib -lthe-libs -lentertaining
|
||||
|
||||
# QMAKE_POST_LINK += $$quote(cp $${PWD}/dmgicon.icns $${PWD}/app-dmg-background.png $${PWD}/node-appdmg-config*.json $${OUT_PWD}/..)
|
||||
QMAKE_POST_LINK += $$quote(cp $${PWD}/dmgicon.icns $${PWD}/app-dmg-background.png $${PWD}/node-appdmg-config*.json $${OUT_PWD}/..)
|
||||
}
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
<property name="windowTitle">
|
||||
<string>Entertaining Mines</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="resources.qrc">
|
||||
<normaloff>:/icons/entertaining-mines.svg</normaloff>:/icons/entertaining-mines.svg</iconset>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
|
||||
|
@ -72,6 +76,8 @@
|
|||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<resources>
|
||||
<include location="resources.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
|
BIN
icon.icns
Normal file
BIN
icon.icns
Normal file
Binary file not shown.
2
main.cpp
2
main.cpp
|
@ -37,7 +37,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
a.setOrganizationName("theSuite");
|
||||
a.setOrganizationDomain("");
|
||||
a.setApplicationIcon(QIcon::fromTheme("entertaining-mines", QIcon(":/icons/icon.svg")));
|
||||
a.setApplicationIcon(QIcon::fromTheme("entertaining-mines", QIcon(":/icons/entertaining-mines.svg")));
|
||||
a.setApplicationVersion("0.1");
|
||||
a.setGenericName(QApplication::translate("main", "Minesweeper"));
|
||||
// a.setAboutDialogSplashGraphic(a.aboutDialogSplashGraphicFromSvg(":/icons/aboutsplash.svg"));
|
||||
|
|
26
node-appdmg-config.json
Normal file
26
node-appdmg-config.json
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"title": "Entertaining Mines",
|
||||
"icon": "dmgicon.icns",
|
||||
"background": "app-dmg-background.png",
|
||||
"icon-size": 48,
|
||||
"window": {
|
||||
"size": {
|
||||
"width": 600,
|
||||
"height": 420
|
||||
}
|
||||
},
|
||||
"contents": [
|
||||
{
|
||||
"x": 125,
|
||||
"y": 225,
|
||||
"type": "file",
|
||||
"path": "Entertaining Mines.app"
|
||||
},
|
||||
{
|
||||
"x": 470,
|
||||
"y": 225,
|
||||
"type": "link",
|
||||
"path": "/Applications"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -6,5 +6,6 @@
|
|||
<file>tiles/flag.svg</file>
|
||||
<file>tiles/mine.svg</file>
|
||||
<file>tiles/flagNot.svg</file>
|
||||
<file>icons/entertaining-mines.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
Loading…
Reference in a new issue