diff --git a/setup/README.md b/scripts/setup/README.md similarity index 100% rename from setup/README.md rename to scripts/setup/README.md diff --git a/setup/setup.bat b/scripts/setup/setup.bat similarity index 99% rename from setup/setup.bat rename to scripts/setup/setup.bat index ad1a846..e205571 100644 --- a/setup/setup.bat +++ b/scripts/setup/setup.bat @@ -39,7 +39,7 @@ echo Dependencies are already Installed ECHO. echo Creating organization directory ECHO. -CD ..\..\ +CD ..\..\..\ MKDIR fosscord-workspace cd fosscord-workspace ECHO Cloning all repositories diff --git a/setup/setup.sh b/scripts/setup/setup.sh old mode 100755 new mode 100644 similarity index 100% rename from setup/setup.sh rename to scripts/setup/setup.sh diff --git a/scripts/update/update.bat b/scripts/update/update.bat new file mode 100644 index 0000000..2e1a2c0 --- /dev/null +++ b/scripts/update/update.bat @@ -0,0 +1,5 @@ +@ECHO off +ECHO Update... +cd ..\..\..\ +FOR /D %%a IN (%CD%\fosscord-workspace\*) do git -C %%~fa pull && npm i +PAUSE \ No newline at end of file