diff --git a/README.md b/README.md index 01aaa89..a6e3c0a 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,12 @@ echo "@reboot /home/william/.config/BetterDiscord/posix.sh > /home/william/.BD-j crontab mycron rm mycron ``` + +To install on Windows +``` +cd %appdata% +rmdir /s /q BetterDiscord +git clone git clone gitea@gitea.archuser.org:firebadnofire/BD-js.git BetterDiscord +Find "%appdata%\BetterDiscord\bs-sync.xml" +Install at Task Scheduler (taskschd.msc) +``` \ No newline at end of file diff --git a/bs-sync.xml b/bs-sync.xml new file mode 100644 index 0000000..baea3d9 Binary files /dev/null and b/bs-sync.xml differ diff --git a/sync.c b/sync.c deleted file mode 100644 index 0ee6da7..0000000 --- a/sync.c +++ /dev/null @@ -1,12 +0,0 @@ -#include -#include - -int main() { - // Running system commands in order - system("git pull"); - system("git add ."); - system("git commit -S -m \"commit\""); - system("git push"); - - return 0; -} \ No newline at end of file diff --git a/sync.exe b/sync.exe deleted file mode 100644 index 5de63e3..0000000 Binary files a/sync.exe and /dev/null differ