From bf15bcf4442cdd7ce163e6091ba6265cf57c0f99 Mon Sep 17 00:00:00 2001 From: umbynos Date: Thu, 4 Feb 2021 12:55:17 +0100 Subject: [PATCH 1/2] fix wrong agent version in spotlight [MacOs] --- .github/workflows/release.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 163e5e895..0a174569c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -300,6 +300,33 @@ jobs: run: mv -v ${{ matrix.executable-path }}arduino-create-agent_cli${{ matrix.extension }} ${{ matrix.executable-path }}Arduino_Create_Agent_cli${{ matrix.extension }} if: matrix.os == 'ubuntu-18.04' + - name: get year + run: echo "YEAR=$(date "+%Y")" >> $GITHUB_ENV + if: matrix.os == 'macos-10.15' + + -name: Generate Info.plist for MacOS + run: | + cat > skel/ArduinoCreateAgent.app/Contents/Info.plist <CFBundlePackageTypeAPPLCFBundleInfoDictionaryVersion6.0 + + CFBundleIconFile AppIcon.icns + + CFBundleName Arduino Create Agent + CFBundleExecutable Arduino_Create_Agent + CFBundleIdentifier create.arduino.cc + + CFBundleVersion ${GITHUB_REF##*/} + NSHumanReadableCopyright © Copyright ${{ env.YEAR }} Arduino LLC + CFBundleShortVersionString ${GITHUB_REF##*/} + LSUIElement + + NSPrincipalClassNSApplication + NSMainNibFileMainMenu + + + EOF + if: matrix.os == 'macos-10.15' + - name: Save InstallBuilder license to file run: echo "${{ secrets.INSTALLER_LICENSE }}" > /tmp/license.xml From 224a406eda97286e71c543155afbc9e1a01ed46e Mon Sep 17 00:00:00 2001 From: umbynos Date: Thu, 4 Feb 2021 13:00:10 +0100 Subject: [PATCH 2/2] =?UTF-8?q?forgot=20space=20=F0=9F=A4=A6=F0=9F=8F=BB?= =?UTF-8?q?=E2=80=8D=E2=99=82=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a174569c..185ba92b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -304,7 +304,7 @@ jobs: run: echo "YEAR=$(date "+%Y")" >> $GITHUB_ENV if: matrix.os == 'macos-10.15' - -name: Generate Info.plist for MacOS + - name: Generate Info.plist for MacOS run: | cat > skel/ArduinoCreateAgent.app/Contents/Info.plist <CFBundlePackageTypeAPPLCFBundleInfoDictionaryVersion6.0