diff --git a/.gitignore b/.gitignore index b2a5217..100f2fc 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ bld/ [Bb]in/ [Oo]bj/ [Ll]og/ +_output/ # Visual Studio 2015 cache/options directory .vs/ diff --git a/build/pack.sh b/build/pack.sh new file mode 100644 index 0000000..2375939 --- /dev/null +++ b/build/pack.sh @@ -0,0 +1,17 @@ + +BASEDIR=$(dirname "$0") + +ROOT=$BASEDIR/../ + +cd $ROOT + +FULL_ROOT=`pwd` + +OUT=$FULL_ROOT"/_output" +echo "output dir: "$OUT + +mkdir -p $OUT + +#It will use and (referenced pack or item with property pack=true) +dotnet pack src/WeGouSharp/WeGouSharp.csproj -o $OUT -c Release | tee + diff --git a/src/WeGouSharp/.assets/Resources.zip b/src/WeGouSharp/.assets/Resources.zip new file mode 100644 index 0000000..b7dc2a1 Binary files /dev/null and b/src/WeGouSharp/.assets/Resources.zip differ diff --git a/src/WeGouSharp/.assets/readme.txt b/src/WeGouSharp/.assets/readme.txt new file mode 100644 index 0000000..24e08cf --- /dev/null +++ b/src/WeGouSharp/.assets/readme.txt @@ -0,0 +1,4 @@ +This file is the resources and configs for wegousharp. +If you dot't have them in you project, extract the zip file to your porgram directory + +happy coding~ \ No newline at end of file diff --git a/src/WeGouSharp/WeGouSharp.csproj b/src/WeGouSharp/WeGouSharp.csproj index 4593214..6e42eca 100644 --- a/src/WeGouSharp/WeGouSharp.csproj +++ b/src/WeGouSharp/WeGouSharp.csproj @@ -1,7 +1,20 @@  netstandard2.0 + + WegouSharp + 0.0.4 + Hoyho + here2say + Wechat public account scrawler helper + Hoyho + https://github.com/hoyho/WeGouSharp + A powerful spider tool for wechat official account + https://raw.githubusercontent.com/hoyho/WeGouSharp/master/LICENSE + https://github.com/hoyho/WeGouSharp + @@ -16,22 +29,29 @@ - - + + + - - PreserveNewest - + + PreserveNewest + + - + + PreserveNewest + + - - PreserveNewest - + + + + + + + \ No newline at end of file diff --git a/src/WeGouSharp/readme.txt b/src/WeGouSharp/readme.txt new file mode 100644 index 0000000..039df94 --- /dev/null +++ b/src/WeGouSharp/readme.txt @@ -0,0 +1,23 @@ +!!!! Important Note for NuGet User !!!! +!!!! Nuget用户重要说明 !!!! + +Since dotnetcore/dotnet cli(for nuget) don't support distributing conent and tools anymore +Actually, you still can do that, but they file is just a link from cache. And there's many potential issues. + +You may need to add Resource file manually. + +Please download resource from GitHub and put it to published folder or add to your project and publish it + +Resource mentioned here include some configurations and dependences like driver , etc + + +由于dotnetcore/dotnet cli用于nuget的接口现在不支持发布静态资源文件和工具集了(其实也能发布,只是拿到的是一链接文件,又有一堆坑,已经不建议这么使用) + +因此你需要手动添加可能需要的资源文件 + +资源文件可从GitHub仓库下载, 请把下载的资源文件放在发布目录下, +或者添加到你的项目,然后作为发布文件输出 + +这里所说的资源包括一些配置文件,依赖项如gecko驱动之类的东西。 + +