Skip to content

Commit 81d445a

Browse files
committed
v2.2.1
1 parent bb2fb9e commit 81d445a

File tree

6 files changed

+12
-18
lines changed

6 files changed

+12
-18
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
![OFME window](https://zzedovec.github.io/images/ofmeBanner.png)
44
# OnlineFix Linux Launcher
55

6-
**A simple and convenient launcher for running games from ****[online-fix.me](https://online-fix.me)**** on Linux**
6+
**A simple and convenient launcher for running games with community multiplayer fixes on Linux**
77

88
## ✨ Features
99

@@ -15,11 +15,8 @@
1515

1616
## ❕ Compatibility
1717

18-
Most online fixes from online-fix.me are currently supported. Partial support is available for fixes from freetp.org *(it is highly recommended to download games from online-fix.me if available, rather than from FreeTP)*.
19-
Fixes that include custom launchers (e.g., Phasmophobia) have not been tested yet.
20-
21-
Work-in-progres:
22-
- Epic Games fixes
18+
Most online fixes are currently supported.
19+
Fixes that include custom launchers have not been tested yet.
2320

2421
## 📦 Dependencies
2522

README_ru.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
![Окно OFME](https://zzedovec.github.io/images/ofmeBanner.png)
55
# OnlineFix Linux Launcher
66

7-
**Простой и удобный лаунчер для запуска игр с ****[online-fix.me](https://online-fix.me)**** на Linux**
7+
**Простой и удобный лаунчер для запуска игр с пользовательскими исправлениями мультиплеера Linux**
88

99
## ✨ Возможности
1010

@@ -15,11 +15,8 @@
1515

1616
## ❕ Совместимость
1717

18-
В настоящее время поддерживаются большинство онлайн-фиксов с online-fix.me. Частично поддерживаются фиксы с freetp.org *(крайне рекомендуется при наличии игры на online-fix.me скачивать её именно оттуда, а не с FreeTP)*
19-
Фиксы, включающие пользовательские лаунчеры (например, Phasmophobia), пока не тестировались.
20-
21-
В разработке:
22-
- Фиксы для Epic Games
18+
В настоящее время поддерживаются большинство онлайн-фиксов.
19+
Фиксы, включающие пользовательские лаунчеры, пока не тестировались.
2320

2421
## 📦 Зависимости
2522

src/app/forms/MainForm.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function doPlayButtonAction(UXEvent $e = null)
276276
if ($e->sender->graphic == $e->sender->data('stop'))
277277
{
278278
$exec = $this->appModule()->games->get('executable',$this->gamePanel->data('gameName'));
279-
$kill = new Process(['pkill','-f',fs::nameNoExt($exec)])->startAndWait();
279+
$kill = new Process(['pkill','-f',fs::name($exec)])->startAndWait();
280280

281281
if ($kill->getExitValue() != 0)
282282
{
@@ -650,7 +650,7 @@ function showGameMenu($name,$header,$sender)
650650
$this->gamePanel->data('gameName',$name);
651651
$this->gamePanel->data('opener',$sender);
652652
$this->protonDBButton->enabled = $this->steamButton->enabled = $this->steamDBButton->enabled = $this->appModule()->games->get('steamID',$name) != null;
653-
if (new Process(['pgrep','-af',fs::nameNoExt($this->appModule()->games->get('executable',$name))])->startAndWait()->getExitValue() == 1)
653+
if (new Process(['pgrep','-af',fs::name($this->appModule()->games->get('executable',$name))])->startAndWait()->getExitValue() == 1)
654654
$this->switchPlayButton('play');
655655
else
656656
$this->switchPlayButton('stop');

src/app/forms/about.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<Font name="System Regular" size="13"/>
2121
</font>
2222
</LabelEx>
23-
<LabelEx alignment="CENTER" autoSize="false" contentDisplay="LEFT" ellipsisString="..." focusTraversable="false" graphicTextGap="4" id="label3" layoutX="120" layoutY="219" prefHeight="24" prefWidth="96" style="-fx-background-color:#9141ac;-fx-background-radius:50px;" styleClass="label " text="2.2 version" textAlignment="CENTER" textFill="#ffffff" underline="false" wrapText="false">
23+
<LabelEx alignment="CENTER" autoSize="false" contentDisplay="LEFT" ellipsisString="..." focusTraversable="false" graphicTextGap="4" id="label3" layoutX="120" layoutY="219" prefHeight="24" prefWidth="96" style="-fx-background-color:#9141ac;-fx-background-radius:50px;" styleClass="label " text="2.2.1 version" textAlignment="CENTER" textFill="#ffffff" underline="false" wrapText="false">
2424
<font>
2525
<Font name="System Bold" size="12"/>
2626
</font>

src/app/modules/AppModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function doAction(ScriptEvent $e = null)
5959
new Thread(function (){
6060
try
6161
{
62-
if (fs::get('https://zzedovec.github.io/resources/ofmelauncher/currentversion') != '2.2')
62+
if (fs::get('https://zzedovec.github.io/resources/ofmelauncher/currentversion') != '2.2.1')
6363
{
6464
new Process(['./jre/bin/java','-jar','ofmeupd.jar'])->start();
6565
app()->shutdown();

src/app/modules/filesWorker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ static function generateProcess($name,$debug = false)
6262
$mainEnvironment = array_merge($mainEnvironment,$customEnvironment);
6363
if (app()->appModule()->games->get('steamOverlay',$name))
6464
{
65-
$mainEnvironment = array_merge($mainEnvironment,['LD_PRELOAD'=>":$userhome/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so:".
66-
"$userhome/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so"]);
65+
$mainEnvironment = array_merge($mainEnvironment,['LD_PRELOAD'=>":$userHome/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so:".
66+
"$userHome/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so"]);
6767
}
6868

6969
if (app()->appModule()->games->get('steamRuntime',$name))

0 commit comments

Comments
 (0)