The legendary update script rewritten in C# https://gitea.hopeless-cloud.xyz/AustrianToast/update
Go to file
2022-12-05 18:08:45 +01:00
.gitignore Shell command test 2022-12-02 21:21:45 +01:00
LICENSE Add README.md && LICENSE 2022-12-02 21:54:55 +01:00
Program.cs Trying to get the user home 2022-12-05 18:08:45 +01:00
README.md Add README.md && LICENSE 2022-12-02 21:54:55 +01:00
update.csproj Trying to get the user home 2022-12-05 18:08:45 +01:00

update-c#

A rewrite of the legendary update script in C#

Authors

Run Locally

Clone the project

  git clone http://192.168.0.69:3000/ProfessionalUwU/update-csharp.git

Go to the project directory

  cd update-csharp

Install dependencies

  pacman -S dotnet-runtime dotnet-sdk

Build project

  dotnet build update.csproj 

Publish project

  dotnet publish --configuration Release --arch x64 --use-current-runtime --self-contained 

Go to the publish folder

  cd update-csharp/bin/Release/net7.0/linux-x64/publish

Run executable

  ./update

Roadmap

  • Figure out how to do options/arguments
  • Backup important files
  • Figure out how to make a single executable

Contributing

Contributions are always welcome!