Skip to content

Commit

Permalink
Corrected OS Arch Prop & Added Logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaMankal-MS committed Nov 19, 2024
1 parent 24726b5 commit 71b3ac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<PropertyGroup Condition="'$(OSPlatform)' == 'OS_WINDOWS' AND '$(PROCESSOR_ARCHITECTURE)' == 'X86'">
<OSArchitecture>X86</OSArchitecture>
</PropertyGroup>
<PropertyGroup Condition="'$(OSPlatform)' == 'OS_WINDOWS' AND '$(PackageRuntime)' == 'win-arm64'">
<PropertyGroup Condition="'$(OSPlatform)' == 'OS_WINDOWS' AND '$(PROCESSOR_ARCHITECTURE)' == 'ARM64'">
<OSArchitecture>ARM64</OSArchitecture>
</PropertyGroup>

Expand Down
2 changes: 2 additions & 0 deletions src/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,10 @@ echo "Current runtime ID: $DETECTED_RUNTIME_ID"

if [ "$DEV_RUNTIME_ID" ]; then
RUNTIME_ID=$DEV_RUNTIME_ID
echo "Proceeding with DEV_RUNTIME_ID"
else
RUNTIME_ID=$DETECTED_RUNTIME_ID
echo "Proceeding with detected DETECTED_RUNTIME_ID"
fi

_VALID_RIDS='linux-x64:linux-arm:linux-arm64:linux-musl-x64:linux-musl-arm64:osx-x64:osx-arm64:win-x64:win-x86:win-arm64'
Expand Down

0 comments on commit 71b3ac6

Please sign in to comment.