Updated (README.md)
This commit is contained in:
parent
7a9f0c74e8
commit
7ef27a9be8
|
@ -12,3 +12,12 @@ echo "@reboot /home/william/.config/BetterDiscord/posix.sh > /home/william/.BD-j
|
||||||
crontab mycron
|
crontab mycron
|
||||||
rm 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)
|
||||||
|
```
|
Binary file not shown.
12
sync.c
12
sync.c
|
@ -1,12 +0,0 @@
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int main() {
|
|
||||||
// Running system commands in order
|
|
||||||
system("git pull");
|
|
||||||
system("git add .");
|
|
||||||
system("git commit -S -m \"commit\"");
|
|
||||||
system("git push");
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
Loading…
Reference in New Issue