1. changed location of config file. 2. added install instruction on Gentoo

master
Qiaoyong Zhong 9 years ago
parent e7643e8548
commit 2672c5abac

@ -31,6 +31,6 @@ HEADERS += \
TRANSLATIONS = ts/2048-qt_zh_CN.ts ts/2048-qt_ru_RU.ts TRANSLATIONS = ts/2048-qt_zh_CN.ts ts/2048-qt_ru_RU.ts
VERSION = 0.1.5 VERSION = 0.1.6
DEFINES += APP_VERSION=\\\"$${VERSION}\\\" DEFINES += APP_VERSION=\\\"$${VERSION}\\\"

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2014 Qiaoyong Zhong Copyright (c) 2015 Qiaoyong Zhong
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.

@ -51,6 +51,13 @@ And please vote it if you like it.
sudo apt-get install 2048-qt sudo apt-get install 2048-qt
``` ```
### Gentoo
2048-Qt is available from the overlay maintained by [Jorge Pizarro Callejas](https://github.com/jorgicio):
```
layman -a jorgicio
emerge 2048-qt
```
### Ubuntu ### Ubuntu
From Ubuntu 14.10 on, install it through: From Ubuntu 14.10 on, install it through:

@ -9,7 +9,7 @@
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QApplication app(argc, argv); QApplication app(argc, argv);
Settings settings(0, "xiaoyong", "2048-Qt"); Settings settings(0, "2048-qt", "2048-Qt");
settings.setVersion(QString(APP_VERSION)); settings.setVersion(QString(APP_VERSION));
// Localization // Localization

@ -1,4 +1,4 @@
.TH 2048-QT 6 2014-05-03 .TH 2048-QT 6 2015-09-13
.SH NAME .SH NAME
2048-qt \- the 2048 number game implemented in Qt 2048-qt \- the 2048 number game implemented in Qt
.SH SYNOPSIS .SH SYNOPSIS
@ -8,7 +8,7 @@ Move the number tiles using arrow keys and merge the same numbers. Once a 2048 t
.SH OPTIONS .SH OPTIONS
2048-QT is configured graphically and does not have any commandline options. 2048-QT is configured graphically and does not have any commandline options.
.SH FILES .SH FILES
~/.config/xiaoyong/2048-Qt.conf ~/.config/2048-qt/2048-Qt.conf
.RS .RS
Per user configuration file. Per user configuration file.
.RE .RE

@ -319,7 +319,7 @@ ApplicationWindow {
MessageDialog { MessageDialog {
id: aboutDialog id: aboutDialog
title: qsTr("About 2048-Qt") title: qsTr("About 2048-Qt")
text: qsTr("<p style='font-weight: bold; font-size: 24px'>2048-Qt</p><p>Version " + settings.getVersion() + "</p><p>2014 Qiaoyong Zhong &lt;solary.sh@gmail.com&gt;</p>") text: qsTr("<p style='font-weight: bold; font-size: 24px'>2048-Qt</p><p>Version " + settings.getVersion() + "</p><p>2015 Qiaoyong Zhong &lt;solary.sh@gmail.com&gt;</p>")
standardButtons: StandardButton.Ok standardButtons: StandardButton.Ok
} }

Loading…
Cancel
Save