Commit Graph

13 Commits

Author SHA1 Message Date
58ae26b4f7 Major rewrites && Added args && Using tmp
Complete rewrite of pacman database logic && Check if db.lck exists && Create db.lck when the program backups the database and delete it afterwords
2023-02-02 14:27:42 +01:00
e07cdcfeb0 Hotfix: Changed pacman database filename && Added missing logic for compressed directory 2023-01-14 04:49:39 +01:00
eb2b1edf29 Seperated Zip steps into seperate functions && Added file comparison && Now using /tmp for file operations && Experimental color output && Added extra file and directory logic
Seperated Pacman Database into it's own function so that when the function is called two times it doesn't actually do it.
Added a way to compare two files by reading every byte and then checking if it's the same or not.
For convenience sake the /tmp directory will be used for all temporary file operations like compressing.
Color output is going great. Looks pretty nice.
Before doing anything file related all functions check if the necessary directory exists.
2023-01-14 04:03:43 +01:00
8a0c93172c Added compression && changed directory structure 2023-01-13 14:28:52 +01:00
378c907146 Removed unused code && Added extra logic to check if things exist 2023-01-12 22:38:29 +01:00
21b61759d6 Removed update functionality && Rewrote/simplified file handling && Expanded README
With this commit I will change the scope of this project. The new goal for this project is to rewrite the file handling of the original update script in C#. Because of this a lot changed with this commit.
I removed all update functionality from the code. I completely rewrote the file handling with help of the FileInfo class. I also added a couple of things to the Roadmap. While doing that I also added sources that I frequently use.
2023-01-11 04:47:58 +01:00
ed5286435a Interactive shell commands now work
The code for this was written by gpt3
2022-12-06 16:53:10 +01:00
ebf5b9e304 Copy files to backup folder in home 2022-12-06 13:23:56 +01:00
fd07d1ce74 Copy function && Separate function for everything 2022-12-06 12:23:45 +01:00
263f69b2b8 Made a seperate class for the update script 2022-12-05 18:19:18 +01:00
9c05f3ac83 Trying to get the user home 2022-12-05 18:08:45 +01:00
763de0a371 Add README.md && LICENSE 2022-12-02 21:54:55 +01:00
9c96f74f23 Shell command test
Successfully executed a shell command in C#
2022-12-02 21:21:45 +01:00