-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.scd
More file actions
23 lines (17 loc) · 962 Bytes
/
Copy pathsetup.scd
File metadata and controls
23 lines (17 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(
// 1. Add custom granularFX Classes to local extensions directory
var classDefFile = thisProcess.nowExecutingPath.dirname +/+ "granularFXClasses.sc";
var localDir = Platform.userExtensionDir +/+ "local";
var target = localDir +/+ "granularFXClasses.sc";
// Create local directory if it doesn't exist
if (File.exists(localDir).not) {
File.mkdir(localDir);
"Created local extensions directory.".postln;
};
if (File.exists(target), { File.delete(target);}, { "Local extensions directory is clean.".postln; });
if (File.exists(classDefFile)) { File.copy(classDefFile, target); }
// 2. Recompile Class Library for the changes to take effect
/*
When your class library changes, either because you have installed or removed a Quark, or just modified a class file, you will need to recompile the class library in order for changes to take effect. You can do that quickly via the Ctrl+Shift+L shortcut, or via the Language menu -> Recompile Class Library.
*/
)