Comments (6)
These are all good points. I typically run Cabbage out of the build directory myself so never have to worry about this. Do you feel like making a PR for a better install script? I'd be happy to merge. How about the other resources (examples/documentation.etc), are they going into an acceptable location?
from cabbage.
No everything is currently going to reserved locations where they should be going to /usr/local
as well.
Simply changing the install script won't work, because the applications have their internal locations hardcoded to /usr/bin
path.
For instance if one wants to export a project, it will fail because it is expecting /usr/bin/CabbagePlugin
. Maybe instead of the full path just the application-name should be used. Because these should already be in the $PATH of the user.
from cabbage.
So I can just use the location of the current binary to set the path for the plugins, like I do on other platforms. So basically scrap the if !def...
String pluginFilename, fileExtension;
File thisFile = File::getSpecialLocation (File::currentApplicationFile);
#if !defined(WIN32) && !defined(MACOSX)
String currentApplicationDirectory = "/usr/bin";
#else
String currentApplicationDirectory = thisFile.getParentDirectory().getFullPathName();
#endif
After that we only need to ensure that the plugins are in the same folder as the main application binary.
from cabbage.
You shouldn't even need to think about the location of the binaries. If the user installed Cabbage, then all the Cabbage binaries are in the $PATH already.
You should only have to call the binary name. The full path is irrelevant.
(but maybe someone else needs to chime in on this :) )
from cabbage.
It should be simple enough to test. I won't be at my Linux machine for a few days, but if you wish to go ahead and test this I'd be more than happy to hear how it goes 👍
from cabbage.
I don't have time today to try and build Cabbage, but thanks for looking in to this :)
from cabbage.
Related Issues (20)
- Request for specifying Number Box slider increase interval HOT 5
- Cabbage closes without any message HOT 1
- Linux Installation Questions HOT 2
- Drag and drop does not work in reaper. HOT 5
- Possible to install on Linux Fedora 36? HOT 4
- Please add JUCE_WEB_BROWSER=0 to CLIConverter target HOT 2
- stop setting CWD... HOT 4
- Is Visual Studio 2019 required or are NEWER visual studio installs workable for building Cabbage? HOT 6
- CLIConverter does not link on Linux HOT 4
- Installation not work on linux manjaro distro based HOT 10
- "Select new project type" screen and Zenity HOT 1
- Button FIle Open not open windows for find the file and the cabbage crash! HOT 5
- How to convert nki files to vst? HOT 2
- xypad doesn't update value display when automating via DAW HOT 3
- Cabbage widget to show Csound console messages HOT 6
- Cabbage widget to edit/save Csound code HOT 4
- No commas allowed in strings? HOT 2
- Beep when Csound ends. Is it intentional? HOT 1
- cabbageCreate does nothing in instrument 0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cabbage.