diff --git a/AssetStudio/AssetStudio-x86.csproj b/AssetStudio/AssetStudio-x86.csproj index a0a0ffc..8dafbae 100644 --- a/AssetStudio/AssetStudio-x86.csproj +++ b/AssetStudio/AssetStudio-x86.csproj @@ -31,8 +31,7 @@ true - - + Resources\as.ico OnBuildSuccess @@ -275,6 +274,9 @@ AssetStudioUtility + + + xcopy /y "$(ProjectDir)Library" "$(TargetDir)" diff --git a/AssetStudio/AssetStudio.csproj b/AssetStudio/AssetStudio.csproj index d747ccc..5675d9f 100644 --- a/AssetStudio/AssetStudio.csproj +++ b/AssetStudio/AssetStudio.csproj @@ -31,8 +31,7 @@ true - - + Resources\as.ico true @@ -275,6 +274,9 @@ AssetStudioUtility + + + xcopy /y "$(ProjectDir)Library" "$(TargetDir)" diff --git a/AssetStudio/AssetStudioForm.Designer.cs b/AssetStudio/AssetStudioForm.Designer.cs index 4f26a74..f26fa25 100644 --- a/AssetStudio/AssetStudioForm.Designer.cs +++ b/AssetStudio/AssetStudioForm.Designer.cs @@ -874,6 +874,7 @@ this.ClientSize = new System.Drawing.Size(1264, 681); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.menuStrip1); + this.Icon = Properties.Resources._as; this.KeyPreview = true; this.MainMenuStrip = this.menuStrip1; this.MinimumSize = new System.Drawing.Size(620, 372); diff --git a/AssetStudio/Properties/Resources.Designer.cs b/AssetStudio/Properties/Resources.Designer.cs index 5970e34..61e0911 100644 --- a/AssetStudio/Properties/Resources.Designer.cs +++ b/AssetStudio/Properties/Resources.Designer.cs @@ -60,6 +60,16 @@ namespace AssetStudio.Properties { } } + /// + /// 查找类似于 (图标) 的 System.Drawing.Icon 类型的本地化资源。 + /// + internal static System.Drawing.Icon _as { + get { + object obj = ResourceManager.GetObject("_as", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + /// /// 查找类似 #version 140 /// diff --git a/AssetStudio/Properties/Resources.resx b/AssetStudio/Properties/Resources.resx index da74169..4116cd6 100644 --- a/AssetStudio/Properties/Resources.resx +++ b/AssetStudio/Properties/Resources.resx @@ -181,4 +181,7 @@ void main() color = vertexColor; } + + ..\Resources\as.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/AssetStudio/Resources/as.ico b/AssetStudio/Resources/as.ico new file mode 100644 index 0000000..f60875c Binary files /dev/null and b/AssetStudio/Resources/as.ico differ