-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
44 lines (33 loc) · 1.31 KB
/
index.js
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
const {ipcRenderer} = require('electron')
const path = require('path');
var opener = require("opener");
const AerialDesktop = path.join(__dirname, 'Aerial_Desktop');
const hiding = path.join(AerialDesktop, '.hide');
const binning = path.join(hiding, 'bin');
function FractalClock() {
opener([path.join(binning, "Installer.app"), "--args", "FractalClock"]);
}
function MarineAquarium() {
opener([path.join(binning, "Installer.app"), "--args", "MarineAquarium3.2"]);
}
function StarWarsScroll() {
opener([path.join(binning, "Installer.app"), "--args", "StarWarsScroll"]);
}
function WebViewScreenSaver() {
opener([path.join(binning, "Installer.app"), "--args", "WebViewScreenSaver"]);
}
function MatrixScreenSaver() {
opener([path.join(binning, "Installer.app"), "--args", "MatrixScreenSaver"]);
}
function KPSaver() {
opener([path.join(binning, "Installer.app"), "--args", "KPSaver"]);
}
function BlueScreenSaver() {
opener([path.join(binning, "Installer.app"), "--args", "BlueScreenSaver"]);
}
function Aerial() {
opener([path.join(binning, "Installer.app"), "--args", "Aerial"]);
}
function Uninstall() {
opener (path.join(binning,'Stop.app'));
}