From 9a336e180324e683ce8fd7b074fc556837a26f71 Mon Sep 17 00:00:00 2001 From: WorldTeacher <41587052+WorldTeacher@users.noreply.github.com> Date: Thu, 20 Jun 2024 14:53:08 +0200 Subject: [PATCH] vscode tasks --- .vscode/tasks.json | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 279c350..13e4459 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,14 +1,19 @@ { - "version": "2.0.0", - "tasks": [ - { - "label": "Compile UI", - "type": "shell", - "command": "pyuic6 ${file} -o ${fileDirname}/${fileBasenameNoExtension}_ui.py", - "group": { - "kind": "build", - "isDefault": true - } - } - ] -} + "version": "2.0.0", + "tasks": [ + { + "label": "Build Project", + "type": "shell", + "command": "pyinstaller --noconfirm --onedir --windowed --icon 'C:/Users/aky547/Downloads/VZjRNn1k.ico' --name 'SemesterapparatsManager' --clean --add-data 'C:/Users/aky547/GitHub/SemesterapparatsManager/config.yaml;.' --add-data 'C:/Users/aky547/GitHub/SemesterapparatsManager/icons;.' 'C:/Users/aky547/GitHub/SemesterapparatsManager/main.py'", + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "reveal": "always", + "panel": "new" + }, + "problemMatcher": "$python" + } + ] +} \ No newline at end of file