From aed37b7fae4940d7e8e9c8e14c3b3043fe505e2b Mon Sep 17 00:00:00 2001 From: Dunestorm Date: Mon, 8 Jul 2024 23:25:29 +0100 Subject: [PATCH] LiquidGUI [1.1.0.0] Dev - Added build script for Linux. --- .vscode/launch.json | 5 +++-- .vscode/tasks.json | 13 ++++++++----- build.sh | 2 ++ 3 files changed, 13 insertions(+), 7 deletions(-) create mode 100755 build.sh diff --git a/.vscode/launch.json b/.vscode/launch.json index 306f58e..540f0b6 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,11 +6,12 @@ "configurations": [ { "name": "Python: Current File", - "type": "python", + "type": "debugpy", "request": "launch", "program": "${file}", "console": "integratedTerminal", - "justMyCode": true + "justMyCode": true, + "sudo": true } ] } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 1c59d37..e88e9ab 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,13 +4,16 @@ "version": "2.0.0", "tasks": [ { - "label": "Build", + "label": "Windows Build", "type": "shell", "command": "cmd.exe /c build.bat", - "group": { - "kind": "build", - "isDefault": true - } + "group": "build" + }, + { + "label": "Linux Build", + "type": "shell", + "command": "${workspaceFolder}/build.sh", + "group": "build" } ] } \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..ffc6c6b --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +#!/bin/bash +pyinstaller main.pyw --onefile --paths .venv\Lib\site-packages --name LiquidGUI \ No newline at end of file