Skip to content

Commit fca8b46

Browse files
authored
Merge branch 'main' into extract_context
2 parents 1222353 + 2276df7 commit fca8b46

File tree

778 files changed

+1074
-1014
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

778 files changed

+1074
-1014
lines changed

builds/azure-pipelines-release.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,22 @@ jobs:
2626
script: |
2727
[xml]$xmlDoc = Get-Content $(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest
2828
$xmlDoc.Package.Identity.Name="Files"
29-
$xmlDoc.Package.Identity.Publisher="CN=53EC4384-7F5B-4CF6-8C23-513FFE9D1AB7"
29+
$xmlDoc.Package.Identity.Publisher="Files"
3030
$xmlDoc.Package.Properties.DisplayName="Files"
3131
$xmlDoc.Package.Applications.Application.VisualElements.DisplayName="Files"
3232
$xmlDoc.Save('$(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest')
3333
failOnStderr: true
3434

35+
- task: PowerShell@2
36+
displayName: 'Use Release Logo'
37+
inputs:
38+
targetType: 'inline'
39+
script: |
40+
gci $(Build.SourcesDirectory)\src -Include *.csproj, *.appxmanifest, *.wapproj -recurse | ForEach -Process {
41+
(Get-Content $_ -Raw | ForEach -Process {$_ -replace "Assets\\AppTilesDev", "Assets\AppTiles"}) | Set-Content $_ -NoNewline
42+
}
43+
failOnStderr: true
44+
3545
- task: DownloadSecureFile@1
3646
name: mapsDevKey
3747
displayName: 'Download Bing Maps Dev Key'
@@ -117,6 +127,16 @@ jobs:
117127
$xmlDoc.Save('$(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest')
118128
failOnStderr: true
119129

130+
- task: PowerShell@2
131+
displayName: 'Use Release Logo'
132+
inputs:
133+
targetType: 'inline'
134+
script: |
135+
gci $(Build.SourcesDirectory)\src -Include *.csproj, *.appxmanifest, *.wapproj -recurse | ForEach -Process {
136+
(Get-Content $_ -Raw | ForEach -Process {$_ -replace "Assets\\AppTilesDev", "Assets\AppTiles"}) | Set-Content $_ -NoNewline
137+
}
138+
failOnStderr: true
139+
120140
- task: DownloadSecureFile@1
121141
name: mapsDevKey
122142
displayName: 'Download Bing Maps Dev Key'

builds/azure-pipelines.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,22 @@ steps:
1717
script: |
1818
[xml]$xmlDoc = Get-Content $(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest
1919
$xmlDoc.Package.Identity.Name="49306atecsolution.FilesUWP"
20-
$xmlDoc.Package.Identity.Publisher="CN=53EC4384-7F5B-4CF6-8C23-513FFE9D1AB7"
20+
$xmlDoc.Package.Identity.Publisher="CN=53EC4384-7F5B-4CF6-8C23-513FFE9D1AB7"
2121
$xmlDoc.Package.Properties.DisplayName="Files"
2222
$xmlDoc.Package.Applications.Application.VisualElements.DisplayName="Files"
2323
$xmlDoc.Save('$(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest')
2424
failOnStderr: true
2525

26+
- task: PowerShell@2
27+
displayName: 'Use Release Logo'
28+
inputs:
29+
targetType: 'inline'
30+
script: |
31+
gci $(Build.SourcesDirectory)\src -Include *.csproj, *.appxmanifest, *.wapproj -recurse | ForEach -Process {
32+
(Get-Content $_ -Raw | ForEach -Process {$_ -replace "Assets\\AppTilesDev", "Assets\AppTiles"}) | Set-Content $_ -NoNewline
33+
}
34+
failOnStderr: true
35+
2636
- task: DownloadSecureFile@1
2737
name: mapsDevKey
2838
displayName: 'Download Bing Maps Dev Key'

src/Common/CloudProvider.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public enum CloudProviders
4141
AmazonDrive,
4242
Nextcloud,
4343
Yandex,
44-
Box
44+
Box,
45+
Jottacloud
4546
}
4647
}

src/Files.Launcher/Helpers/CloudDrivesDetector.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ private static Task<List<CloudProvider>> DetectGenericCloudDrive()
7171
"MEGA" => CloudProviders.Mega,
7272
"Amazon Drive" => CloudProviders.AmazonDrive,
7373
"Nextcloud" => CloudProviders.Nextcloud,
74+
"Jottacloud" => CloudProviders.Jottacloud,
7475
_ => null
7576
};
7677
if (driveID == null)
@@ -86,6 +87,7 @@ private static Task<List<CloudProvider>> DetectGenericCloudDrive()
8687
CloudProviders.Mega => $"MEGA ({Path.GetFileName(syncedFolder.TrimEnd('\\'))})",
8788
CloudProviders.AmazonDrive => $"Amazon Drive",
8889
CloudProviders.Nextcloud => $"Nextcloud",
90+
CloudProviders.Jottacloud => $"Jottacloud",
8991
_ => null
9092
},
9193
SyncFolder = syncedFolder

0 commit comments

Comments
 (0)