From 6fca17e566724a69bd27592b7e829efddea81170 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:08:52 +0200 Subject: [PATCH 01/38] test node installation --- .gitea/workflows/build.yaml | 22 ++++++++++++++++++++++ Taskfile.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .gitea/workflows/build.yaml create mode 100644 Taskfile.yml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..4915cc6 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,22 @@ +name: Build software +run-name: ${{ github.actor }} is testing out Gitea Actions πŸš€ +on: [push] +jobs: + prepare: + runs-on: ubuntu-latest + steps: + - run: echo "πŸŽ‰ Installing the environment..." + - run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash + - run: nvm install 20 + - run: node -v + - run: npm -v + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v3 + - run: echo "πŸ’‘ The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "πŸ–₯️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 Job finished with status ${{ job.status }}." \ No newline at end of file diff --git a/Taskfile.yml b/Taskfile.yml new file mode 100644 index 0000000..912cfd6 --- /dev/null +++ b/Taskfile.yml @@ -0,0 +1,33 @@ +version: '3' + +vars: + # Get the application name + repo_name: + sh: basename `git config --get remote.origin.url` .git + repo_version: + sh: | + tag=$(git describe --tags --abbrev=0 2>/dev/null || true) + if [ -z "$tag" ]; then + git rev-parse HEAD + else + echo $tag + fi + +tasks: + # Installing the dependencies to develop dmxconnect + install: + cmds: + - echo "Installing dependencies to contribute to {{.repo_name}}..." + silent: true + + # Running the application + run: + cmds: + - echo "Running {{.repo_name}}..." + silent: true + + # Building the application + build: + cmds: + - echo "Generating {{.repo_name}}_v{{.repo_version}}.deb ..." + silent: true \ No newline at end of file -- 2.49.1 From 6b48f1a6b087d005403ddfc85180d564e803dedd Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:14:32 +0200 Subject: [PATCH 02/38] refresh --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 4915cc6..90ea2e4 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -5,7 +5,7 @@ jobs: prepare: runs-on: ubuntu-latest steps: - - run: echo "πŸŽ‰ Installing the environment..." + - run: echo "Installing the environment..." - run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - run: nvm install 20 - run: node -v -- 2.49.1 From 99ef81801c4b3a030c22aaae4220f8fbf76f39ae Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:18:30 +0200 Subject: [PATCH 03/38] refresh --- .gitea/workflows/build.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 90ea2e4..78a2ee4 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -5,8 +5,9 @@ jobs: prepare: runs-on: ubuntu-latest steps: - - run: echo "Installing the environment..." - - run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash + - name: Installing NodeJS... + run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash + - run: export NVM_DIR="$HOME/.nvm" - run: nvm install 20 - run: node -v - run: npm -v -- 2.49.1 From c6f9c7b896483cf61e3e17f6c365b920d5af8861 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:19:53 +0200 Subject: [PATCH 04/38] refresh --- .gitea/workflows/build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 78a2ee4..51d48c4 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -8,6 +8,8 @@ jobs: - name: Installing NodeJS... run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - run: export NVM_DIR="$HOME/.nvm" + - run: [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + - run: [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" - run: nvm install 20 - run: node -v - run: npm -v -- 2.49.1 From fd2c69f58b2bd52e5f511452f08b8a82be10592d Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:21:38 +0200 Subject: [PATCH 05/38] refresh --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 51d48c4..419a550 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -13,7 +13,7 @@ jobs: - run: nvm install 20 - run: node -v - run: npm -v - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code uses: actions/checkout@v3 -- 2.49.1 From c7e53b3650f96e218e7bc8010f8865ebe7067663 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:22:28 +0200 Subject: [PATCH 06/38] refresh --- .gitea/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 419a550..aed7c11 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -8,8 +8,8 @@ jobs: - name: Installing NodeJS... run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - run: export NVM_DIR="$HOME/.nvm" - - run: [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" - - run: [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" + - run: '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' + - run: '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"' - run: nvm install 20 - run: node -v - run: npm -v -- 2.49.1 From 68569b2c614d374ace5ca358e4d02586c009bbfe Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:24:14 +0200 Subject: [PATCH 07/38] refresh --- .gitea/workflows/build.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index aed7c11..57651d6 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -7,9 +7,7 @@ jobs: steps: - name: Installing NodeJS... run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - - run: export NVM_DIR="$HOME/.nvm" - - run: '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' - - run: '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"' + - run: source /root/.bashrc - run: nvm install 20 - run: node -v - run: npm -v -- 2.49.1 From 3db8a082fdae0827c9d0676f62885f1f30c679fd Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:31:47 +0200 Subject: [PATCH 08/38] refresh --- .gitea/workflows/build.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 57651d6..5996a4f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -5,10 +5,13 @@ jobs: prepare: runs-on: ubuntu-latest steps: - - name: Installing NodeJS... - run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - - run: source /root/.bashrc - - run: nvm install 20 + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Node.js 20 + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - + sudo apt-get install -y nodejs - run: node -v - run: npm -v - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" -- 2.49.1 From 20a0cfb3a08c2d602a66cceb6b39901fd3ef1747 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:35:58 +0200 Subject: [PATCH 09/38] refresh --- .gitea/workflows/build.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 5996a4f..dc2533e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -12,6 +12,16 @@ jobs: run: | curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt-get install -y nodejs + node -v + + - name: Set up Go 1.20 + run: | + GO_VERSION=1.20.6 + wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz + sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz + export PATH=$PATH:/usr/local/go/bin + go version + - run: node -v - run: npm -v - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" -- 2.49.1 From 1e833f265352bf84f1b1fca7e23bd0cecab0d1a5 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:39:17 +0200 Subject: [PATCH 10/38] refresh --- .gitea/workflows/build.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index dc2533e..1f74177 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -22,8 +22,12 @@ jobs: export PATH=$PATH:/usr/local/go/bin go version - - run: node -v - - run: npm -v + - name: Set up wails + run: go install github.com/wailsapp/wails/v2/cmd/wails@latest + + - name: Building application... + run: wails build + - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code -- 2.49.1 From f856bbcfcc78e27216b78b59e930109442e23c3c Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:43:10 +0200 Subject: [PATCH 11/38] refresh --- .gitea/workflows/build.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1f74177..273c804 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -8,24 +8,25 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Set up Node.js 20 + - name: Set up NodeJS run: | curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt-get install -y nodejs node -v - - name: Set up Go 1.20 + - name: Set up Go run: | GO_VERSION=1.20.6 wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz - export PATH=$PATH:/usr/local/go/bin + echo "export PATH=$PATH:/usr/local/go/bin" > ~/.profile + source ~/.profile go version - - name: Set up wails + - name: Set up Wails run: go install github.com/wailsapp/wails/v2/cmd/wails@latest - - name: Building application... + - name: Building ${{ github.repository }} run: wails build - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" -- 2.49.1 From 19e6aed9db1c7fa17b68cdef09a17660d80f75be Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:45:30 +0200 Subject: [PATCH 12/38] refresh --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 273c804..243f108 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -19,7 +19,7 @@ jobs: GO_VERSION=1.20.6 wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz - echo "export PATH=$PATH:/usr/local/go/bin" > ~/.profile + echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile source ~/.profile go version -- 2.49.1 From 27e8db293b39e761ec0d8824c05870817d0cf4e6 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:50:24 +0200 Subject: [PATCH 13/38] refresh --- .gitea/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 243f108..b2da08f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -24,7 +24,9 @@ jobs: go version - name: Set up Wails - run: go install github.com/wailsapp/wails/v2/cmd/wails@latest + run: | + source ~/.profile + go install github.com/wailsapp/wails/v2/cmd/wails@latest - name: Building ${{ github.repository }} run: wails build -- 2.49.1 From c0fd3a6ba86f1831f5277d00f4571e242d63d6ff Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 22:54:48 +0200 Subject: [PATCH 14/38] refresh --- .gitea/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index b2da08f..c256874 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -29,7 +29,9 @@ jobs: go install github.com/wailsapp/wails/v2/cmd/wails@latest - name: Building ${{ github.repository }} - run: wails build + run: | + source ~/.profile + wails build - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." -- 2.49.1 From cf4ce9823fce9ea6c687b0249d83395882c02bf6 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Jun 2024 23:05:54 +0200 Subject: [PATCH 15/38] refresh --- .gitea/workflows/build.yaml | 88 +++---- Taskfile.yml | 64 ++--- frontend/src/App.svelte | 106 ++++---- frontend/src/components/Animation.svelte | 2 +- frontend/src/components/Devices.svelte | 0 frontend/src/components/GeneralConsole.svelte | 0 frontend/src/components/NavigationBar.svelte | 0 frontend/src/components/Preparation.svelte | 0 .../src/components/RoundIconButton.svelte | 0 frontend/src/components/Settings.svelte | 0 frontend/src/components/Show.svelte | 0 frontend/src/components/Toggle.svelte | 240 +++++++++--------- frontend/src/lang/en.json | 0 frontend/src/stores.js | 0 frontend/src/style.css | 138 +++++----- go.mod | 74 +++--- go.sum | 184 +++++++------- main.go | 70 ++--- 18 files changed, 483 insertions(+), 483 deletions(-) mode change 100644 => 100755 .gitea/workflows/build.yaml mode change 100644 => 100755 Taskfile.yml mode change 100644 => 100755 frontend/src/App.svelte mode change 100644 => 100755 frontend/src/components/Animation.svelte mode change 100644 => 100755 frontend/src/components/Devices.svelte mode change 100644 => 100755 frontend/src/components/GeneralConsole.svelte mode change 100644 => 100755 frontend/src/components/NavigationBar.svelte mode change 100644 => 100755 frontend/src/components/Preparation.svelte mode change 100644 => 100755 frontend/src/components/RoundIconButton.svelte mode change 100644 => 100755 frontend/src/components/Settings.svelte mode change 100644 => 100755 frontend/src/components/Show.svelte mode change 100644 => 100755 frontend/src/components/Toggle.svelte mode change 100644 => 100755 frontend/src/lang/en.json mode change 100644 => 100755 frontend/src/stores.js mode change 100644 => 100755 frontend/src/style.css mode change 100644 => 100755 go.mod mode change 100644 => 100755 go.sum mode change 100644 => 100755 main.go diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml old mode 100644 new mode 100755 index c256874..d520cda --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -1,45 +1,45 @@ -name: Build software -run-name: ${{ github.actor }} is testing out Gitea Actions πŸš€ -on: [push] -jobs: - prepare: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Set up NodeJS - run: | - curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - - sudo apt-get install -y nodejs - node -v - - - name: Set up Go - run: | - GO_VERSION=1.20.6 - wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz - sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz - echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile - source ~/.profile - go version - - - name: Set up Wails - run: | - source ~/.profile - go install github.com/wailsapp/wails/v2/cmd/wails@latest - - - name: Building ${{ github.repository }} - run: | - source ~/.profile - wails build - - - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - - name: Check out repository code - uses: actions/checkout@v3 - - run: echo "πŸ’‘ The ${{ github.repository }} repository has been cloned to the runner." - - run: echo "πŸ–₯️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ github.workspace }} +name: Build software +run-name: ${{ github.actor }} is testing out Gitea Actions πŸš€ +on: [push] +jobs: + prepare: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up NodeJS + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - + sudo apt-get install -y nodejs + node -v + + - name: Set up Go + run: | + GO_VERSION=1.20.6 + wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz + sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz + echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile + source ~/.profile + go version + + - name: Set up Wails + run: | + source ~/.profile + go install github.com/wailsapp/wails/v2/cmd/wails@latest + + - name: Building ${{ github.repository }} + run: | + source ~/.profile + $GOBIN/go/bin/wails build + + - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v3 + - run: echo "πŸ’‘ The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "πŸ–₯️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} - run: echo "🍏 Job finished with status ${{ job.status }}." \ No newline at end of file diff --git a/Taskfile.yml b/Taskfile.yml old mode 100644 new mode 100755 index 912cfd6..5a92b4b --- a/Taskfile.yml +++ b/Taskfile.yml @@ -1,33 +1,33 @@ -version: '3' - -vars: - # Get the application name - repo_name: - sh: basename `git config --get remote.origin.url` .git - repo_version: - sh: | - tag=$(git describe --tags --abbrev=0 2>/dev/null || true) - if [ -z "$tag" ]; then - git rev-parse HEAD - else - echo $tag - fi - -tasks: - # Installing the dependencies to develop dmxconnect - install: - cmds: - - echo "Installing dependencies to contribute to {{.repo_name}}..." - silent: true - - # Running the application - run: - cmds: - - echo "Running {{.repo_name}}..." - silent: true - - # Building the application - build: - cmds: - - echo "Generating {{.repo_name}}_v{{.repo_version}}.deb ..." +version: '3' + +vars: + # Get the application name + repo_name: + sh: basename `git config --get remote.origin.url` .git + repo_version: + sh: | + tag=$(git describe --tags --abbrev=0 2>/dev/null || true) + if [ -z "$tag" ]; then + git rev-parse HEAD + else + echo $tag + fi + +tasks: + # Installing the dependencies to develop dmxconnect + install: + cmds: + - echo "Installing dependencies to contribute to {{.repo_name}}..." + silent: true + + # Running the application + run: + cmds: + - echo "Running {{.repo_name}}..." + silent: true + + # Building the application + build: + cmds: + - echo "Generating {{.repo_name}}_v{{.repo_version}}.deb ..." silent: true \ No newline at end of file diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte old mode 100644 new mode 100755 index a97d4b6..7f9c01d --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -1,54 +1,54 @@ - - -
- - -
-
- {#if selectedMenu === "settings"} - - {:else if selectedMenu === "devices"} - - {:else if selectedMenu === "preparation"} - - {:else if selectedMenu === "animation"} - - {:else if selectedMenu === "show"} - - {:else if selectedMenu === "console"} - - {/if} -
- - \ No newline at end of file diff --git a/frontend/src/components/Animation.svelte b/frontend/src/components/Animation.svelte old mode 100644 new mode 100755 index 5a09a61..b73cd6d --- a/frontend/src/components/Animation.svelte +++ b/frontend/src/components/Animation.svelte @@ -1 +1 @@ -

Animation creator

+

Animation creator

diff --git a/frontend/src/components/Devices.svelte b/frontend/src/components/Devices.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/GeneralConsole.svelte b/frontend/src/components/GeneralConsole.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/NavigationBar.svelte b/frontend/src/components/NavigationBar.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/Preparation.svelte b/frontend/src/components/Preparation.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/RoundIconButton.svelte b/frontend/src/components/RoundIconButton.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/Settings.svelte b/frontend/src/components/Settings.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/Show.svelte b/frontend/src/components/Show.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/Toggle.svelte b/frontend/src/components/Toggle.svelte old mode 100644 new mode 100755 index 0749c27..7f38122 --- a/frontend/src/components/Toggle.svelte +++ b/frontend/src/components/Toggle.svelte @@ -1,121 +1,121 @@ - - - - -
- - - -
- - \ No newline at end of file diff --git a/frontend/src/lang/en.json b/frontend/src/lang/en.json old mode 100644 new mode 100755 diff --git a/frontend/src/stores.js b/frontend/src/stores.js old mode 100644 new mode 100755 diff --git a/frontend/src/style.css b/frontend/src/style.css old mode 100644 new mode 100755 index b185506..b70296b --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -1,69 +1,69 @@ -:root{ - -webkit-user-select: none; /* Safari */ - -ms-user-select: none; /* IE 10 and IE 11 */ - user-select: none; /* Standard syntax */ -} - -html, body { - position: relative; - width: 100%; - height: 100%; -} - -body { - color: #333; - margin: 0; - padding: 8px; - box-sizing: border-box; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; -} - -a { - color: rgb(0,100,200); - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -a:visited { - color: rgb(0,80,160); -} - -label { - display: block; -} - -input, button, select, textarea { - font-family: inherit; - font-size: inherit; - -webkit-padding: 0.4em 0; - padding: 0.4em; - margin: 0 0 0.5em 0; - box-sizing: border-box; - border: 1px solid #ccc; - border-radius: 2px; -} - -input:disabled { - color: #ccc; -} - -button { - color: #333; - background-color: #f4f4f4; - outline: none; -} - -button:disabled { - color: #999; -} - -button:not(:disabled):active { - background-color: #ddd; -} - -button:focus { - border-color: #666; -} +:root{ + -webkit-user-select: none; /* Safari */ + -ms-user-select: none; /* IE 10 and IE 11 */ + user-select: none; /* Standard syntax */ +} + +html, body { + position: relative; + width: 100%; + height: 100%; +} + +body { + color: #333; + margin: 0; + padding: 8px; + box-sizing: border-box; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; +} + +a { + color: rgb(0,100,200); + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +a:visited { + color: rgb(0,80,160); +} + +label { + display: block; +} + +input, button, select, textarea { + font-family: inherit; + font-size: inherit; + -webkit-padding: 0.4em 0; + padding: 0.4em; + margin: 0 0 0.5em 0; + box-sizing: border-box; + border: 1px solid #ccc; + border-radius: 2px; +} + +input:disabled { + color: #ccc; +} + +button { + color: #333; + background-color: #f4f4f4; + outline: none; +} + +button:disabled { + color: #999; +} + +button:not(:disabled):active { + background-color: #ddd; +} + +button:focus { + border-color: #666; +} diff --git a/go.mod b/go.mod old mode 100644 new mode 100755 index 734804f..ce12316 --- a/go.mod +++ b/go.mod @@ -1,37 +1,37 @@ -module changeme - -go 1.20 - -require github.com/wailsapp/wails/v2 v2.9.1 - -require ( - github.com/bep/debounce v1.2.1 // indirect - github.com/go-ole/go-ole v1.2.6 // indirect - github.com/godbus/dbus/v5 v5.1.0 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e // indirect - github.com/labstack/echo/v4 v4.10.2 // indirect - github.com/labstack/gommon v0.4.0 // indirect - github.com/leaanthony/go-ansi-parser v1.6.0 // indirect - github.com/leaanthony/gosod v1.0.3 // indirect - github.com/leaanthony/slicer v1.6.0 // indirect - github.com/leaanthony/u v1.1.0 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect - github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/rivo/uniseg v0.4.4 // indirect - github.com/samber/lo v1.38.1 // indirect - github.com/tkrajina/go-reflector v0.5.6 // indirect - github.com/valyala/bytebufferpool v1.0.0 // indirect - github.com/valyala/fasttemplate v1.2.2 // indirect - github.com/wailsapp/go-webview2 v1.0.10 // indirect - github.com/wailsapp/mimetype v1.4.1 // indirect - golang.org/x/crypto v0.23.0 // indirect - golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 // indirect - golang.org/x/net v0.25.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect -) - -// replace github.com/wailsapp/wails/v2 v2.5.1 => /home/dev/go/pkg/mod +module changeme + +go 1.20 + +require github.com/wailsapp/wails/v2 v2.9.1 + +require ( + github.com/bep/debounce v1.2.1 // indirect + github.com/go-ole/go-ole v1.2.6 // indirect + github.com/godbus/dbus/v5 v5.1.0 // indirect + github.com/google/uuid v1.3.0 // indirect + github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e // indirect + github.com/labstack/echo/v4 v4.10.2 // indirect + github.com/labstack/gommon v0.4.0 // indirect + github.com/leaanthony/go-ansi-parser v1.6.0 // indirect + github.com/leaanthony/gosod v1.0.3 // indirect + github.com/leaanthony/slicer v1.6.0 // indirect + github.com/leaanthony/u v1.1.0 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.19 // indirect + github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/rivo/uniseg v0.4.4 // indirect + github.com/samber/lo v1.38.1 // indirect + github.com/tkrajina/go-reflector v0.5.6 // indirect + github.com/valyala/bytebufferpool v1.0.0 // indirect + github.com/valyala/fasttemplate v1.2.2 // indirect + github.com/wailsapp/go-webview2 v1.0.10 // indirect + github.com/wailsapp/mimetype v1.4.1 // indirect + golang.org/x/crypto v0.23.0 // indirect + golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 // indirect + golang.org/x/net v0.25.0 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/text v0.15.0 // indirect +) + +// replace github.com/wailsapp/wails/v2 v2.5.1 => /home/dev/go/pkg/mod diff --git a/go.sum b/go.sum old mode 100644 new mode 100755 index 4b2bd38..2855a4c --- a/go.sum +++ b/go.sum @@ -1,92 +1,92 @@ -github.com/bep/debounce v1.2.1 h1:v67fRdBA9UQu2NhLFXrSg0Brw7CexQekrBwDMM8bzeY= -github.com/bep/debounce v1.2.1/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= -github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= -github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= -github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e h1:Q3+PugElBCf4PFpxhErSzU3/PY5sFL5Z6rfv4AbGAck= -github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e/go.mod h1:alcuEEnZsY1WQsagKhZDsoPCRoOijYqhZvPwLG0kzVs= -github.com/labstack/echo/v4 v4.10.2 h1:n1jAhnq/elIFTHr1EYpiYtyKgx4RW9ccVgkqByZaN2M= -github.com/labstack/echo/v4 v4.10.2/go.mod h1:OEyqf2//K1DFdE57vw2DRgWY0M7s65IVQO2FzvI4J5k= -github.com/labstack/gommon v0.4.0 h1:y7cvthEAEbU0yHOf4axH8ZG2NH8knB9iNSoTO8dyIk8= -github.com/labstack/gommon v0.4.0/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM= -github.com/leaanthony/debme v1.2.1 h1:9Tgwf+kjcrbMQ4WnPcEIUcQuIZYqdWftzZkBr+i/oOc= -github.com/leaanthony/debme v1.2.1/go.mod h1:3V+sCm5tYAgQymvSOfYQ5Xx2JCr+OXiD9Jkw3otUjiA= -github.com/leaanthony/go-ansi-parser v1.6.0 h1:T8TuMhFB6TUMIUm0oRrSbgJudTFw9csT3ZK09w0t4Pg= -github.com/leaanthony/go-ansi-parser v1.6.0/go.mod h1:+vva/2y4alzVmmIEpk9QDhA7vLC5zKDTRwfZGOp3IWU= -github.com/leaanthony/gosod v1.0.3 h1:Fnt+/B6NjQOVuCWOKYRREZnjGyvg+mEhd1nkkA04aTQ= -github.com/leaanthony/gosod v1.0.3/go.mod h1:BJ2J+oHsQIyIQpnLPjnqFGTMnOZXDbvWtRCSG7jGxs4= -github.com/leaanthony/slicer v1.5.0/go.mod h1:FwrApmf8gOrpzEWM2J/9Lh79tyq8KTX5AzRtwV7m4AY= -github.com/leaanthony/slicer v1.6.0 h1:1RFP5uiPJvT93TAHi+ipd3NACobkW53yUiBqZheE/Js= -github.com/leaanthony/slicer v1.6.0/go.mod h1:o/Iz29g7LN0GqH3aMjWAe90381nyZlDNquK+mtH2Fj8= -github.com/leaanthony/u v1.1.0 h1:2n0d2BwPVXSUq5yhe8lJPHdxevE2qK5G99PMStMZMaI= -github.com/leaanthony/u v1.1.0/go.mod h1:9+o6hejoRljvZ3BzdYlVL0JYCwtnAsVuN9pVTQcaRfI= -github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE= -github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU= -github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= -github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= -github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/samber/lo v1.38.1 h1:j2XEAqXKb09Am4ebOg31SpvzUTTs6EN3VfgeLUhPdXM= -github.com/samber/lo v1.38.1/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQSepKdE= -github.com/tkrajina/go-reflector v0.5.6/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4= -github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= -github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/wailsapp/go-webview2 v1.0.10 h1:PP5Hug6pnQEAhfRzLCoOh2jJaPdrqeRgJKZhyYyDV/w= -github.com/wailsapp/go-webview2 v1.0.10/go.mod h1:Uk2BePfCRzttBBjFrBmqKGJd41P6QIHeV9kTgIeOZNo= -github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhwHs= -github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o= -github.com/wailsapp/wails/v2 v2.9.1 h1:irsXnoQrCpeKzKTYZ2SUVlRRyeMR6I0vCO9Q1cvlEdc= -github.com/wailsapp/wails/v2 v2.9.1/go.mod h1:7maJV2h+Egl11Ak8QZN/jlGLj2wg05bsQS+ywJPT0gI= -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= -golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 h1:k/i9J1pBpvlfR+9QsetwPyERsqu1GIbi967PQMq3Ivc= -golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= -golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= -golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +github.com/bep/debounce v1.2.1 h1:v67fRdBA9UQu2NhLFXrSg0Brw7CexQekrBwDMM8bzeY= +github.com/bep/debounce v1.2.1/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= +github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= +github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= +github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e h1:Q3+PugElBCf4PFpxhErSzU3/PY5sFL5Z6rfv4AbGAck= +github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e/go.mod h1:alcuEEnZsY1WQsagKhZDsoPCRoOijYqhZvPwLG0kzVs= +github.com/labstack/echo/v4 v4.10.2 h1:n1jAhnq/elIFTHr1EYpiYtyKgx4RW9ccVgkqByZaN2M= +github.com/labstack/echo/v4 v4.10.2/go.mod h1:OEyqf2//K1DFdE57vw2DRgWY0M7s65IVQO2FzvI4J5k= +github.com/labstack/gommon v0.4.0 h1:y7cvthEAEbU0yHOf4axH8ZG2NH8knB9iNSoTO8dyIk8= +github.com/labstack/gommon v0.4.0/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM= +github.com/leaanthony/debme v1.2.1 h1:9Tgwf+kjcrbMQ4WnPcEIUcQuIZYqdWftzZkBr+i/oOc= +github.com/leaanthony/debme v1.2.1/go.mod h1:3V+sCm5tYAgQymvSOfYQ5Xx2JCr+OXiD9Jkw3otUjiA= +github.com/leaanthony/go-ansi-parser v1.6.0 h1:T8TuMhFB6TUMIUm0oRrSbgJudTFw9csT3ZK09w0t4Pg= +github.com/leaanthony/go-ansi-parser v1.6.0/go.mod h1:+vva/2y4alzVmmIEpk9QDhA7vLC5zKDTRwfZGOp3IWU= +github.com/leaanthony/gosod v1.0.3 h1:Fnt+/B6NjQOVuCWOKYRREZnjGyvg+mEhd1nkkA04aTQ= +github.com/leaanthony/gosod v1.0.3/go.mod h1:BJ2J+oHsQIyIQpnLPjnqFGTMnOZXDbvWtRCSG7jGxs4= +github.com/leaanthony/slicer v1.5.0/go.mod h1:FwrApmf8gOrpzEWM2J/9Lh79tyq8KTX5AzRtwV7m4AY= +github.com/leaanthony/slicer v1.6.0 h1:1RFP5uiPJvT93TAHi+ipd3NACobkW53yUiBqZheE/Js= +github.com/leaanthony/slicer v1.6.0/go.mod h1:o/Iz29g7LN0GqH3aMjWAe90381nyZlDNquK+mtH2Fj8= +github.com/leaanthony/u v1.1.0 h1:2n0d2BwPVXSUq5yhe8lJPHdxevE2qK5G99PMStMZMaI= +github.com/leaanthony/u v1.1.0/go.mod h1:9+o6hejoRljvZ3BzdYlVL0JYCwtnAsVuN9pVTQcaRfI= +github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE= +github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU= +github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= +github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= +github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= +github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= +github.com/samber/lo v1.38.1 h1:j2XEAqXKb09Am4ebOg31SpvzUTTs6EN3VfgeLUhPdXM= +github.com/samber/lo v1.38.1/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQSepKdE= +github.com/tkrajina/go-reflector v0.5.6/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4= +github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= +github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= +github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= +github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= +github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= +github.com/wailsapp/go-webview2 v1.0.10 h1:PP5Hug6pnQEAhfRzLCoOh2jJaPdrqeRgJKZhyYyDV/w= +github.com/wailsapp/go-webview2 v1.0.10/go.mod h1:Uk2BePfCRzttBBjFrBmqKGJd41P6QIHeV9kTgIeOZNo= +github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhwHs= +github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o= +github.com/wailsapp/wails/v2 v2.9.1 h1:irsXnoQrCpeKzKTYZ2SUVlRRyeMR6I0vCO9Q1cvlEdc= +github.com/wailsapp/wails/v2 v2.9.1/go.mod h1:7maJV2h+Egl11Ak8QZN/jlGLj2wg05bsQS+ywJPT0gI= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= +golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 h1:k/i9J1pBpvlfR+9QsetwPyERsqu1GIbi967PQMq3Ivc= +golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= +golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/main.go b/main.go old mode 100644 new mode 100755 index 0cdb6f2..9605725 --- a/main.go +++ b/main.go @@ -1,35 +1,35 @@ -package main - -import ( - "embed" - - "github.com/wailsapp/wails/v2" - "github.com/wailsapp/wails/v2/pkg/options" - "github.com/wailsapp/wails/v2/pkg/options/assetserver" -) - -//go:embed all:frontend/dist -var assets embed.FS - -func main() { - // Create an instance of the app structure - app := NewApp() - - // Create application with options - err := wails.Run(&options.App{ - Title: "dmxconnect", - Width: 1024, - Height: 768, - AssetServer: &assetserver.Options{ - Assets: assets, - }, - OnStartup: app.startup, - Bind: []interface{}{ - app, - }, - }) - - if err != nil { - println("Error:", err.Error()) - } -} +package main + +import ( + "embed" + + "github.com/wailsapp/wails/v2" + "github.com/wailsapp/wails/v2/pkg/options" + "github.com/wailsapp/wails/v2/pkg/options/assetserver" +) + +//go:embed all:frontend/dist +var assets embed.FS + +func main() { + // Create an instance of the app structure + app := NewApp() + + // Create application with options + err := wails.Run(&options.App{ + Title: "dmxconnect", + Width: 1024, + Height: 768, + AssetServer: &assetserver.Options{ + Assets: assets, + }, + OnStartup: app.startup, + Bind: []interface{}{ + app, + }, + }) + + if err != nil { + println("Error:", err.Error()) + } +} -- 2.49.1 From 665ff825487ddd4cc735cce0e5a62a002778cad4 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 12:08:08 +0200 Subject: [PATCH 16/38] fixed --- .gitea/workflows/build.yaml | 2 +- Taskfile.yml | 0 frontend/src/App.svelte | 0 frontend/src/components/Animation.svelte | 0 frontend/src/components/Devices.svelte | 0 frontend/src/components/GeneralConsole.svelte | 0 frontend/src/components/NavigationBar.svelte | 0 frontend/src/components/Preparation.svelte | 0 .../src/components/RoundIconButton.svelte | 0 frontend/src/components/Settings.svelte | 0 frontend/src/components/Show.svelte | 0 frontend/src/components/Toggle.svelte | 0 frontend/src/lang/en.json | 0 frontend/src/stores.js | 0 frontend/src/style.css | 0 go.mod | 76 +++---- go.sum | 186 +++++++++--------- main.go | 0 18 files changed, 134 insertions(+), 130 deletions(-) mode change 100755 => 100644 .gitea/workflows/build.yaml mode change 100755 => 100644 Taskfile.yml mode change 100755 => 100644 frontend/src/App.svelte mode change 100755 => 100644 frontend/src/components/Animation.svelte mode change 100755 => 100644 frontend/src/components/Devices.svelte mode change 100755 => 100644 frontend/src/components/GeneralConsole.svelte mode change 100755 => 100644 frontend/src/components/NavigationBar.svelte mode change 100755 => 100644 frontend/src/components/Preparation.svelte mode change 100755 => 100644 frontend/src/components/RoundIconButton.svelte mode change 100755 => 100644 frontend/src/components/Settings.svelte mode change 100755 => 100644 frontend/src/components/Show.svelte mode change 100755 => 100644 frontend/src/components/Toggle.svelte mode change 100755 => 100644 frontend/src/lang/en.json mode change 100755 => 100644 frontend/src/stores.js mode change 100755 => 100644 frontend/src/style.css mode change 100755 => 100644 go.mod mode change 100755 => 100644 go.sum mode change 100755 => 100644 main.go diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml old mode 100755 new mode 100644 index d520cda..1a81862 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -31,7 +31,7 @@ jobs: - name: Building ${{ github.repository }} run: | source ~/.profile - $GOBIN/go/bin/wails build + $GOPATH/bin/wails build - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." diff --git a/Taskfile.yml b/Taskfile.yml old mode 100755 new mode 100644 diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Animation.svelte b/frontend/src/components/Animation.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Devices.svelte b/frontend/src/components/Devices.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/GeneralConsole.svelte b/frontend/src/components/GeneralConsole.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/NavigationBar.svelte b/frontend/src/components/NavigationBar.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Preparation.svelte b/frontend/src/components/Preparation.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/RoundIconButton.svelte b/frontend/src/components/RoundIconButton.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Settings.svelte b/frontend/src/components/Settings.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Show.svelte b/frontend/src/components/Show.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Toggle.svelte b/frontend/src/components/Toggle.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/lang/en.json b/frontend/src/lang/en.json old mode 100755 new mode 100644 diff --git a/frontend/src/stores.js b/frontend/src/stores.js old mode 100755 new mode 100644 diff --git a/frontend/src/style.css b/frontend/src/style.css old mode 100755 new mode 100644 diff --git a/go.mod b/go.mod old mode 100755 new mode 100644 index ce12316..0d4252a --- a/go.mod +++ b/go.mod @@ -1,37 +1,39 @@ -module changeme - -go 1.20 - -require github.com/wailsapp/wails/v2 v2.9.1 - -require ( - github.com/bep/debounce v1.2.1 // indirect - github.com/go-ole/go-ole v1.2.6 // indirect - github.com/godbus/dbus/v5 v5.1.0 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e // indirect - github.com/labstack/echo/v4 v4.10.2 // indirect - github.com/labstack/gommon v0.4.0 // indirect - github.com/leaanthony/go-ansi-parser v1.6.0 // indirect - github.com/leaanthony/gosod v1.0.3 // indirect - github.com/leaanthony/slicer v1.6.0 // indirect - github.com/leaanthony/u v1.1.0 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect - github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/rivo/uniseg v0.4.4 // indirect - github.com/samber/lo v1.38.1 // indirect - github.com/tkrajina/go-reflector v0.5.6 // indirect - github.com/valyala/bytebufferpool v1.0.0 // indirect - github.com/valyala/fasttemplate v1.2.2 // indirect - github.com/wailsapp/go-webview2 v1.0.10 // indirect - github.com/wailsapp/mimetype v1.4.1 // indirect - golang.org/x/crypto v0.23.0 // indirect - golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 // indirect - golang.org/x/net v0.25.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect -) - -// replace github.com/wailsapp/wails/v2 v2.5.1 => /home/dev/go/pkg/mod +module changeme + +go 1.21 + +toolchain go1.21.4 + +require github.com/wailsapp/wails/v2 v2.9.1 + +require ( + github.com/bep/debounce v1.2.1 // indirect + github.com/go-ole/go-ole v1.2.6 // indirect + github.com/godbus/dbus/v5 v5.1.0 // indirect + github.com/google/uuid v1.3.0 // indirect + github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e // indirect + github.com/labstack/echo/v4 v4.10.2 // indirect + github.com/labstack/gommon v0.4.0 // indirect + github.com/leaanthony/go-ansi-parser v1.6.0 // indirect + github.com/leaanthony/gosod v1.0.3 // indirect + github.com/leaanthony/slicer v1.6.0 // indirect + github.com/leaanthony/u v1.1.0 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.19 // indirect + github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/rivo/uniseg v0.4.4 // indirect + github.com/samber/lo v1.38.1 // indirect + github.com/tkrajina/go-reflector v0.5.6 // indirect + github.com/valyala/bytebufferpool v1.0.0 // indirect + github.com/valyala/fasttemplate v1.2.2 // indirect + github.com/wailsapp/go-webview2 v1.0.10 // indirect + github.com/wailsapp/mimetype v1.4.1 // indirect + golang.org/x/crypto v0.23.0 // indirect + golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 // indirect + golang.org/x/net v0.25.0 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/text v0.15.0 // indirect +) + +// replace github.com/wailsapp/wails/v2 v2.5.1 => /home/dev/go/pkg/mod diff --git a/go.sum b/go.sum old mode 100755 new mode 100644 index 2855a4c..7e8f88d --- a/go.sum +++ b/go.sum @@ -1,92 +1,94 @@ -github.com/bep/debounce v1.2.1 h1:v67fRdBA9UQu2NhLFXrSg0Brw7CexQekrBwDMM8bzeY= -github.com/bep/debounce v1.2.1/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= -github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= -github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= -github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e h1:Q3+PugElBCf4PFpxhErSzU3/PY5sFL5Z6rfv4AbGAck= -github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e/go.mod h1:alcuEEnZsY1WQsagKhZDsoPCRoOijYqhZvPwLG0kzVs= -github.com/labstack/echo/v4 v4.10.2 h1:n1jAhnq/elIFTHr1EYpiYtyKgx4RW9ccVgkqByZaN2M= -github.com/labstack/echo/v4 v4.10.2/go.mod h1:OEyqf2//K1DFdE57vw2DRgWY0M7s65IVQO2FzvI4J5k= -github.com/labstack/gommon v0.4.0 h1:y7cvthEAEbU0yHOf4axH8ZG2NH8knB9iNSoTO8dyIk8= -github.com/labstack/gommon v0.4.0/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM= -github.com/leaanthony/debme v1.2.1 h1:9Tgwf+kjcrbMQ4WnPcEIUcQuIZYqdWftzZkBr+i/oOc= -github.com/leaanthony/debme v1.2.1/go.mod h1:3V+sCm5tYAgQymvSOfYQ5Xx2JCr+OXiD9Jkw3otUjiA= -github.com/leaanthony/go-ansi-parser v1.6.0 h1:T8TuMhFB6TUMIUm0oRrSbgJudTFw9csT3ZK09w0t4Pg= -github.com/leaanthony/go-ansi-parser v1.6.0/go.mod h1:+vva/2y4alzVmmIEpk9QDhA7vLC5zKDTRwfZGOp3IWU= -github.com/leaanthony/gosod v1.0.3 h1:Fnt+/B6NjQOVuCWOKYRREZnjGyvg+mEhd1nkkA04aTQ= -github.com/leaanthony/gosod v1.0.3/go.mod h1:BJ2J+oHsQIyIQpnLPjnqFGTMnOZXDbvWtRCSG7jGxs4= -github.com/leaanthony/slicer v1.5.0/go.mod h1:FwrApmf8gOrpzEWM2J/9Lh79tyq8KTX5AzRtwV7m4AY= -github.com/leaanthony/slicer v1.6.0 h1:1RFP5uiPJvT93TAHi+ipd3NACobkW53yUiBqZheE/Js= -github.com/leaanthony/slicer v1.6.0/go.mod h1:o/Iz29g7LN0GqH3aMjWAe90381nyZlDNquK+mtH2Fj8= -github.com/leaanthony/u v1.1.0 h1:2n0d2BwPVXSUq5yhe8lJPHdxevE2qK5G99PMStMZMaI= -github.com/leaanthony/u v1.1.0/go.mod h1:9+o6hejoRljvZ3BzdYlVL0JYCwtnAsVuN9pVTQcaRfI= -github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE= -github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU= -github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= -github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= -github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/samber/lo v1.38.1 h1:j2XEAqXKb09Am4ebOg31SpvzUTTs6EN3VfgeLUhPdXM= -github.com/samber/lo v1.38.1/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQSepKdE= -github.com/tkrajina/go-reflector v0.5.6/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4= -github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= -github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/wailsapp/go-webview2 v1.0.10 h1:PP5Hug6pnQEAhfRzLCoOh2jJaPdrqeRgJKZhyYyDV/w= -github.com/wailsapp/go-webview2 v1.0.10/go.mod h1:Uk2BePfCRzttBBjFrBmqKGJd41P6QIHeV9kTgIeOZNo= -github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhwHs= -github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o= -github.com/wailsapp/wails/v2 v2.9.1 h1:irsXnoQrCpeKzKTYZ2SUVlRRyeMR6I0vCO9Q1cvlEdc= -github.com/wailsapp/wails/v2 v2.9.1/go.mod h1:7maJV2h+Egl11Ak8QZN/jlGLj2wg05bsQS+ywJPT0gI= -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= -golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 h1:k/i9J1pBpvlfR+9QsetwPyERsqu1GIbi967PQMq3Ivc= -golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= -golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= -golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +github.com/bep/debounce v1.2.1 h1:v67fRdBA9UQu2NhLFXrSg0Brw7CexQekrBwDMM8bzeY= +github.com/bep/debounce v1.2.1/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= +github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= +github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= +github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e h1:Q3+PugElBCf4PFpxhErSzU3/PY5sFL5Z6rfv4AbGAck= +github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e/go.mod h1:alcuEEnZsY1WQsagKhZDsoPCRoOijYqhZvPwLG0kzVs= +github.com/labstack/echo/v4 v4.10.2 h1:n1jAhnq/elIFTHr1EYpiYtyKgx4RW9ccVgkqByZaN2M= +github.com/labstack/echo/v4 v4.10.2/go.mod h1:OEyqf2//K1DFdE57vw2DRgWY0M7s65IVQO2FzvI4J5k= +github.com/labstack/gommon v0.4.0 h1:y7cvthEAEbU0yHOf4axH8ZG2NH8knB9iNSoTO8dyIk8= +github.com/labstack/gommon v0.4.0/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM= +github.com/leaanthony/debme v1.2.1 h1:9Tgwf+kjcrbMQ4WnPcEIUcQuIZYqdWftzZkBr+i/oOc= +github.com/leaanthony/debme v1.2.1/go.mod h1:3V+sCm5tYAgQymvSOfYQ5Xx2JCr+OXiD9Jkw3otUjiA= +github.com/leaanthony/go-ansi-parser v1.6.0 h1:T8TuMhFB6TUMIUm0oRrSbgJudTFw9csT3ZK09w0t4Pg= +github.com/leaanthony/go-ansi-parser v1.6.0/go.mod h1:+vva/2y4alzVmmIEpk9QDhA7vLC5zKDTRwfZGOp3IWU= +github.com/leaanthony/gosod v1.0.3 h1:Fnt+/B6NjQOVuCWOKYRREZnjGyvg+mEhd1nkkA04aTQ= +github.com/leaanthony/gosod v1.0.3/go.mod h1:BJ2J+oHsQIyIQpnLPjnqFGTMnOZXDbvWtRCSG7jGxs4= +github.com/leaanthony/slicer v1.5.0/go.mod h1:FwrApmf8gOrpzEWM2J/9Lh79tyq8KTX5AzRtwV7m4AY= +github.com/leaanthony/slicer v1.6.0 h1:1RFP5uiPJvT93TAHi+ipd3NACobkW53yUiBqZheE/Js= +github.com/leaanthony/slicer v1.6.0/go.mod h1:o/Iz29g7LN0GqH3aMjWAe90381nyZlDNquK+mtH2Fj8= +github.com/leaanthony/u v1.1.0 h1:2n0d2BwPVXSUq5yhe8lJPHdxevE2qK5G99PMStMZMaI= +github.com/leaanthony/u v1.1.0/go.mod h1:9+o6hejoRljvZ3BzdYlVL0JYCwtnAsVuN9pVTQcaRfI= +github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE= +github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU= +github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= +github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= +github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= +github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= +github.com/samber/lo v1.38.1 h1:j2XEAqXKb09Am4ebOg31SpvzUTTs6EN3VfgeLUhPdXM= +github.com/samber/lo v1.38.1/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQSepKdE= +github.com/tkrajina/go-reflector v0.5.6/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4= +github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= +github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= +github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= +github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= +github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= +github.com/wailsapp/go-webview2 v1.0.10 h1:PP5Hug6pnQEAhfRzLCoOh2jJaPdrqeRgJKZhyYyDV/w= +github.com/wailsapp/go-webview2 v1.0.10/go.mod h1:Uk2BePfCRzttBBjFrBmqKGJd41P6QIHeV9kTgIeOZNo= +github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhwHs= +github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o= +github.com/wailsapp/wails/v2 v2.9.1 h1:irsXnoQrCpeKzKTYZ2SUVlRRyeMR6I0vCO9Q1cvlEdc= +github.com/wailsapp/wails/v2 v2.9.1/go.mod h1:7maJV2h+Egl11Ak8QZN/jlGLj2wg05bsQS+ywJPT0gI= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= +golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 h1:k/i9J1pBpvlfR+9QsetwPyERsqu1GIbi967PQMq3Ivc= +golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= +golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/main.go b/main.go old mode 100755 new mode 100644 -- 2.49.1 From 6228fb3809b8f2df5ecb3e4447995c38b55a489d Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 12:17:06 +0200 Subject: [PATCH 17/38] fixed --- .gitea/workflows/build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1a81862..0f104da 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -20,8 +20,11 @@ jobs: wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile + go env + echo "export GOPATH=$HOME/go" >> ~/.profile source ~/.profile go version + go env - name: Set up Wails run: | -- 2.49.1 From 76e94f1ecf52b6dcff69064265db1c0804365396 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 12:19:18 +0200 Subject: [PATCH 18/38] fixed --- .gitea/workflows/build.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 0f104da..459c7f6 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -20,7 +20,6 @@ jobs: wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile - go env echo "export GOPATH=$HOME/go" >> ~/.profile source ~/.profile go version -- 2.49.1 From efe18a5741df637470b7b368029e9dee4e16469e Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 12:26:26 +0200 Subject: [PATCH 19/38] fixed --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 459c7f6..4282878 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -16,7 +16,7 @@ jobs: - name: Set up Go run: | - GO_VERSION=1.20.6 + GO_VERSION=1.21.4 wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile -- 2.49.1 From 3258106f50e5a4dc3c0e281ddf4a2a6e03e9ebb2 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 12:37:32 +0200 Subject: [PATCH 20/38] fixed --- .gitea/workflows/build.yaml | 3 +++ Taskfile.yml | 0 frontend/src/App.svelte | 0 frontend/src/components/Animation.svelte | 0 frontend/src/components/Devices.svelte | 0 frontend/src/components/GeneralConsole.svelte | 0 frontend/src/components/NavigationBar.svelte | 0 frontend/src/components/Preparation.svelte | 0 frontend/src/components/RoundIconButton.svelte | 0 frontend/src/components/Settings.svelte | 0 frontend/src/components/Show.svelte | 0 frontend/src/components/Toggle.svelte | 0 frontend/src/lang/en.json | 0 frontend/src/stores.js | 0 frontend/src/style.css | 0 go.mod | 0 go.sum | 0 main.go | 0 18 files changed, 3 insertions(+) mode change 100644 => 100755 .gitea/workflows/build.yaml mode change 100644 => 100755 Taskfile.yml mode change 100644 => 100755 frontend/src/App.svelte mode change 100644 => 100755 frontend/src/components/Animation.svelte mode change 100644 => 100755 frontend/src/components/Devices.svelte mode change 100644 => 100755 frontend/src/components/GeneralConsole.svelte mode change 100644 => 100755 frontend/src/components/NavigationBar.svelte mode change 100644 => 100755 frontend/src/components/Preparation.svelte mode change 100644 => 100755 frontend/src/components/RoundIconButton.svelte mode change 100644 => 100755 frontend/src/components/Settings.svelte mode change 100644 => 100755 frontend/src/components/Show.svelte mode change 100644 => 100755 frontend/src/components/Toggle.svelte mode change 100644 => 100755 frontend/src/lang/en.json mode change 100644 => 100755 frontend/src/stores.js mode change 100644 => 100755 frontend/src/style.css mode change 100644 => 100755 go.mod mode change 100644 => 100755 go.sum mode change 100644 => 100755 main.go diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml old mode 100644 new mode 100755 index 4282878..c3663c7 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -29,6 +29,9 @@ jobs: run: | source ~/.profile go install github.com/wailsapp/wails/v2/cmd/wails@latest + apt-get install libgtk-3-dev + apt-get install --reinstall pkg-config + /usr/share/pkg-config-dpkghook update - name: Building ${{ github.repository }} run: | diff --git a/Taskfile.yml b/Taskfile.yml old mode 100644 new mode 100755 diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/Animation.svelte b/frontend/src/components/Animation.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/Devices.svelte b/frontend/src/components/Devices.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/GeneralConsole.svelte b/frontend/src/components/GeneralConsole.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/NavigationBar.svelte b/frontend/src/components/NavigationBar.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/Preparation.svelte b/frontend/src/components/Preparation.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/RoundIconButton.svelte b/frontend/src/components/RoundIconButton.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/Settings.svelte b/frontend/src/components/Settings.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/Show.svelte b/frontend/src/components/Show.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/components/Toggle.svelte b/frontend/src/components/Toggle.svelte old mode 100644 new mode 100755 diff --git a/frontend/src/lang/en.json b/frontend/src/lang/en.json old mode 100644 new mode 100755 diff --git a/frontend/src/stores.js b/frontend/src/stores.js old mode 100644 new mode 100755 diff --git a/frontend/src/style.css b/frontend/src/style.css old mode 100644 new mode 100755 diff --git a/go.mod b/go.mod old mode 100644 new mode 100755 diff --git a/go.sum b/go.sum old mode 100644 new mode 100755 diff --git a/main.go b/main.go old mode 100644 new mode 100755 -- 2.49.1 From bd6a9c148b6bd4e234ee57340ff96d65ee5ed753 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 12:38:03 +0200 Subject: [PATCH 21/38] fixed --- .gitea/workflows/build.yaml | 0 Taskfile.yml | 0 frontend/src/App.svelte | 0 frontend/src/components/Animation.svelte | 0 frontend/src/components/Devices.svelte | 0 frontend/src/components/GeneralConsole.svelte | 0 frontend/src/components/NavigationBar.svelte | 0 frontend/src/components/Preparation.svelte | 0 frontend/src/components/RoundIconButton.svelte | 0 frontend/src/components/Settings.svelte | 0 frontend/src/components/Show.svelte | 0 frontend/src/components/Toggle.svelte | 0 frontend/src/lang/en.json | 0 frontend/src/stores.js | 0 frontend/src/style.css | 0 go.mod | 0 go.sum | 0 main.go | 0 18 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 .gitea/workflows/build.yaml mode change 100755 => 100644 Taskfile.yml mode change 100755 => 100644 frontend/src/App.svelte mode change 100755 => 100644 frontend/src/components/Animation.svelte mode change 100755 => 100644 frontend/src/components/Devices.svelte mode change 100755 => 100644 frontend/src/components/GeneralConsole.svelte mode change 100755 => 100644 frontend/src/components/NavigationBar.svelte mode change 100755 => 100644 frontend/src/components/Preparation.svelte mode change 100755 => 100644 frontend/src/components/RoundIconButton.svelte mode change 100755 => 100644 frontend/src/components/Settings.svelte mode change 100755 => 100644 frontend/src/components/Show.svelte mode change 100755 => 100644 frontend/src/components/Toggle.svelte mode change 100755 => 100644 frontend/src/lang/en.json mode change 100755 => 100644 frontend/src/stores.js mode change 100755 => 100644 frontend/src/style.css mode change 100755 => 100644 go.mod mode change 100755 => 100644 go.sum mode change 100755 => 100644 main.go diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml old mode 100755 new mode 100644 diff --git a/Taskfile.yml b/Taskfile.yml old mode 100755 new mode 100644 diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Animation.svelte b/frontend/src/components/Animation.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Devices.svelte b/frontend/src/components/Devices.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/GeneralConsole.svelte b/frontend/src/components/GeneralConsole.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/NavigationBar.svelte b/frontend/src/components/NavigationBar.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Preparation.svelte b/frontend/src/components/Preparation.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/RoundIconButton.svelte b/frontend/src/components/RoundIconButton.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Settings.svelte b/frontend/src/components/Settings.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Show.svelte b/frontend/src/components/Show.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/components/Toggle.svelte b/frontend/src/components/Toggle.svelte old mode 100755 new mode 100644 diff --git a/frontend/src/lang/en.json b/frontend/src/lang/en.json old mode 100755 new mode 100644 diff --git a/frontend/src/stores.js b/frontend/src/stores.js old mode 100755 new mode 100644 diff --git a/frontend/src/style.css b/frontend/src/style.css old mode 100755 new mode 100644 diff --git a/go.mod b/go.mod old mode 100755 new mode 100644 diff --git a/go.sum b/go.sum old mode 100755 new mode 100644 diff --git a/main.go b/main.go old mode 100755 new mode 100644 -- 2.49.1 From 548c08f87da96b0dc1046d79b8695cdf57778b60 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 12:43:48 +0200 Subject: [PATCH 22/38] fixed --- .gitea/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c3663c7..2df76b5 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -29,8 +29,8 @@ jobs: run: | source ~/.profile go install github.com/wailsapp/wails/v2/cmd/wails@latest - apt-get install libgtk-3-dev - apt-get install --reinstall pkg-config + apt-get install -y libgtk-3-dev + apt-get install -y --reinstall pkg-config /usr/share/pkg-config-dpkghook update - name: Building ${{ github.repository }} -- 2.49.1 From 98ca1eb5b979ab284140249fe898de01fe04c42b Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 14:08:51 +0200 Subject: [PATCH 23/38] fixed --- .gitea/workflows/build.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 2df76b5..e44510d 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -5,8 +5,11 @@ jobs: prepare: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 + - uses: actions/checkout@v3 + + - uses: actions/setup-go@v3 + with: + go-version: '>=1.21.4' - name: Set up NodeJS run: | -- 2.49.1 From eead2265a3e01dfb58726a2f0e75cd98ecdaac44 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 14:13:22 +0200 Subject: [PATCH 24/38] fixed --- .gitea/workflows/build.yaml | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index e44510d..908d356 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -11,35 +11,10 @@ jobs: with: go-version: '>=1.21.4' - - name: Set up NodeJS - run: | - curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - - sudo apt-get install -y nodejs - node -v - - - name: Set up Go - run: | - GO_VERSION=1.21.4 - wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz - sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz - echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile - echo "export GOPATH=$HOME/go" >> ~/.profile - source ~/.profile - go version - go env - - - name: Set up Wails - run: | - source ~/.profile - go install github.com/wailsapp/wails/v2/cmd/wails@latest - apt-get install -y libgtk-3-dev - apt-get install -y --reinstall pkg-config - /usr/share/pkg-config-dpkghook update - - - name: Building ${{ github.repository }} - run: | - source ~/.profile - $GOPATH/bin/wails build + - uses: https://github.com/dAppServer/wails-build-action@v2.2 + with: + build-name: dmxconnect + build-platform: linux/amd64 - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." -- 2.49.1 From 29d002c96baece9e37bb0355dd64a53aca1b6848 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 14:28:54 +0200 Subject: [PATCH 25/38] fixed --- .gitea/workflows/build.yaml | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 908d356..ca77a4f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,18 +3,36 @@ run-name: ${{ github.actor }} is testing out Gitea Actions πŸš€ on: [push] jobs: prepare: - runs-on: ubuntu-latest + strategy: + # Failure in one platform build won't impact the others + fail-fast: false + matrix: + build: + - name: 'DMXConnect' + platform: 'linux/amd64' + os: 'ubuntu-latest' + - name: 'DMXConnect' + platform: 'windows/amd64' + os: 'windows-latest' + - name: 'DMXConnect' + platform: 'darwin/universal' + os: 'macos-latest' + + runs-on: ${{ matrix.build.os }} steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-go@v3 + - name: Checkout + uses: actions/checkout@v2 with: - go-version: '>=1.21.4' + submodules: recursive - - uses: https://github.com/dAppServer/wails-build-action@v2.2 + - name: Build wails + uses: dAppServer/wails-build-action@v2.2 + id: build with: - build-name: dmxconnect - build-platform: linux/amd64 + build-name: ${{ matrix.build.name }} + build-platform: ${{ matrix.build.platform }} + package: false + go-version: '1.21' - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." -- 2.49.1 From 9070a0b0b18d1efad88a7e428f2cd82f5fd41af2 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 14:33:09 +0200 Subject: [PATCH 26/38] fixed --- .gitea/workflows/build.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index ca77a4f..687c55e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -1,6 +1,11 @@ name: Build software run-name: ${{ github.actor }} is testing out Gitea Actions πŸš€ on: [push] + +env: + # Necessary for most environments as build failure can occur due to OOM issues + NODE_OPTIONS: "--max-old-space-size=4096" + jobs: prepare: strategy: @@ -11,12 +16,12 @@ jobs: - name: 'DMXConnect' platform: 'linux/amd64' os: 'ubuntu-latest' - - name: 'DMXConnect' - platform: 'windows/amd64' - os: 'windows-latest' - - name: 'DMXConnect' - platform: 'darwin/universal' - os: 'macos-latest' + # - name: 'DMXConnect' + # platform: 'windows/amd64' + # os: 'windows-latest' + # - name: 'DMXConnect' + # platform: 'darwin/universal' + # os: 'macos-latest' runs-on: ${{ matrix.build.os }} steps: -- 2.49.1 From 72b882bdd41d8daa21d386f8319895386af51415 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 14:42:00 +0200 Subject: [PATCH 27/38] fixed --- .gitea/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 687c55e..313a8af 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -24,6 +24,7 @@ jobs: # os: 'macos-latest' runs-on: ${{ matrix.build.os }} + timeout-minutes: 30 steps: - name: Checkout uses: actions/checkout@v2 -- 2.49.1 From 4ffb6b681a2f750deb79fecf7bf39451200fc01a Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 15:31:15 +0200 Subject: [PATCH 28/38] fixed --- .gitea/workflows/build.yaml | 52 ------------------------------------- .gitea/workflows/check.yaml | 46 ++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 52 deletions(-) delete mode 100644 .gitea/workflows/build.yaml create mode 100644 .gitea/workflows/check.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml deleted file mode 100644 index 313a8af..0000000 --- a/.gitea/workflows/build.yaml +++ /dev/null @@ -1,52 +0,0 @@ -name: Build software -run-name: ${{ github.actor }} is testing out Gitea Actions πŸš€ -on: [push] - -env: - # Necessary for most environments as build failure can occur due to OOM issues - NODE_OPTIONS: "--max-old-space-size=4096" - -jobs: - prepare: - strategy: - # Failure in one platform build won't impact the others - fail-fast: false - matrix: - build: - - name: 'DMXConnect' - platform: 'linux/amd64' - os: 'ubuntu-latest' - # - name: 'DMXConnect' - # platform: 'windows/amd64' - # os: 'windows-latest' - # - name: 'DMXConnect' - # platform: 'darwin/universal' - # os: 'macos-latest' - - runs-on: ${{ matrix.build.os }} - timeout-minutes: 30 - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - submodules: recursive - - - name: Build wails - uses: dAppServer/wails-build-action@v2.2 - id: build - with: - build-name: ${{ matrix.build.name }} - build-platform: ${{ matrix.build.platform }} - package: false - go-version: '1.21' - - - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - - name: Check out repository code - uses: actions/checkout@v3 - - run: echo "πŸ’‘ The ${{ github.repository }} repository has been cloned to the runner." - - run: echo "πŸ–₯️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ github.workspace }} - - run: echo "🍏 Job finished with status ${{ job.status }}." \ No newline at end of file diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml new file mode 100644 index 0000000..fb2c421 --- /dev/null +++ b/.gitea/workflows/check.yaml @@ -0,0 +1,46 @@ +name: Check software + +on: [push] + +jobs: + prepare: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + submodules: recursive + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21.4' + + - name: Install dependencies + run: go mod tidy + + - name: Install golangci-lint + run: | + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 + + - name: Run golangci-lint + run: | + $(go env GOPATH)/bin/golangci-lint run + + - name: Build + run: go build -v ./... + + - name: Run tests with race detector + run: go test -v -race ./... + + - name: Run tests and generate coverage report + run: go test -v -coverprofile=coverage.out ./... + + - name: Display coverage + run: go tool cover -func=coverage.out + + - name: Upload coverage report + uses: actions/upload-artifact@v3 + with: + name: coverage-report + path: coverage.out \ No newline at end of file -- 2.49.1 From 630c135a74245ae475860b0cde93f05d058297e0 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 15:32:58 +0200 Subject: [PATCH 29/38] fixed --- .gitea/workflows/check.yaml | 38 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml index fb2c421..478e7b9 100644 --- a/.gitea/workflows/check.yaml +++ b/.gitea/workflows/check.yaml @@ -19,28 +19,28 @@ jobs: - name: Install dependencies run: go mod tidy - - name: Install golangci-lint - run: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 + # - name: Install golangci-lint + # run: | + # curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 - - name: Run golangci-lint - run: | - $(go env GOPATH)/bin/golangci-lint run + # - name: Run golangci-lint + # run: | + # $(go env GOPATH)/bin/golangci-lint run - - name: Build - run: go build -v ./... + # - name: Build + # run: go build -v ./... - - name: Run tests with race detector - run: go test -v -race ./... + # - name: Run tests with race detector + # run: go test -v -race ./... - - name: Run tests and generate coverage report - run: go test -v -coverprofile=coverage.out ./... + # - name: Run tests and generate coverage report + # run: go test -v -coverprofile=coverage.out ./... - - name: Display coverage - run: go tool cover -func=coverage.out + # - name: Display coverage + # run: go tool cover -func=coverage.out - - name: Upload coverage report - uses: actions/upload-artifact@v3 - with: - name: coverage-report - path: coverage.out \ No newline at end of file + # - name: Upload coverage report + # uses: actions/upload-artifact@v3 + # with: + # name: coverage-report + # path: coverage.out \ No newline at end of file -- 2.49.1 From e9a9cbf31d998fe6ce2ca09406e98f236d2b7f6c Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 15:33:30 +0200 Subject: [PATCH 30/38] fixed --- .gitea/workflows/check.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml index 478e7b9..c762157 100644 --- a/.gitea/workflows/check.yaml +++ b/.gitea/workflows/check.yaml @@ -16,8 +16,8 @@ jobs: with: go-version: '^1.21.4' - - name: Install dependencies - run: go mod tidy + # - name: Install dependencies + # run: go mod tidy # - name: Install golangci-lint # run: | -- 2.49.1 From 1eb074386b510db09082888e246ecf1008dca730 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 15:34:21 +0200 Subject: [PATCH 31/38] fixed --- .gitea/workflows/check.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml index c762157..439b5eb 100644 --- a/.gitea/workflows/check.yaml +++ b/.gitea/workflows/check.yaml @@ -8,13 +8,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - with: - submodules: recursive + - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: '^1.21.4' + # - name: Set up Go + # uses: actions/setup-go@v3 + # with: + # go-version: '^1.21.4' # - name: Install dependencies # run: go mod tidy -- 2.49.1 From dfcfe9da733db660c98a586e494abedb0818fa48 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 15:34:43 +0200 Subject: [PATCH 32/38] fixed --- .gitea/workflows/check.yaml | 50 ++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml index 439b5eb..ee68fac 100644 --- a/.gitea/workflows/check.yaml +++ b/.gitea/workflows/check.yaml @@ -10,36 +10,36 @@ jobs: uses: actions/checkout@v2 - # - name: Set up Go - # uses: actions/setup-go@v3 - # with: - # go-version: '^1.21.4' + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '^1.21.4' - # - name: Install dependencies - # run: go mod tidy + - name: Install dependencies + run: go mod tidy - # - name: Install golangci-lint - # run: | - # curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 + - name: Install golangci-lint + run: | + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 - # - name: Run golangci-lint - # run: | - # $(go env GOPATH)/bin/golangci-lint run + - name: Run golangci-lint + run: | + $(go env GOPATH)/bin/golangci-lint run - # - name: Build - # run: go build -v ./... + - name: Build + run: go build -v ./... - # - name: Run tests with race detector - # run: go test -v -race ./... + - name: Run tests with race detector + run: go test -v -race ./... - # - name: Run tests and generate coverage report - # run: go test -v -coverprofile=coverage.out ./... + - name: Run tests and generate coverage report + run: go test -v -coverprofile=coverage.out ./... - # - name: Display coverage - # run: go tool cover -func=coverage.out + - name: Display coverage + run: go tool cover -func=coverage.out - # - name: Upload coverage report - # uses: actions/upload-artifact@v3 - # with: - # name: coverage-report - # path: coverage.out \ No newline at end of file + - name: Upload coverage report + uses: actions/upload-artifact@v3 + with: + name: coverage-report + path: coverage.out \ No newline at end of file -- 2.49.1 From 87b9fb4a6adf6254f9375595360666fae24e7285 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 15:35:01 +0200 Subject: [PATCH 33/38] fixed --- .gitea/workflows/check.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml index ee68fac..00160dd 100644 --- a/.gitea/workflows/check.yaml +++ b/.gitea/workflows/check.yaml @@ -38,8 +38,8 @@ jobs: - name: Display coverage run: go tool cover -func=coverage.out - - name: Upload coverage report - uses: actions/upload-artifact@v3 - with: - name: coverage-report - path: coverage.out \ No newline at end of file + # - name: Upload coverage report + # uses: actions/upload-artifact@v3 + # with: + # name: coverage-report + # path: coverage.out \ No newline at end of file -- 2.49.1 From 60b661ccfb9854568c3095c78cebe9c7954df2fa Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 15:35:25 +0200 Subject: [PATCH 34/38] fixed --- .gitea/workflows/check.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml index 00160dd..b06bb4f 100644 --- a/.gitea/workflows/check.yaml +++ b/.gitea/workflows/check.yaml @@ -18,25 +18,25 @@ jobs: - name: Install dependencies run: go mod tidy - - name: Install golangci-lint - run: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 + # - name: Install golangci-lint + # run: | + # curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 - - name: Run golangci-lint - run: | - $(go env GOPATH)/bin/golangci-lint run + # - name: Run golangci-lint + # run: | + # $(go env GOPATH)/bin/golangci-lint run - - name: Build - run: go build -v ./... + # - name: Build + # run: go build -v ./... - - name: Run tests with race detector - run: go test -v -race ./... + # - name: Run tests with race detector + # run: go test -v -race ./... - - name: Run tests and generate coverage report - run: go test -v -coverprofile=coverage.out ./... + # - name: Run tests and generate coverage report + # run: go test -v -coverprofile=coverage.out ./... - - name: Display coverage - run: go tool cover -func=coverage.out + # - name: Display coverage + # run: go tool cover -func=coverage.out # - name: Upload coverage report # uses: actions/upload-artifact@v3 -- 2.49.1 From 7c0d1eaeef364f6ed9351d27c6504cf87fb7120e Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 15:35:50 +0200 Subject: [PATCH 35/38] fixed --- .gitea/workflows/check.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml index b06bb4f..0110686 100644 --- a/.gitea/workflows/check.yaml +++ b/.gitea/workflows/check.yaml @@ -15,8 +15,8 @@ jobs: with: go-version: '^1.21.4' - - name: Install dependencies - run: go mod tidy + # - name: Install dependencies + # run: go mod tidy # - name: Install golangci-lint # run: | -- 2.49.1 From 40eee4bcd1b0f37eaa3041c619e6e5932fc36749 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 15:36:12 +0200 Subject: [PATCH 36/38] fixed --- .gitea/workflows/check.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml index 0110686..439b5eb 100644 --- a/.gitea/workflows/check.yaml +++ b/.gitea/workflows/check.yaml @@ -10,10 +10,10 @@ jobs: uses: actions/checkout@v2 - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: '^1.21.4' + # - name: Set up Go + # uses: actions/setup-go@v3 + # with: + # go-version: '^1.21.4' # - name: Install dependencies # run: go mod tidy -- 2.49.1 From 2096ef0c0f1668a1ffb18d3fa07ba0fb62e7e989 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 15:37:20 +0200 Subject: [PATCH 37/38] fixed --- .gitea/workflows/check.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml index 439b5eb..de79061 100644 --- a/.gitea/workflows/check.yaml +++ b/.gitea/workflows/check.yaml @@ -10,10 +10,10 @@ jobs: uses: actions/checkout@v2 - # - name: Set up Go - # uses: actions/setup-go@v3 - # with: - # go-version: '^1.21.4' + - name: Setup go + uses: actions/setup-go@v3 + with: + go-version: '1.21.4' # - name: Install dependencies # run: go mod tidy -- 2.49.1 From 5f8be6c92f40558861101495d86f2c0bc4677a60 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 15:39:03 +0200 Subject: [PATCH 38/38] fixed --- .gitea/workflows/check.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml index de79061..b059ee3 100644 --- a/.gitea/workflows/check.yaml +++ b/.gitea/workflows/check.yaml @@ -14,17 +14,18 @@ jobs: uses: actions/setup-go@v3 with: go-version: '1.21.4' + cache: true - # - name: Install dependencies - # run: go mod tidy + - name: Install dependencies + run: go mod tidy - # - name: Install golangci-lint - # run: | - # curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 + - name: Install golangci-lint + run: | + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 - # - name: Run golangci-lint - # run: | - # $(go env GOPATH)/bin/golangci-lint run + - name: Run golangci-lint + run: | + $(go env GOPATH)/bin/golangci-lint run # - name: Build # run: go build -v ./... -- 2.49.1