1 WindowsPlatform : Platform
5 var deprecated = ["startup.sc", "~\\SuperCollider\\startup.sc".standardizePath];
6 Platform.deprecatedStartupFiles(deprecated);
7 ^(deprecated ++ super.startupFiles)
12 Server.program = "scsynth.exe";
15 Score.program = Server.program;
17 // load user startup file
18 this.loadStartupFiles;
21 defaultHIDScheme { ^nil }
23 pathSeparator { ^$\\ }
24 isPathSeparator { |char|
25 ^#[$\\, $/].includes(char)
27 clearMetadata { |path|
28 path = path.splitext[0].do({ |chr, i| if(chr == $/) { path[i] = $\\.asAscii } });
29 "del %%.*meta%".format(34.asAscii, path, 34.asAscii).systemCmd;
32 killAll { |cmdLineArgs|
33 ("taskkill /F /IM " ++ cmdLineArgs).unixCmd;
37 // +/+ "" looks funny but ensures trailing slash
38 var tmp = this.userAppSupportDir +/+ "";
39 ^if(File.exists(tmp)) { tmp }