Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
235 changes: 112 additions & 123 deletions .azure-pipelines/azure-pipelines.yml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions .azure-pipelines/templates/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ stages:
fi

if [ "$(MACOS_ARM64_CACHE_RESTORED)" = "true" ]; then
MACOS_ARM64_ARTIFACT=$(find "$ARTIFACTS_DIR/artifacts-macos-arm64/" -name "*.zip" -type f | head -n 1)
MACOS_ARM64_ARTIFACT=$(find "$ARTIFACTS_DIR/artifacts-macos-arm64/" -name "*.dmg" -not -name "._*" -type f | head -n 1)
if [ ! -f "$MACOS_ARM64_ARTIFACT" ]; then
echo "✗ Error: MacOS ARM64 artifact not found"
exit 1
Expand All @@ -217,7 +217,7 @@ stages:
fi

if [ "$(MACOS_X64_CACHE_RESTORED)" = "true" ]; then
MACOS_X64_ARTIFACT=$(find "$ARTIFACTS_DIR/artifacts-macos-x64/" -name "*.zip" -type f | head -n 1)
MACOS_X64_ARTIFACT=$(find "$ARTIFACTS_DIR/artifacts-macos-x64/" -name "*.dmg" -not -name "._*" -type f | head -n 1)
if [ ! -f "$MACOS_X64_ARTIFACT" ]; then
echo "✗ Error: MacOS X64 artifact not found"
exit 1
Expand Down Expand Up @@ -260,7 +260,7 @@ stages:

if [ "$(MACOS_ARM64_CACHE_RESTORED)" = "true" ] && [ -n "$(MACOS_ARM64_ARTIFACT)" ]; then
OLD_PATH="$(MACOS_ARM64_ARTIFACT)"
NEW_NAME="PA-SerialPrograms-MacOS-ARM64-${VERSION}-${BUILD_DATE}.zip"
NEW_NAME="PA-SerialPrograms-MacOS-ARM64-${VERSION}-${BUILD_DATE}.dmg"
NEW_PATH="$ARTIFACTS_DIR/$NEW_NAME"

echo "Renaming: $(basename "$OLD_PATH") -> $NEW_NAME"
Expand All @@ -270,7 +270,7 @@ stages:

if [ "$(MACOS_X64_CACHE_RESTORED)" = "true" ] && [ -n "$(MACOS_X64_ARTIFACT)" ]; then
OLD_PATH="$(MACOS_X64_ARTIFACT)"
NEW_NAME="PA-SerialPrograms-MacOS-x64-${VERSION}-${BUILD_DATE}.zip"
NEW_NAME="PA-SerialPrograms-MacOS-x64-${VERSION}-${BUILD_DATE}.dmg"
NEW_PATH="$ARTIFACTS_DIR/$NEW_NAME"

echo "Renaming: $(basename "$OLD_PATH") -> $NEW_NAME"
Expand Down
502 changes: 446 additions & 56 deletions .azure-pipelines/templates/macos-build.yml

Large diffs are not rendered by default.

214 changes: 0 additions & 214 deletions .azure-pipelines/templates/macos-notarize.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .azure-pipelines/templates/update-github-telemetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ stages:
return 0
}

$token = "$(GITHUB_PAT)"
$token = $env:GITHUB_TOKEN
$repo = "${{ parameters.telemetryRepo }}"
$filePath = "Developer/Telemetry.json"
$branch = "main"
Expand Down Expand Up @@ -247,7 +247,7 @@ stages:
exit 1
}
env:
GITHUB_PAT: $(GITHUB_PAT)
GITHUB_TOKEN: $(GITHUB_PAT)
TELEMETRY_KEY_1: $(TELEMETRY_KEY_1)
TELEMETRY_KEY_2: $(TELEMETRY_KEY_2)
TELEMETRY_VERSION: "v${{ parameters.versionMajor }}.${{ parameters.versionMinor }}.${{ parameters.versionPatch }}"
2 changes: 1 addition & 1 deletion .azure-pipelines/templates/update-github-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ stages:
return 0
}

$token = "$(GITHUB_PAT)"
$token = $env:GITHUB_TOKEN
$repo = "${{ parameters.versionRepo }}"
$filePath = "LatestVersion.json"
$changeLogPath = "ChangeLog.md"
Expand Down
65 changes: 65 additions & 0 deletions IconResource/SerialPrograms.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>com.gameautomation.SerialPrograms</id>

<!-- Metadata -->
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>

<!-- Names and descriptions -->
<name>SerialPrograms</name>
<summary>Game Automation Software</summary>
<description>
<p>Automate various games using a compatible microcontroller from your computer.</p>
<ul>
<li>Tick-precise controller inputs</li>
<li>Remote control via Discord</li>
<li>Machine learning, visual/audio capabilities to accomplish tasks</li>
</ul>
</description>

<!-- Icon -->
<icon type="cached_file" height="256" width="256">
/usr/share/icons/hicolor/256x256/apps/SerialPrograms.png
</icon>

<!-- Launch information -->
<launchable type="desktop-id">com.gameautomation.SerialPrograms.desktop</launchable>

<!-- Categories and keywords -->
<categories>
<category>Utility</category>
<category>HardwareSettings</category>
</categories>

<keywords>
<keyword>automation</keyword>
<keyword>serial</keyword>
<keyword>computer</keyword>
<keyword>control</keyword>
</keywords>

<!-- URLs -->
<url type="homepage">https://github.com/PokemonAutomation/Arduino-Source</url>
<url type="bugtracker">https://github.com/PokemonAutomation/Arduino-Source/issues</url>
<url type="help">https://pokemonautomation.github.io</url>

<!-- Screenshots (optional - add actual screenshot paths if available) -->
<!--
<screenshots>
<screenshot type="default">
<image>https://example.com/screenshot1.png</image>
</screenshot>
</screenshots>
-->

<!-- Release information (update with each release) -->
<releases>
<release version="0.62.9" date="2026-04-05">
<description>
<p>Initial AppStream metadata</p>
</description>
</release>
</releases>

</component>
2 changes: 1 addition & 1 deletion SerialPrograms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ else()
endif()

if(APPLE)
set(DEST_DIR "$<TARGET_FILE_DIR:SerialPrograms>/..")
set(DEST_DIR "$<TARGET_FILE_DIR:SerialPrograms>/../../..")
elseif(PACKAGE_BUILD)
set(DEST_DIR "$<TARGET_FILE_DIR:SerialPrograms>/Output")
set(WIN_DEPLOY_DIR "${DEST_DIR}/Binaries64")
Expand Down
Loading