Initial commit
Setup script and other things
This commit is contained in:
parent
cbf395cd3c
commit
7ba7513c22
5 changed files with 42 additions and 0 deletions
7
BeefProj.toml
Normal file
7
BeefProj.toml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
FileVersion = 1
|
||||||
|
Dependencies = {corlib = "*", Aven = {Git = "https://code.booklordofthe.dev/Booklordofthedings/Aven"}}
|
||||||
|
|
||||||
|
[Project]
|
||||||
|
Name = "aven-ly"
|
||||||
|
TargetType = "BeefLib"
|
||||||
|
StartupObject = "aven_ly.Program"
|
5
Setup/.gitignore
vendored
Normal file
5
Setup/.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# ---> Beef
|
||||||
|
build/
|
||||||
|
recovery/
|
||||||
|
BeefSpace_User.toml
|
||||||
|
|
5
Setup/BeefProj.toml
Normal file
5
Setup/BeefProj.toml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
FileVersion = 1
|
||||||
|
|
||||||
|
[Project]
|
||||||
|
Name = "Setup"
|
||||||
|
StartupObject = "Setup.Program"
|
5
Setup/BeefSpace.toml
Normal file
5
Setup/BeefSpace.toml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
FileVersion = 1
|
||||||
|
Projects = {Setup = {Path = "."}}
|
||||||
|
|
||||||
|
[Workspace]
|
||||||
|
StartupProject = "Setup"
|
20
Setup/src/Program.bf
Normal file
20
Setup/src/Program.bf
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
namespace Setup;
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Diagnostics;
|
||||||
|
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
public static void Main()
|
||||||
|
{
|
||||||
|
var repoURL = "https://code.booklordofthe.dev/Booklordofthedings/ly-design";
|
||||||
|
|
||||||
|
ProcessStartInfo info = scope .();
|
||||||
|
SpawnedProcess process = scope .();
|
||||||
|
|
||||||
|
info.SetFileNameAndArguments(scope $"git clone {repoURL}");
|
||||||
|
info.ActivateWindow = true;
|
||||||
|
info.UseShellExecute = false;
|
||||||
|
process.Start(info);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue