-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Absolute path of the client #51
Comments
I am worried that it is complicated to automatically detect the executable path in a cross-platform way without external dependency in C++ [1]
What do you think? [1] : http://stackoverflow.com/questions/143174/how-do-i-get-the-directory-that-a-program-is-running-from |
I do not think we need to detect the executable path, getting the current working directory seems more appropriate (and easy ^^). Here is my vision of VIBes working directory management:
Independently of this, the viewer could keep track of the last save file path for each figure, so as to present the file save dialog already targeting the right place if the figure as already been saved once (this should be the subject of a new improvement issue). Feel free to comment Below is a suggestion for an improved system (but let's first focus on the main issue)
|
The call to "connect" should also send a command to the viewer (connect command?) containing the absolute path of the client program, retrieved via environment variables
(note: UNIX: $PWD, Windows: %CD%)
The viewer will need to know where the client is drawing from when image drawing will be implemented (or any functionality requiring access to local files).
The text was updated successfully, but these errors were encountered: