Skip to content

Commit

Permalink
Change host_os_version to contain 3 parts
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddimax committed Aug 14, 2024
1 parent cdd1e68 commit 33650bd
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 46 deletions.
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 11 additions & 22 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

35 changes: 13 additions & 22 deletions src/extensionstore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,38 +93,29 @@ function createPluginSets(
pluginMetaData: PluginMetaData,
qtcVersion: Versions
): PluginSet[] {
const allPlatforms: PlatformDescriptor[] = [
const osArr = [
{
name: 'Windows',
version: '10',
architecture: 'x86_64'
version: '10.0.0'
},
{
name: 'Linux',
version: '20.04',
architecture: 'x86_64'
version: '20.04.0'
},
{
name: 'macOS',
version: '11.0',
architecture: 'x86_64'
},
{
name: 'Windows',
version: '10',
architecture: 'arm64'
},
{
name: 'Linux',
version: '20.04',
architecture: 'arm64'
},
{
name: 'macOS',
version: '11.0',
architecture: 'arm64'
version: '11.0.0'
}
]
const allPlatforms: PlatformDescriptor[] = osArr
.map(os => {
return { ...os, architecture: 'x86_64' } as PlatformDescriptor
})
.concat(
osArr.map(os => {
return { ...os, architecture: 'arm64' } as PlatformDescriptor
})
)
return allPlatforms.map(platform => {
return {
status: 'draft',
Expand Down

0 comments on commit 33650bd

Please sign in to comment.