Skip to content
Merged
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
16 changes: 8 additions & 8 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
win-nuget
- name: Publish Windows
run: |
./build.ps1 -Runtime win-x64 -PublishAot -BuildNumber '1.0.${{github.run_number }}'
./src/build.ps1 -Runtime win-x64 -PublishAot -BuildNumber '1.0.${{github.run_number }}'
New-Item -ItemType Directory -Path "win-x64"
Move-Item -Path ".\publish" -Destination "$env:GITHUB_WORKSPACE\win-x64\publish"
Move-Item -Path ".\src\publish" -Destination "$env:GITHUB_WORKSPACE\win-x64\publish"
gci -path "$env:GITHUB_WORKSPACE\win-x64\publish"
shell: pwsh
- name: Create Package
Expand Down Expand Up @@ -57,9 +57,9 @@ jobs:
winarm-nuget
- name: Publish Windows
run: |
./build.ps1 -Runtime win-arm64 -PublishAot -BuildNumber '1.0.${{github.run_number }}'
./src/build.ps1 -Runtime win-arm64 -PublishAot -BuildNumber '1.0.${{github.run_number }}'
New-Item -ItemType Directory -Path "win-arm64"
Move-Item -Path ".\publish" -Destination "$env:GITHUB_WORKSPACE\win-arm64\publish"
Move-Item -Path ".\src\publish" -Destination "$env:GITHUB_WORKSPACE\win-arm64\publish"
gci -path "$env:GITHUB_WORKSPACE\win-arm64\publish"
shell: pwsh
- name: Create Package
Expand Down Expand Up @@ -87,9 +87,9 @@ jobs:
#mac-arm-nuget
- name: Publish macOS Arm
run: |
./build.ps1 -Runtime osx-arm64 -PublishAot:$false -BuildNumber '1.0.${{github.run_number }}'
./src/build.ps1 -Runtime osx-arm64 -PublishAot:$false -BuildNumber '1.0.${{github.run_number }}'
New-Item -ItemType Directory -Path "osx-arm64"
Move-Item -Path ".\publish" -Destination "$env:GITHUB_WORKSPACE\osx-arm64\publish"
Move-Item -Path ".\src\publish" -Destination "$env:GITHUB_WORKSPACE\osx-arm64\publish"
Rename-Item -Path "$env:GITHUB_WORKSPACE\osx-arm64\publish\keyvaultexplorerdesktop" -NewName "Key Vault Explorer for Azure" -Force

shell: pwsh
Expand Down Expand Up @@ -118,9 +118,9 @@ jobs:
linux-nuget
- name: Publish Linux
run: |
./build.ps1 -Runtime linux-x64 -PublishAot:$false -BuildNumber '1.0.${{github.run_number }}'
./src/build.ps1 -Runtime linux-x64 -PublishAot:$false -BuildNumber '1.0.${{github.run_number }}'
New-Item -ItemType Directory -Path "linux-x64"
Move-Item -Path ".\publish" -Destination "$env:GITHUB_WORKSPACE\linux-x64\publish"
Move-Item -Path ".\src\publish" -Destination "$env:GITHUB_WORKSPACE\linux-x64\publish"
gci -path "$env:GITHUB_WORKSPACE\linux-x64\publish"
shell: pwsh
- name: Create Package
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Arthur Thomas
Copyright (c) Arthur Thomas

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
19 changes: 0 additions & 19 deletions kv.slnx

This file was deleted.

File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0.0.0
14 changes: 7 additions & 7 deletions build.ps1 → src/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ $DebugPreference = 'continue';
Set-Content -Path "VERSION" -Value $BuildNumber -Force

$command = @"
dotnet publish ./Desktop/Desktop.csproj `
dotnet publish ./src/Desktop/Desktop.csproj `
-r $Runtime `
-o .\publish `
-o .\src\publish `
-c Release `
-f $Platform `
-p:PublishAot=$PublishAot `
Expand All @@ -32,9 +32,9 @@ dotnet publish ./Desktop/Desktop.csproj `
Write-Host $command -ForegroundColor Green


dotnet publish ./Desktop/Desktop.csproj `
dotnet publish ./src/Desktop/Desktop.csproj `
-r $Runtime `
-o .\publish `
-o .\src\publish `
-c Release `
-f $Platform `
-p:PublishAot=$PublishAot `
Expand All @@ -60,12 +60,12 @@ if ($Runtime -eq "osx-x64") {
New-Item -ItemType Directory -Path $macOSDir -Force | Out-Null
New-Item -ItemType Directory -Path $resourcesPath -Force | Out-Null

$filesToMove = Get-ChildItem -Exclude @("*.pdb", "*.dsym", "Key Vault Explorer for Azure") -Path .\publish
$filesToMove = Get-ChildItem -Exclude @("*.pdb", "*.dsym", "Key Vault Explorer for Azure") -Path .\src\publish
foreach ($file in $filesToMove) {
Copy-Item -Path $file -Destination $macOSDir -Force
}
Copy-Item -Path ".\KeyVaultExplorer\Assets\Info.plist" -Destination $contentsDir -Force
Copy-Item -Path ".\KeyVaultExplorer\Assets\AppIcon.icns" -Destination $resourcesPath -Force
Copy-Item -Path ".\src\KeyVaultExplorer\Assets\Info.plist" -Destination $contentsDir -Force
Copy-Item -Path ".\src\KeyVaultExplorer\Assets\AppIcon.icns" -Destination $resourcesPath -Force

# $filesToModify = Get-ChildItem -Path $macOSDir
# foreach ($file in $filesToModify) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.