Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Commit 4279ad9

Browse files
committed
change server
1 parent 795f5cc commit 4279ad9

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Eauenv/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ static void Main(string[] args)
5959
ProcessStartInfo startInfo = new ProcessStartInfo();
6060
#if WINDOWS
6161
startInfo.FileName = "cmd.exe";
62+
startInfo.Arguments = "/K " + Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".eauenv", envName, "shell");
6263
#else
6364
startInfo.FileName = "bash";
65+
startInfo.Arguments = "-c \"source " + Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".eauenv", envName, "shell.sh") + " && exec bash\"";
6466
#endif
65-
startInfo.Arguments = "/K " + Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".eauenv", envName, "shell");
6667
startInfo.UseShellExecute = true;
6768
// Make it a window
6869
startInfo.WindowStyle = ProcessWindowStyle.Normal;

eaupak/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ static async Task Main(string[] args)
88
{
99
if (args.Length == 0)
1010
{
11-
Console.WriteLine("Usage: eaupak <package name>");
11+
Console.WriteLine("Usage: eaupak <package name[x.y.z]>");
1212
return;
1313
}
1414
// Get the package name
1515
string packageName = args[0];
1616
// Check if the package exists
1717
HttpClient client = new HttpClient();
18-
HttpResponseMessage response = await client.GetAsync("https://raw.githubusercontent.com/Novixx-Systems/eaucool-packages/main/" + packageName + ".eau");
18+
HttpResponseMessage response = await client.GetAsync("https://eau.cool/packages/" + packageName + ".eau");
1919
if (response.StatusCode == HttpStatusCode.NotFound)
2020
{
2121
Console.WriteLine("Package not found");

0 commit comments

Comments
 (0)