diff --git a/.github/ISSUE_TEMPLATE/custom_build.md b/.github/ISSUE_TEMPLATE/custom_build.md index eb67e86e..f2bc0981 100644 --- a/.github/ISSUE_TEMPLATE/custom_build.md +++ b/.github/ISSUE_TEMPLATE/custom_build.md @@ -2,7 +2,7 @@ name: Custom Build about: Create a Customized Build title: '' -labels: custom +labels: 'custom' assignees: '' --- diff --git a/.github/workflows/custom.yml b/.github/workflows/custom.yml index 19725715..99ad1909 100644 --- a/.github/workflows/custom.yml +++ b/.github/workflows/custom.yml @@ -25,17 +25,13 @@ jobs: git config --global user.name "AuxXxilium" sudo timedatectl set-timezone "Europe/Berlin" - sudo apt update - sudo apt install -y jq gawk cpio gettext libelf-dev qemu-utils busybox dialog curl sed - sudo snap install yq - - name: Check Custom shell: python run: | # -*- coding: utf-8 -*- import json, subprocess def set_output(name, value): - subprocess.call(["echo '{}={}' >> $GITHUB_ENV".format(name, value)], shell=True) + subprocess.call("echo '{}={}' >> $GITHUB_ENV".format(name, value), shell=True) issuetitle = ${{ toJSON(github.event.issue.title) }}; issuebody = ${{ toJSON(github.event.issue.body) }}; @@ -90,13 +86,18 @@ jobs: issue-number: ${{ github.event.issue.number }} body: | Hi @${{ github.event.issue.user.login }}. - arc-${{ env.MODEL }}-${{ env.PRODUCTVER }}-${{ env.VERSION }} is being build and package and will be sent to your email later.. + arc-${{ env.MODEL }}-${{ env.PRODUCTVER }}-${{ env.VERSION }} is being build, it will be uploaded here and sent to your email later.. > ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} ---- # Get extractor, LKM, Addons, Modules and Configs - name: Get extractor, LKM, Addons, Extensions, Modules and Configs + if: env.iscustom == 'true' run: | + sudo apt update + sudo apt install -y jq gawk cpio gettext libelf-dev qemu-utils busybox dialog curl sed + sudo snap install yq + . scripts/func.sh getExtractor "files/p3/extractor" @@ -110,6 +111,7 @@ jobs: # Build incremental - name: Build image + if: env.iscustom == 'true' run: | . scripts/func.sh @@ -136,17 +138,19 @@ jobs: repackInitrd "br/initrd-arc" "files/initrd" "files/p3/initrd-arc" echo "Set Custom Config" - sudo echo "model: ${{ env.MODEL }}" >"/tmp/p1/preset-config" - sudo echo "productver: ${{ env.PRODUCTVER }}" >>"/tmp/p1/preset-config" - sudo echo "addons:" >>"/tmp/p1/preset-config" + echo "model: ${{ env.MODEL }}" >"files/p1/preset-config.yml" + echo "model: ${{ env.MODEL }}" + echo "productver: ${{ env.PRODUCTVER }}" >>"files/p1/preset-config.yml" + echo "productver: ${{ env.PRODUCTVER }}" + echo "addons:" >>"files/p1/preset-config.yml" for ADDON in ${{ env.ADDONS }}; do - sudo echo "addons.${ADDON}" >>"/tmp/p1/preset-config" + echo " ${ADDON}: \"\"" | sed 's/,//g' | sed 's/\[//g' | sed 's/\]//g' >>"files/p1/preset-config.yml" done - sudo echo "${{ env.MODEL }}-${{ env.PRODUCTVER }}-${{ env.VERSION }}" >"/tmp/p3/.automated" + echo "addons: ${{ env.ADDONS }}" + echo "arc-${{ env.MODEL }}-${{ env.PRODUCTVER }}-${{ env.VERSION }}" >"files/p3/automated" echo "Copying files" sudo cp -Rf "files/p1/"* "/tmp/p1" sudo cp -Rf "files/p3/"* "/tmp/p3" - sudo cp -f "files/p1/preset-config" "/tmp/p1/preset-config" sync echo "Unmount image file" @@ -167,6 +171,7 @@ jobs: # Zip image and generate checksum - name: Pack + if: env.iscustom == 'true' run: | if [ "${{ env.FORMAT }}" = "img" ]; then zip -9 "arc-${{ env.MODEL }}-${{ env.PRODUCTVER }}-${{ env.VERSION }}.img.zip" arc.img @@ -208,33 +213,19 @@ jobs: to: ${{ env.EMAIL }} from: ${{ secrets.MAIL_USERNAME }} body: | - ${{ env.TTDLURL }} - - - name: Update Comment Success - if: env.iscustom == 'true' && success() && env.EMAIL != 'null' - uses: actions-cool/issues-helper@v3 - with: - actions: 'update-comment' - token: ${{ secrets.GITHUB_TOKEN }} - comment-id: ${{ steps.comment.outputs.comment-id }} - update-mode: replace - body: | - Hi @${{ github.event.issue.user.login }}. - arc-${{ env.MODEL }}-${{ env.PRODUCTVER }}-${{ env.VERSION }} has been sent to your email. - > ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} - ---- - - - name: Update Comment Success - if: env.iscustom == 'true' && success() && env.EMAIL == 'null' - uses: actions-cool/issues-helper@v3 - with: - actions: 'update-comment' - token: ${{ secrets.GITHUB_TOKEN }} - comment-id: ${{ steps.comment.outputs.comment-id }} - update-mode: replace - body: | - Hi @${{ github.event.issue.user.login }}. ${{ env.FIOURL }} + + - name: Update Comment Success + if: env.iscustom == 'true' && success() + uses: actions-cool/issues-helper@v3 + with: + actions: 'update-comment' + token: ${{ secrets.GITHUB_TOKEN }} + comment-id: ${{ steps.comment.outputs.comment-id }} + update-mode: replace + body: | + Hi @${{ github.event.issue.user.login }}. + arc-${{ env.MODEL }}-${{ env.PRODUCTVER }}-${{ env.VERSION }} is ready to download: ${{ env.FIOURL }} > ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} ---- @@ -258,4 +249,47 @@ jobs: Hi @${{ github.event.issue.user.login }}. arc-${{ env.MODEL }}-${{ env.PRODUCTVER }}-${{ env.VERSION }} failed to build and package, please try again. > ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} - ---- \ No newline at end of file + ---- + + comment: + if: github.event.label.name == 'bug' + runs-on: ubuntu-latest + steps: + - name: Init Env + run: | + git config --global user.email "info@auxxxilium.tech" + git config --global user.name "AuxXxilium" + sudo timedatectl set-timezone "Europe/Berlin" + + - name: Check Issues + run: | + if echo "${{ github.event.issue.body }}" | grep -q "Screenshots"; then + echo "FALG=true" >> $GITHUB_ENV + else + echo "FALG=false" >> $GITHUB_ENV + fi + + - name: Create Issues comment + if: env.FALG == 'false' + uses: actions-cool/issues-helper@v3 + with: + actions: "create-comment" + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.issue.number }} + body: | + **Describe the Bug** + A clear and concise description of what the bug is. + + **Screenshots** + Screenshot the Systeminfo (Arc - Sysinfo) or use new "Full Sysinfo - Upload" Function provide the Code!!! <- IMPORTANT + + **Hardware** + Add your Hardware Informations here. CPU / Board / Networkcontroller / Storagecontroller / ... + + - name: Close Issues + if: env.FALG == 'false' + uses: actions-cool/issues-helper@v3 + with: + actions: 'close-issue' + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.issue.number }} \ No newline at end of file diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml deleted file mode 100644 index 872e4989..00000000 --- a/.github/workflows/issues.yml +++ /dev/null @@ -1,54 +0,0 @@ -# -# Copyright (C) 2023 AuxXxilium and Ing -# -# This is free software, licensed under the MIT License. -# See /LICENSE for more information. -# - -name: Auto Comment -on: - issues: - types: [opened, reopened] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Init Env - run: | - git config --global user.email "info@auxxxilium.tech" - git config --global user.name "AuxXxilium" - sudo timedatectl set-timezone "Europe/Berlin" - - - name: Check Issues - run: | - if echo "${{ github.event.issue.body }}" | grep -q "Screenshots"; then - echo "FALG=true" >> $GITHUB_ENV - else - echo "FALG=false" >> $GITHUB_ENV - fi - - - name: Create Issues comment - if: env.FALG == 'false' - uses: actions-cool/issues-helper@v3 - with: - actions: "create-comment" - token: ${{ secrets.GITHUB_TOKEN }} - issue-number: ${{ github.event.issue.number }} - body: | - **Describe the Bug** - A clear and concise description of what the bug is. - - **Screenshots** - Screenshot the Systeminfo (Arc - Sysinfo) or use new "Full Sysinfo - Upload" Function provide the Code!!! <- IMPORTANT - - **Hardware** - Add your Hardware Informations here. CPU / Board / Networkcontroller / Storagecontroller / ... - - - name: Close Issues - if: env.FALG == 'false' - uses: actions-cool/issues-helper@v3 - with: - actions: 'close-issue' - token: ${{ secrets.GITHUB_TOKEN }} - issue-number: ${{ github.event.issue.number }} \ No newline at end of file diff --git a/docs/addons.json b/docs/addons.json new file mode 100644 index 00000000..f82e41a6 --- /dev/null +++ b/docs/addons.json @@ -0,0 +1,39 @@ +{"DS2419+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DVA3221":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel"], +"SA3400":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"RS4021xs+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS923+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS3622xs+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"SA6400":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmesystem","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS2422+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"RS1221+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS1522+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"HD6500":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"FS6400":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS1520+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","i915","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS918+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","i915","lsiutil","multismb3","nvmecahce","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS1823xs+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"SA3600":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS1819+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS224+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","i915","lsiutil","multismb3","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS718+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DVA1622":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","i915","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel"], +"DS1821+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS220+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"FS2500":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"RS2423+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"RS1619xs+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmecahce","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"SA3610":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS1621+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS1621xs+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmecache","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"SA3410":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS720+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","i915","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"RS3621xs+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"RS2423RP+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS1019+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","i915","lsiutil","multismb3","nvmecache","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DVA3219":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel"], +"DS3617xs":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS723+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS920+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","i915","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"DS423+":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","i915","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"], +"RS3618xs":["acpid","addincards","amepatch","bootwait","codecpatch","cpuinfo","dbgutils","deduplication","deduplicationhdd","addincards","dsmconfigbackup","expands","hdddb","lsiutil","multismb3","nvmevolume","photosfacepatch","powersched","reboottoloader","sanmanager-repair","sorfnetif","storagepanel","surveillancepatch"]} \ No newline at end of file diff --git a/docs/custom.html b/docs/custom.html index 121ba505..d18ad72a 100644 --- a/docs/custom.html +++ b/docs/custom.html @@ -64,6 +64,7 @@ } changeModel(); } + function changeModel() { model = $("#model").val(); var versions = _modules[model]; @@ -73,11 +74,25 @@ $("#version").append(``); } changeproductsimage(); + changeAddons(); } function changeproductsimage() { var model = $("#model").val().replace("#", "").replace("+", "%2B"); - $('#products').html(``); + $('#products').html(``); + } + + function changeAddons() { + var model = $("#model").val(); + httpGetAsync("https://raw.githubusercontent.com/AuxXxilium/arc/main/docs/addons.json", function (result) { + var addons = JSON.parse(result); + var selectedAddons = addons[model]; + $("#addons")[0].options.length = 0; + for (var i = 0; i < selectedAddons.length; i++) { + var addon = selectedAddons[i]; + $("#addons").append(``); + } + }); } function createIssues() { @@ -102,7 +117,7 @@ } body = JSON.stringify(body).replace(/\+/g, "%2b"); - window.location.href = `https://github.com/${repo}/issues/new?&abels=custom&template=custom_build.md&title=${title}&body=${body}`; + window.location.href = `https://github.com/${repo}/issues/new?assignees=&labels=custom&projects=&template=custom_build.md&title=${title}&body=${body}`; } @@ -121,15 +136,24 @@ margin: 15px 10px; color: #0000FF; "> - _ _ _ - / \ _ __ ___ | | ___ __ _ __| | ___ _ __ - / _ \ | '__/ __| | | / _ \ / _` |/ _` |/ _ \ '__| - / ___ \| | | |__ | |__| (_) | |_| | |_| | __/ | - /_/ \_\_| \___| |_____\___/ \__,_|\__,_|\___|_| + _ _ _ + / \ _ __ ___ | | ___ __ _ __| | ___ _ __ + / _ \ | '__/ __| | | / _ \ / _` |/ _` |/ _ \ '__| + / ___ \| | | |__ | |__| (_) | |_| | |_| | __/ | + /_/ \_\_| \___| |_____\___/ \__,_|\__,_|\___|_|
- + +
+
+
+

 

+
+
+

 

+

 

+
@@ -159,6 +183,16 @@
+
+
+ +
+
+ +
+
@@ -171,42 +205,6 @@
-
-
- -
-
- -
-