mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 12:56:06 +00:00
fix: added-games scan keeps games like Reach, Breach, Crashday and Observer (#1023)
This commit is contained in:
1 parent
019a3700ff
commit
9139524015
2 files changed
+34
-5
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package com.droiddeck.launcher.frontend
|
||||
|
||||
import org.junit.Assert.assertFalse
|
||||
import org.junit.Assert.assertTrue
|
||||
import org.junit.Test
|
||||
|
||||
class AddedGamesSkipExeTest {
|
||||
@Test fun gameTitlesContainingShortSkipWordsAreKept() {
|
||||
listOf("BeachBuggyRacing.exe", "Reach.exe", "Breach.exe", "Crashday.exe", "CrashBandicoot.exe",
|
||||
"Observer.exe", "Observer-Win64-Shipping.exe", "Game.exe").forEach { assertFalse(it, AddedGames.skipExe(it)) }
|
||||
}
|
||||
|
||||
@Test fun installersToolsAndServersAreSkipped() {
|
||||
listOf("unins000.exe", "setup.exe", "vc_redist.x64.exe", "DXSETUP.exe", "CrashReportClient.exe",
|
||||
"UnityCrashHandler64.exe", "gamelaunchhelper.exe", "EACLauncher.exe", "DedicatedServer.exe",
|
||||
"UE4Editor.exe", "valheim_server.exe", "GameConfig.exe", "GameConfigure.exe", "Settings.exe", "Updater.exe",
|
||||
"EasyAntiCheat_Setup.exe").forEach { assertTrue(it, AddedGames.skipExe(it)) }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user