Skip to content

Commit 546d51d

Browse files
committed
v6.4.21210.0
1 parent ee73f0a commit 546d51d

35 files changed

+253
-139
lines changed

Common/Common.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Platforms>AnyCPU;x64</Platforms>
1111
</PropertyGroup>
1212
<ItemGroup>
13-
<PackageReference Include="ITHit.FileSystem.Windows" Version="6.3.20496.0" />
14-
<PackageReference Include="ITHit.FileSystem" Version="6.3.20496.0" />
13+
<PackageReference Include="ITHit.FileSystem.Windows" Version="6.4.21210.0" />
14+
<PackageReference Include="ITHit.FileSystem" Version="6.4.21210.0" />
1515
</ItemGroup>
1616
</Project>

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ This sample implements a virtual file system for Windows with synchronization su
1414
</a>
1515
</li>
1616
<li>
17-
<a class="link-header" href="https://github.com/ITHit/UserFileSystemSamples/tree/master/macOS">
17+
<a class="link-header" href="https://github.com/ITHit/UserFileSystemSamples/tree/master/macOS/VirtualFileSystem">
1818
<h2>Virtual File System Sample for macOS in .NET, C#</h2>
1919
</a>
2020

21-
<a href="https://github.com/ITHit/UserFileSystemSamples/tree/master/macOS">
21+
<a href="https://github.com/ITHit/UserFileSystemSamples/tree/master/macOS/VirtualFileSystem">
2222
<p>
2323
This sample implements a virtual file system for macOS with synchronization support, folders on-demand listing, thumbnails and context menu support.&nbsp;It synchronizes files and folders both from remote storage to the user file system and from the user <span>...</span>
2424
</p>
@@ -48,11 +48,11 @@ This sample implements a virtual file system for Windows that displays documents
4848
</a>
4949
</li>
5050
<li>
51-
<a class="link-header" href="https://www.userfilesystem.com/examples/webdav_drive_mac/">
51+
<a class="link-header" href="https://github.com/ITHit/UserFileSystemSamples/tree/master/macOS/WebDAVDrive">
5252
<h2>WebDAV Drive Sample for macOS in .NET, C#</h2>
5353
</a>
5454

55-
<a href="https://www.userfilesystem.com/examples/webdav_drive_mac/">
55+
<a href="https://github.com/ITHit/UserFileSystemSamples/tree/master/macOS/WebDAVDrive">
5656
<p>
5757
This sample implements a virtual file system for macOS that displays documents from a WebDAV server. You can edit documents, upload and download documents as well as manage folders structure using macOS Finder. This sample supports synchronization, o <span>...</span>
5858
</p>

Windows/Common/Core/Common.Windows.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.19041.1" />
2121
</ItemGroup>
2222
<ItemGroup>
23-
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="6.3.20496.0" />
24-
<PackageReference Include="ITHit.FileSystem.Windows" Version="6.3.20496.0" />
23+
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="6.4.21210.0" />
24+
<PackageReference Include="ITHit.FileSystem.Windows" Version="6.4.21210.0" />
2525
<ProjectReference Include="..\..\..\Common\Common.csproj" />
2626
</ItemGroup>
2727
</Project>

Windows/Common/Core/ConsoleProcessor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ public async Task ProcessUserInputAsync()
100100
case ConsoleKey.Escape:
101101
// Simulate app uninstall.
102102
await commands.StopEngineAsync();
103-
bool removeSparsePackage = keyInfo.Modifiers.HasFlag(ConsoleModifiers.Shift);
103+
bool removeSparsePackage = FileSystem.Windows.Package.PackageRegistrar.IsRunningWithSparsePackageIdentity() ?
104+
keyInfo.Modifiers.HasFlag(ConsoleModifiers.Shift) : false;
104105
await registrar.UnregisterAsync(commands.Engine, removeSparsePackage);
105106
return;
106107

