- AGS Editor .NET (Build 3.5.1.11)
- Bass Template
-----------------------------------------------------------------------------------
Hello, I've added to the main AGS folder "libagsshell.so" and "ags_shell.dll".
I opened the game and activated "ags_shell.dll" pulgin.
"libagsshell.so" does not appear in the project tree.
I've created a button in the game startup GUI and inserted the following code:
Code: ags
On Windows it works perfectly, but on Linux does not work.
Any suggestions as to what I might be doing wrong?
Thanks.
- Bass Template
-----------------------------------------------------------------------------------
Hello, I've added to the main AGS folder "libagsshell.so" and "ags_shell.dll".
I opened the game and activated "ags_shell.dll" pulgin.
"libagsshell.so" does not appear in the project tree.
I've created a button in the game startup GUI and inserted the following code:
function Button_OnClick(GUIControl *control, MouseButton button)
{
if( System.OperatingSystem == eOSWindows ){
ShellExecute("", "http://website.com", "");
} else if( System.OperatingSystem == eOSLinux ){
ShellExecute("", "", "xdg-open http://website.com");
}
}
On Windows it works perfectly, but on Linux does not work.
Any suggestions as to what I might be doing wrong?
Thanks.