Skip to content

Commit

Permalink
同时提供三个发行版本
Browse files Browse the repository at this point in the history
  • Loading branch information
kenvix committed Apr 29, 2017
1 parent d3bf73b commit e913ae3
Show file tree
Hide file tree
Showing 33 changed files with 122 additions and 188 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ USBCopyer/bin/Release/USBCopyerData
USBCopyer/bin/Debug
*.pdb
*.cache
USBCopyer/bin
USBCopyer/obj
Binary file added .vs/USBCopyer/v15/.suo
Binary file not shown.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,26 @@
[![Build status](https://ci.appveyor.com/api/projects/status/xv5b8wf0h7cuy897?svg=true)](https://ci.appveyor.com/project/kenvix/usbcopyer)

**用于在插上目标U盘后自动复制该U盘的文件。"偷U盘文件的神器"**,支持设置冲突解决方案,支持延迟复制,支持扩展名黑白名单,支持磁盘分区号/序列号黑名单,支持日志,支持弹出U盘时强制停止复制防止占用
本程序有两个图标,默认图标表示当前处于空闲状态,红色图标表示当前正在复制文件(工作中)
本程序有两个图标,默认图标表示当前处于空闲状态,红色图标表示当前正在复制文件(工作中)
现已提供三个版本(标准版/兼容版/低权限版)可供下载,见“已编译版本下载”节
![Screenshot](https://git.oschina.net/kenvix/USBCopyer/raw/master/git-resources/screenshot.jpg)

## 已编译版本下载

.Net Framework 3.5
[点击从Git@OSC下载](https://git.oschina.net/kenvix/USBCopyer/raw/master/USBCopyer/bin/Release/USBCopyer.exe) [点击从GitHub下载](https://github.com/kenvix/USBCopyer/blob/master/USBCopyer/bin/Release/USBCopyer.exe?raw=true)
需要安装.Net Framework 3.5,[没有安装请点此](https://download.microsoft.com/download/7/0/3/703455ee-a747-4cc8-bd3e-98a615c3aedb/dotNetFx35setup.exe)
#### 【推荐】.Net Framework 4.0 版本(标准版)
**适用操作系统**:Windows 8 / Windows 10
[点击从Git@OSC下载](https://git.oschina.net/kenvix/USBCopyer/raw/master/Release/USBCopyer.Release.exe) [点击从GitHub下载](https://github.com/kenvix/USBCopyer/blob/master/Release/USBCopyer.Release.exe?raw=true)

#### .Net Framework 3.5 版本(兼容版)
**适用操作系统**:Windows 7 / Windows Vista / Windows XP
**WinXP请注意**:XP可能需要安装手动.NET Framework 3.5,[没有安装请点此](https://download.microsoft.com/download/7/0/3/703455ee-a747-4cc8-bd3e-98a615c3aedb/dotNetFx35setup.exe)
[点击从Git@OSC下载](https://git.oschina.net/kenvix/USBCopyer/raw/master/Release/USBCopyer.Release.Net3.5.exe) [点击从GitHub下载](https://github.com/kenvix/USBCopyer/blob/master/Release/USBCopyer.Release.Net3.5.exe?raw=true)

#### 低权限 .Net Framework 4.0 版本(低权限版)
**适用操作系统**:Windows 8 / Windows 10
**适用情况**:不便于关闭UAC的操作系统,这类系统使用在标准版USBCopyer时,会提示请求管理员权限。低权限版通过降低自身的访问权限来规避此问题。
**注意**:要设置开机启动,你必须以管理员权限来运行低权限版。低权限版可能无法复制有权限设置的文件的U盘
[点击从Git@OSC下载](https://git.oschina.net/kenvix/USBCopyer/raw/master/Release/USBCopyer.Release.Low-Permissions.exe) [点击从GitHub下载](https://github.com/kenvix/USBCopyer/blob/master/Release/USBCopyer.Release.Low-Permissions.exe?raw=true)

### 适用场景

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions USBCopyer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Global
{038DACC1-328D-4E6A-9AA5-B35457A2D983}.Release|Any CPU.Build.0 = Release|Any CPU
{038DACC1-328D-4E6A-9AA5-B35457A2D983}.ReNet3.5|Any CPU.ActiveCfg = Release.Net3.5|Any CPU
{038DACC1-328D-4E6A-9AA5-B35457A2D983}.ReNet3.5|Any CPU.Build.0 = Release.Net3.5|Any CPU
{038DACC1-328D-4E6A-9AA5-B35457A2D983}.ReLowPermissions|Any CPU.ActiveCfg = Release.Low-Permissions|Any CPU
{038DACC1-328D-4E6A-9AA5-B35457A2D983}.ReLowPermissions|Any CPU.Build.0 = Release.Low-Permissions|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
4 changes: 1 addition & 3 deletions USBCopyer/Properties/app.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->

<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />

</application>
</compatibility>
Expand All @@ -57,7 +57,6 @@
-->

<!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
Expand All @@ -70,6 +69,5 @@
/>
</dependentAssembly>
</dependency>
-->

</assembly>
73 changes: 73 additions & 0 deletions USBCopyer/Properties/low-permissions.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC 清单选项
如果想要更改 Windows 用户帐户控制级别,请使用
以下节点之一替换 requestedExecutionLevel 节点。n
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
指定 requestedExecutionLevel 元素将禁用文件和注册表虚拟化。
如果你的应用程序需要此虚拟化来实现向后兼容性,则删除此
元素。
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>

<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- 设计此应用程序与其一起工作且已针对此应用程序进行测试的
Windows 版本的列表。取消评论适当的元素,Windows 将
自动选择最兼容的环境。 -->

<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->

<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->

<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->

<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->

<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />

</application>
</compatibility>

<!-- 指示该应用程序可以感知 DPI 且 Windows 在 DPI 较高时将不会对其进行
自动缩放。Windows Presentation Foundation (WPF)应用程序自动感知 DPI,无需
选择加入。选择加入此设置的 Windows 窗体应用程序(目标设定为 .NET Framework 4.6 )还应
在其 app.config 中将 "EnableWindowsFormsHighDpiAutoResizing" 设置设置为 "true"。-->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->

<!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>

</assembly>
1 change: 1 addition & 0 deletions USBCopyer/Resources/Disks.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"��������","���к�","����","������","�ļ�ϵͳ","��������","�ļ�������"
15 changes: 14 additions & 1 deletion USBCopyer/USBCopyer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
<ProjectGuid>{038DACC1-328D-4E6A-9AA5-B35457A2D983}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
Expand Down Expand Up @@ -31,6 +32,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
Expand All @@ -41,6 +43,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
Expand All @@ -62,15 +65,24 @@
</Win32Resource>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>

</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release.Net3.5|AnyCPU'">
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
<OutputPath>bin\Release.Net3.5\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release.Low-Permissions|AnyCPU'">
<OutputPath>bin\Release.Low-Permissions\</OutputPath>
<ApplicationManifest>Properties\low-permissions.manifest</ApplicationManifest>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<DefineConstants>TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
Expand Down Expand Up @@ -141,6 +153,7 @@
<None Include="app.config" />
<None Include="bin\Debug\USBCopyerData\Disks.csv" />
<None Include="Properties\app.manifest" />
<None Include="Properties\low-permissions.manifest" />
<None Include="Properties\Settings.settings">
<Generator>PublicSettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
Expand Down
13 changes: 13 additions & 0 deletions USBCopyer/USBCopyer.csproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory>publish\</PublishUrlHistory>
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>zh-CN</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
</Project>
60 changes: 0 additions & 60 deletions USBCopyer/bin/Release/USBCopyer.exe.config

This file was deleted.

Binary file removed USBCopyer/bin/Release/USBCopyer.vshost.exe
Binary file not shown.
57 changes: 0 additions & 57 deletions USBCopyer/bin/Release/USBCopyer.vshost.exe.config

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed USBCopyer/obj/Debug/USBCopyer.Host.resources
Binary file not shown.
Binary file not shown.
Binary file removed USBCopyer/obj/Debug/USBCopyer.Setting.resources
Binary file not shown.
32 changes: 0 additions & 32 deletions USBCopyer/obj/Debug/USBCopyer.csproj.FileListAbsolute.txt

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed USBCopyer/obj/Debug/USBCopyer.diskUUID.resources
Binary file not shown.
Binary file removed USBCopyer/obj/Debug/USBCopyer.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed USBCopyer/obj/Release/USBCopyer.Host.resources
Binary file not shown.
Binary file not shown.
Binary file removed USBCopyer/obj/Release/USBCopyer.Setting.resources
Binary file not shown.
Loading

0 comments on commit e913ae3

Please sign in to comment.