-
Notifications
You must be signed in to change notification settings - Fork 0
/
selfie.conf
62 lines (55 loc) · 1.83 KB
/
selfie.conf
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
package "PHPL PowerLine" {
output "setup-phpl.run";
res "app.name" "PHPL PowerLine";
res "app.version" "v0.x";
destination "~/.phpl";
screen "welcome" type="message" entry=true {
title "Welcome to the %{app.name} %{app.version} installer";
text "@{isdata:MESSAGE}";
next "license";
}
screen "license" type="license" {
title "Open Source License";
license "GNU GPL v3 or later";
text "@{isdata:LICENSE}";
next "select";
back "welcome";
}
screen "select" type="list" {
title "Configure shell";
text "If you would like to automatically configure your shell, please select the one you are using:";
item "bash" "Automatically configure Bash" default=true groups="conf.bash";
item "fish" "Automatically configure Fish" default=false groups="conf.fish";
back "license";
}
bundle "isdata" {
file "LICENSE" src="LICENSE";
file "MESSAGE" src="share/INSTALLER.md";
}
bundle "app" default=true {
file "bin/phpl-config";
file "bin/phpl-reload";
file "bin/phpl-generate";
directory "lib";
install "*" target="%{destination}";
}
bundle "modules" default=true {
directory "modules";
install "*" target="%{destination}" overwrite="all";
}
bundle "themes" default=true {
directory "themes";
install "*" target="%{destination}" overwrite="all";
}
bundle "conf.bash" {
file "powerline.bash" src="share/";
file "setup-bash.sh" src="share/";
script "setup-bash.sh";
}
bundle "conf.fish" {
file "powerline.fish" src="share/";
file "setup-fish.sh" src="share/";
script "setup-fish.sh";
}
exec when="after" "%{destination}/bin/phpl-config" "--reload" "--all";
}