Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
424c0e8e
Unverified
Commit
424c0e8e
authored
May 07, 2020
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uli42-pr/use_nxdialog' into 3.6.x
Attributes GH PR #922:
https://github.com/ArcticaProject/nx-libs/pull/922
parents
db105546
46c8dce9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
Loop.cpp
nxcomp/src/Loop.cpp
+15
-5
No files found.
nxcomp/src/Loop.cpp
View file @
424c0e8e
...
...
@@ -9842,19 +9842,29 @@ char *GetClientPath()
//
// Try to guess the location of the client.
//
clientEnv
=
"/usr/NX/bin/nxclient"
;
// FIXME: replace hardcoded paths by built-time variables if possible
#ifdef __APPLE__
clientEnv
=
"/Applications/NX Client for OSX.app/Contents/MacOS/nxclient"
;
#endif
#ifdef __CYGWIN32__
#else
# if defined(__CYGWIN32__)
clientEnv
=
"C:
\\
Program Files
\\
NX Client for Windows
\\
nxclient"
;
# else
clientEnv
=
"/usr/NX/bin/nxclient"
;
struct
stat
fileStat
;
if
((
stat
(
clientEnv
,
&
fileStat
)
==
-
1
)
&&
(
EGET
()
==
ENOENT
))
{
clientEnv
=
"/usr/bin/nxdialog"
;
}
# endif
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment