Skip to content

Commit

Permalink
Revert change that limits detecting install directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcclure committed Apr 12, 2021
1 parent 69284de commit 5f27fc2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Lib/Launchpad/Entity/ManagedEntityBase.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,7 @@ class ManagedEntityBase extends EntityBase {

detectedValues[this.configPrefix . "UsesShortcut"] := usesShortcut
detectedValues[this.configPrefix . "RunType"] := usesShortcut ? "Shortcut" : "Command"

if (!this.entityData.HasValue(this.configPrefix . "InstallDir")) {
detectedValues[this.configPrefix . "InstallDir"] := this.LocateInstallDir()
}
detectedValues[this.configPrefix . "InstallDir"] := this.LocateInstallDir() ; This needs to run to expand exes without a dir

if (this.ProcessType == "Exe") {
SplitPath(this.Exe, processId)
Expand Down

0 comments on commit 5f27fc2

Please sign in to comment.