Skip to content

Commit

Permalink
Hotfix #2 - File Extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Rizlim authored and Rizlim committed Jun 3, 2019
1 parent 7a9d75d commit 9ae7cd9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>RizlimDev</groupId>
<artifactId>PoE-Addon-Launcher-Core</artifactId>
<version>1.11</version>
<version>1.11.2</version>

<properties>
<kotlin.version>1.3.0</kotlin.version>
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/PAL2/Addons/Externals.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ object Externals

fun determineCMD(file: File): String
{
return when (file.extension)
return when (file.extension.toLowerCase())
{
"exe" -> InstallHandlerHelpers.createExeLaunchCommandWithElevation(file.path)
"ahk" -> InstallHandlerHelpers.createAHKLaunchCommand(file.path)
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/PAL2/GUI/CoreController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1775,7 +1775,7 @@ class CoreController : Initializable
if (file.isDirectory)
return

when (file.extension)
when (file.extension.toLowerCase())
{
"exe" -> showExternalSettings(file)
"ahk" -> showExternalSettings(file)
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/PAL2/GlobalData.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class GlobalData
{
companion object
{
var version = "1.11.1"
var version = "1.11.2"
var debugging = false
var install_dir = ""
var github_token = ""
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/update_notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<li>FilterBlast Loot Filters support</li>
<li>Generally Code enhancements</li>
<li>Hotfix: SQL sux ok</li>
<li>Hotfix-2: File extension checking</li>
</ul>

<div class="block_1 hline-bottom"><h1>Version 1.0.10</h1></div>
Expand Down

0 comments on commit 9ae7cd9

Please sign in to comment.