From 13c648c5022688637d31b3866b388fc5baa79e62 Mon Sep 17 00:00:00 2001 From: mistangl Date: Wed, 4 Jun 2025 14:16:32 +0200 Subject: [PATCH] =?UTF-8?q?installations=20batch=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/install.bat | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 bin/install.bat diff --git a/bin/install.bat b/bin/install.bat new file mode 100644 index 0000000..ee2ef08 --- /dev/null +++ b/bin/install.bat @@ -0,0 +1,12 @@ +@echo on + +set TARGETDIR="%ONEDRIVE%\Desktop\Kabeltool" +mkdir %TARGETDIR% +set SHORTCUT=%TARGETDIR%\create_cables.lnk + +set CHECKOUT_DIR="C:\10-Develop\gitrepos\kabellaengen" + +set TARGET=%CHECKOUT_DIR%\bin\run.bat +set ICON=%CHECKOUT_DIR%\doc\img\Icons\Icon_Gemini2.ico + +powershell -Command "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SHORTCUT%');$s.TargetPath='%TARGET%';$s.IconLocation='%ICON%';$s.Save()" \ No newline at end of file