Skip to content

Commit b3cd6ae

Browse files
author
Peter Kosyh
committed
0.7.0 (ready for stead3)
1 parent e56f868 commit b3cd6ae

File tree

8 files changed

+17
-12
lines changed

8 files changed

+17
-12
lines changed

config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
#define GAMES_UPDATE_URL "http://instead.sf.net/pool/game_list.xml"
55
#define SW_UPDATE_URL "http://instead.sf.net/pool/update_list.xml"
6-
#define LAUNCHER_VERSION "0.6.3"
6+
#define LAUNCHER_VERSION "0.7.0"
77

88
#endif // CONFIG_H

instead-launcher.desktop.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Desktop Entry]
22
Encoding=UTF-8
3-
Version=0.6.3
3+
Version=0.7.0
44
Type=Application
55
Name=INSTEAD Launcher
66
Name[ru]=INSTEAD Launcher

instead-launcher.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Summary: Game update/launch program for INSTEAD
22
Name: instead-launcher
3-
Version: 0.6.3
3+
Version: 0.7.0
44
Release: 1%{?dist}
55
License: GPLv2
66
URL: https://github.com/instead-hub/instead-launcher

mainwindow.cpp

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -562,13 +562,18 @@ bool MainWindow::getLocalGameInfo(const QDir gameDir, const QString gameID, Game
562562
qDebug() << "exploring subdir: " << gameID;
563563

564564
// проверяем наличие файлика main.lua
565-
if (!gameDir.exists(gameID + "/main.lua")) {
566-
qWarning() << "main.lua not found - not a game";
565+
if (!gameDir.exists(gameID + "/main.lua") &&
566+
!gameDir.exists(gameID + "/main3.lua")) {
567+
qWarning() << "main?.lua not found - not a game";
567568
return false;
568569
}
569570

570-
// читаем main.lua
571-
QFile file(gameDir.absolutePath() + "/" + gameID + "/main.lua");
571+
// читаем main?.lua
572+
QFile file(gameDir.absolutePath() + "/" + gameID + "/main3.lua");
573+
574+
if (!file.exists())
575+
file.setFileName(gameDir.absolutePath() + "/" + gameID + "/main.lua");
576+
572577
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
573578
qWarning() << "can't open " << file.fileName();
574579
return false;

qunzip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// but on windows we haven't this :)
44
// ok, we'll think about it later, but for linux it's a good way :)
55
#include <QtCore>
6-
#if !defined(Q_OS_WIN) && !defined(Q_OS_FREEBSD)
6+
#if defined(Q_OS_LINUX)
77
#include <linux/limits.h>
88
#endif
99

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INSTEAD LAUNCHER 0.6.3
1+
INSTEAD LAUNCHER 0.7.0
22
======================
33

44
WARNING! For successfull building you must install qt4.

setup.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[Setup]
22
AppName=INSTEAD Launcher
3-
AppVerName=INSTEAD Launcher 0.6.3
3+
AppVerName=INSTEAD Launcher 0.7.0
44
DefaultDirName={pf}\Games\INSTEAD-LAUNCHER
55
DefaultGroupName=Games
66
UninstallDisplayIcon={app}\instead-launcher.exe
77
OutputDir=.
8-
OutputBaseFilename=instead-launcher-0.6.3
8+
OutputBaseFilename=instead-launcher-0.7.0
99
AllowNoIcons=true
1010

1111
[Languages]

tarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
VERSION="0.6.3"
2+
VERSION="0.7.0"
33
VERTITLE="instead-launcher-$VERSION"
44
ARCHIVE="instead-launcher_$VERSION.tar.gz"
55
qmake-qt4

0 commit comments

Comments
 (0)