-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1d_InstallParty.scd
86 lines (58 loc) · 1.88 KB
/
1d_InstallParty.scd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Get current SuperCollider 3.6.6 (or newer) from:
http://sourceforge.net/projects/supercollider/files/
Start SuperCollider,
run the line:
Quarks.checkoutAll; // and accept if needed
// if that fails, follow instructions here:
http://supercollider.github.io/development/quarks-repository-moved.html
Quarks.installed.collect(_.name).postcs;
[
"Bending",
"GamePad",
"JITLibExtensions",
"JITMIDIKtl",
"KeyPlayer",
"Morse",
"MultiTouchPad",
"Preference",
"Republic",
"SpeakersCorner",
"UnitTesting"
].do { |quark|
Quarks.install(quark);
};
Quarks.gui;
//////////// clone some things from github:
https://github.com/ModalityTeam/Modality-toolkit
https://github.com/ModalityTeam/VariousMixedThings
// install by hand - create links into :
/// open the app support directory:
unixCmd("open" + quote(Platform.userAppSupportDir));
// everything in here can be classes, helps, plugins etc,
// will be included and loaded on startup and recompile.
// other file types will be ignored, but may slow recompiling:
unixCmd("open" + quote(Platform.userExtensionDir));
// clone these to Desktop :
https://github.com/adcxyz/MetaControl2014
https://github.com/ModalityTeam/Modality-toolkit
https://github.com/ModalityTeam/VariousMixedThings
// make a folder in appSupportDir, and move them there, e.g.:
"~/Library/Application Support/SuperCollider/ExtensionsMetaKtl/".pathMatch
"~/Library/Application Support/SuperCollider/ExtensionsMetaKtl/*".pathMatch.printAll; "";
(
f = { |pkg, srcDir = "/ExtensionsMetaKtl/"|
var supDir = Platform.userAppSupportDir;
var extDir = Platform.userExtensionDir;
var targetPath = extDir +/+ pkg;
srcDir = supDir +/+ srcDir;
if (File.exists(targetPath)) {
"already there.".postln;
} {
unixCmd("ln -s" + quote(srcDir +/+ pkg) + quote(targetPath));
};
};
)
f.value("VariousMixedThings");
f.value("Modality-toolkit");
thisProcess.recompile;
Influx.openHelpFile;