FlashpointProject / launcher

Launcher for Flashpoint Archive
https://flashpointarchive.org
Other
1k stars 55 forks source link

[BUG] Add-Apps do not follow App Path Overrides #156

Open parkerlreed opened 3 years ago

parkerlreed commented 3 years ago

Describe the bug

When launching an additional application, the app path override is not taken into account and it runs the original program.

To Reproduce Steps to reproduce the behavior:

  1. Set App Path Override to :ruffle: for example
  2. Launch a secondary application (Interactive Buddy comes to mind)

Expected behavior

For the App Path replacement to be used

Desktop (please complete the following information):

Additional application launch

INFO  [14:09:15]       Game Launcher: Launch Add-App "All Unlocked Hack from HackedArcadeGames.com" (PID: 35374) [ path: "FPSoftware\Flash\flashplayer_32_sa.exe", arg: "http://www.hackedarcadegames.com/swf/94562377.swf" ]

Normal game launch

INFO  [14:08:58]       Game Launcher: Launch Game "Interactive Buddy" (PID: 35247) [
                                    applicationPath: "FPSoftware\Flash\flashplayer_32_sa.exe",
                                    launchCommand:   "http://shock-value.deviantart.com/interactive_buddy_v_1_02_by_shock_value_d6ma8m.swf",
                                    command:         ""/home/parker/Downloads/Flashpoint 9.0 Infinity/Data/Extensions/FPL-Ruffle/ruffle-standalone/release/ruffle" --proxy="http://localhost:22500/" --power=High --graphics=Default http://shock-value.deviantart.com/interactive_buddy_v_1_02_by_shock_value_d6ma8m.swf" ]
LindirQuenya commented 2 years ago

Will be fixed by #321.