1. changed location of config file. 2. added install instruction on Gentoo
This commit is contained in:
parent
e7643e8548
commit
2672c5abac
@ -31,6 +31,6 @@ HEADERS += \
|
||||
|
||||
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}\\\"
|
||||
|
4
LICENSE
4
LICENSE
@ -1,6 +1,6 @@
|
||||
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
|
||||
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
|
||||
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
|
||||
SOFTWARE.
|
||||
SOFTWARE.
|
||||
|
@ -51,6 +51,13 @@ And please vote it if you like it.
|
||||
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
|
||||
|
||||
From Ubuntu 14.10 on, install it through:
|
||||
|
2
main.cpp
2
main.cpp
@ -9,7 +9,7 @@
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication app(argc, argv);
|
||||
Settings settings(0, "xiaoyong", "2048-Qt");
|
||||
Settings settings(0, "2048-qt", "2048-Qt");
|
||||
settings.setVersion(QString(APP_VERSION));
|
||||
|
||||
// Localization
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH 2048-QT 6 2014-05-03
|
||||
.TH 2048-QT 6 2015-09-13
|
||||
.SH NAME
|
||||
2048-qt \- the 2048 number game implemented in Qt
|
||||
.SH SYNOPSIS
|
||||
@ -8,7 +8,7 @@ Move the number tiles using arrow keys and merge the same numbers. Once a 2048 t
|
||||
.SH OPTIONS
|
||||
2048-QT is configured graphically and does not have any commandline options.
|
||||
.SH FILES
|
||||
~/.config/xiaoyong/2048-Qt.conf
|
||||
~/.config/2048-qt/2048-Qt.conf
|
||||
.RS
|
||||
Per user configuration file.
|
||||
.RE
|
||||
|
@ -319,7 +319,7 @@ ApplicationWindow {
|
||||
MessageDialog {
|
||||
id: aboutDialog
|
||||
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 <solary.sh@gmail.com></p>")
|
||||
text: qsTr("<p style='font-weight: bold; font-size: 24px'>2048-Qt</p><p>Version " + settings.getVersion() + "</p><p>2015 Qiaoyong Zhong <solary.sh@gmail.com></p>")
|
||||
standardButtons: StandardButton.Ok
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user