Windows/Common/Core/LogFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private string ConfigureLogger()
7272
{
7373
// Load Log4Net for net configuration.
7474
var logRepository = LogManager.GetRepository(Assembly.GetEntryAssembly());
75-
XmlConfigurator.Configure(logRepository, new FileInfo(Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "log4net.config")));
75+
XmlConfigurator.Configure(logRepository, new FileInfo(Path.Combine(AppContext.BaseDirectory, "log4net.config")));
7676

7777
// Update log file path for msix package.
7878
RollingFileAppender rollingFileAppender = logRepository.GetAppenders().Where(p => p.GetType() == typeof(RollingFileAppender)).FirstOrDefault() as RollingFileAppender;

Windows/Common/VirtualDrive/Common.Windows.VirtualDrive.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<Compile Remove="IVirtualFolder.cs" />
1414
</ItemGroup>
1515
<ItemGroup>
16-
<PackageReference Include="ITHit.FileSystem.Windows" Version="6.3.20496.0" />
16+
<PackageReference Include="ITHit.FileSystem.Windows" Version="6.4.21210.0" />
1717
<ProjectReference Include="..\..\..\Common\Common.csproj" />
1818
<ProjectReference Include="..\Core\Common.Windows.Core.csproj" />
1919
</ItemGroup>

Windows/VirtualDrive/VirtualDrive.Package/Package.appxmanifest

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,15 @@
7474
<com:Class Id="000562AA-2879-4CF1-89E8-0AEC9596FE19" />
7575
</com:ExeServer>
7676

77-
<com:ExeServer DisplayName="VirtualDrive.ShellExtension" Executable="VirtualDrive.ShellExtension\VirtualDrive.ShellExtension.exe">
77+
<com:ExeServer DisplayName="VirtualDrive.ShellExtension" Executable="VirtualDrive.ShellExtension\VirtualDrive.ShellExtension.exe">
7878
<com:Class Id="6D45BC7A-D0B7-4913-8984-FD7261550C08" />
7979
</com:ExeServer>
8080

81-
</com:ComServer>
81+
<com:ExeServer DisplayName="VirtualDrive.ShellExtension" Executable="VirtualDrive.ShellExtension\VirtualDrive.ShellExtension.exe">
82+
<com:Class Id="4E813313-2227-42AE-BDC9-53C17A9CF812" />
83+
</com:ExeServer>
84+
85+
</com:ComServer>
8286
</com:Extension>
8387
</Extensions>
8488
<!--//$>-->

Windows/VirtualDrive/VirtualDrive.ShellExtension/ContextMenuVerbRpc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace VirtualDrive.ShellExtension
66
{
77

88
/// <summary>
9-
/// Implements Windows Explorer context menu.
9+
/// Implements Windows Explorer context menu. Runs in a separate process from Engine.
1010
/// </summary>
1111
[ComVisible(true)]
1212
[ProgId("VirtualDrive.ContextMenuVerb")]

Windows/VirtualDrive/VirtualDrive.ShellExtension/CustomStateProviderRpc.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace VirtualDrive.ShellExtension
88
/// <summary>
99
/// Implements custom state provider for virtual drive.
1010
/// Displays custom colums and custom state icons in Status column in Windows Explorer.
11+
/// Runs in a separate process from Engine.
1112
/// </summary>
1213
[ComVisible(true)]
1314
[ProgId("VirtualDrive.CustomStateProvider")]

Windows/VirtualDrive/VirtualDrive.ShellExtension/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ static async Task Main(string[] args)
1616
{
1717
server.RegisterClass<ThumbnailProviderRpc>();
1818
server.RegisterClass<ContextMenuVerbRpc>();
19+
server.RegisterClass<StorageProviderCopyHookRpc>();
1920
server.RegisterWinRTClass<IStorageProviderItemPropertySource, CustomStateProviderRpc>();
2021
server.RegisterWinRTClass<IStorageProviderUriSource, UriSourceRpc>();
2122

0 commit comments

Comments
 (0)