diff --git a/DiSHLoader/DiSHLoader.csproj b/DiSHLoader/DiSHLoader.csproj index dbddbf9..bbf8b18 100644 --- a/DiSHLoader/DiSHLoader.csproj +++ b/DiSHLoader/DiSHLoader.csproj @@ -15,4 +15,16 @@ + + + Always + + + Always + + + Always + + + diff --git a/DiSHLoader/delete.bat b/DiSHLoader/delete.bat new file mode 100644 index 0000000..d421a23 --- /dev/null +++ b/DiSHLoader/delete.bat @@ -0,0 +1,3 @@ +del /s /q %appdata%\LDevs\DiSHLoader +del "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\DiSHLoader.exe" +echo "Removal done!" \ No newline at end of file diff --git a/DiSHLoader/manifest.json b/DiSHLoader/manifest.json new file mode 100644 index 0000000..0893ca3 --- /dev/null +++ b/DiSHLoader/manifest.json @@ -0,0 +1,21 @@ +{ + "name": "DiSHLoader", + "description": "DiSH Loader", + "installation": { + "adapter": "pak/adapter-batch", + "file": "setup.bat", + "needsReboot": "false" + }, + "uninstallation": { + "supported": "true", + "adapter": "pak/adapter-batch", + "file": "delete.bat", + "needsReboot": "false" + }, + "update": { + "supported": "true", + "adapter": "pak/adapter-batch", + "file": "setup.bat", + "needsReboot": "false" + } +} diff --git a/DiSHLoader/setup.bat b/DiSHLoader/setup.bat new file mode 100644 index 0000000..5dc4397 --- /dev/null +++ b/DiSHLoader/setup.bat @@ -0,0 +1,5 @@ +mkdir %appdata%\LDevs\DiSHLoader +mkdir %appdata%\LDevs\DiSHLoader\versions +copy * %appdata%\LDevs\DiSHLoader\ +mklink "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\DiSHLoader.exe" %appdata%\LDevs\DiSHLoader\DiSHLoader.exe +echo "Setup done! You just need an env file and a version" \ No newline at end of file