mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Removed usages of eager_load, probably fixed application launching weirdness
This commit is contained in:
@@ -143,7 +143,9 @@ class W3DHub
|
||||
|
||||
def run(app_id, channel, *args)
|
||||
if (app_data = installed?(app_id, channel))
|
||||
pid = Process.spawn("#{wine_command(app_id, channel)}#{app_data[:install_path]}", *args)
|
||||
application_exe = W3DHub.unix? ? "\"#{app_data[:install_path]}\"" : app_data[:install_path]
|
||||
|
||||
pid = Process.spawn("#{wine_command(app_id, channel)}#{application_exe} #{args.join(' ')}")
|
||||
Process.detach(pid)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user