FastCV icon indicating copy to clipboard operation
FastCV copied to clipboard

Revise Shell Scripts

Open yoho321 opened this issue 2 years ago • 7 comments

Hi MGMCN,

When I was testing the project, I just found that the hugo in this project is always in the latest version, which might be an issue in future operation.

Therefore, I revised three shell scripts to make the project better to maintain.

In detail, I allocate stable version of hugo, in which the project is able to run correctly.

yoho321 avatar Mar 08 '23 14:03 yoho321

Could you also revise the environment section in the readme? Thanks

MGMCN avatar Mar 11 '23 15:03 MGMCN

I need the details of the output of the hugo version you ran on linux-ubuntu & windows & macos . You can use 👇 to see the output .

$ hugo version

MGMCN avatar Mar 11 '23 15:03 MGMCN

Yes, of course!

yoho321 avatar Mar 12 '23 09:03 yoho321

Did you try "brew install hugo@version" to install hugo ? -> 0cdcc64

MGMCN avatar Mar 25 '23 01:03 MGMCN

Maybe you should try -> link. Search "Build from source"

MGMCN avatar Mar 25 '23 01:03 MGMCN

Thank you! It works! I will update it soon.

yoho321 avatar Mar 27 '23 23:03 yoho321

Sorry, I still met issues as shown below while installing certain version of Hugo on macOS 13.2.

In file included from json.cpp:2:
../go/pkg/mod/github.com/bep/[email protected]/internal/libsass/../../libsass_src/src/json.cpp:1289:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'

I searched online and it seems like a unfixed issue of Hugo, and I suggest just keeping brew install hugo to install the latest and stable Hugo package, as till now there are no compatibility and operational issues.

yoho321 avatar Mar 28 '23 02:03 yoho321