oovm / ZhihuLink

A Mathematica package used to download Q&As on zhihu.com
Mozilla Public License 2.0
8 stars 2 forks source link

Make the installation package #1

Closed oovm closed 6 years ago

oovm commented 6 years ago
oovm commented 6 years ago

Some things only should do once while install or update.

Like checking if the folder exists or not.

https://github.com/wjxway/ZhihuLink-Mathematica/blob/fb85f55838d22d5d0bb94de614dd47d5c7748e3c/ZhihuLink.wl#L42-L49

Thinks that we need decouple first.

oovm commented 6 years ago

Seems no way to run something only once.

or can do that with the install script.

https://github.com/wjxway/ZhihuLink-Mathematica/blob/327d780043049a969a0e9921829b83185bb6f648/Kernel/install.m#L7-L10

oovm commented 6 years ago

Check the release to see if this works. @vaporized @wjxway

https://github.com/wjxway/ZhihuLink-Mathematica/releases

Is there any way to get the $LastestPaclet?