-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathinstall.js
More file actions
113 lines (113 loc) · 3.17 KB
/
Copy pathinstall.js
File metadata and controls
113 lines (113 loc) · 3.17 KB
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
module.exports = {
run: [
// Edit this step to customize the git repository to use
{
method: "shell.run",
params: {
message: [
//"git clone https://github.com/peanutcocktail/ai-town.git app",
"git clone https://github.com/betapeanut/ai-town.git app",
]
}
},
{
method: "shell.run",
params: {
path: "app", // Edit this to customize the path to start the shell from
message: [
"conda install -y -c conda-forge just",
]
}
},
// {
// method: "shell.run",
// params: {
// conda: "node18",
// path: "app", // Edit this to customize the path to start the shell from
// message: [
// "conda install -y -c conda-forge nodejs==18.19.0 just",
// "npm install",
// ]
// }
// },
{
method: "shell.run",
params: {
path: "app", // Edit this to customize the path to start the shell from
message: [
"npm install",
]
}
},
{
when: "{{platform === 'darwin' && arch == 'arm64'}}",
method: "fs.download",
params: {
uri: "https://github.com/get-convex/convex-backend/releases/download/precompiled-2024-04-26-560e5a3/convex-local-backend-aarch64-apple-darwin.zip",
dir: "app"
}
},
{
when: "{{platform === 'darwin' && arch == 'arm64'}}",
method: "shell.run",
params: {
message: "unzip convex-local-backend-aarch64-apple-darwin.zip",
path: "app"
}
},
{
when: "{{platform === 'darwin' && arch == 'x64'}}",
method: "fs.download",
params: {
uri: "https://github.com/get-convex/convex-backend/releases/download/precompiled-2024-04-29-5b5828c/convex-local-backend-x86_64-apple-darwin.zip",
dir: "app"
}
},
{
when: "{{platform === 'darwin' && arch == 'x64'}}",
method: "shell.run",
params: {
message: "unzip convex-local-backend-x86_64-apple-darwin.zip",
path: "app"
}
},
{
when: "{{platform === 'linux' && arch == 'x64'}}",
method: "fs.download",
params: {
uri: "https://github.com/get-convex/convex-backend/releases/download/precompiled-2024-04-29-5b5828c/convex-local-backend-x86_64-unknown-linux-gnu.zip",
dir: "app"
}
},
{
when: "{{platform === 'linux' && arch == 'x64'}}",
method: "shell.run",
params: {
message: "unzip convex-local-backend-x86_64-unknown-linux-gnu.zip",
path: "app"
}
},
{
when: "{{platform === 'win32'}}",
method: "fs.download",
params: {
uri: "https://github.com/get-convex/convex-backend/releases/download/precompiled-2024-05-17-27156fb/convex-local-backend-x86_64-pc-windows-msvc.zip",
dir: "app"
}
},
{
when: "{{platform === 'win32'}}",
method: "shell.run",
params: {
message: "unzip convex-local-backend-x86_64-pc-windows-msvc.zip",
path: "app"
}
},
{
method: "notify",
params: {
html: "Click the 'start' tab to get started!"
}
}
]
}