WangYihang / Platypus

:hammer: A modern multiple reverse shell sessions manager written in go
http://platypus-reverse-shell.vercel.app
GNU Lesser General Public License v3.0
1.52k stars 224 forks source link

Source code missing assets.go file #186

Open g-a-r-y opened 1 year ago

g-a-r-y commented 1 year ago

Description

I download the source code, there're several files prompt an error because the lack of file: 
{projectRoot}/internal/util/assets/assets.go, I found a .gitignore file in the dir, 
which means the assets.go is ignored when commit.

Reproduce

  1. download code
  2. open in vscode and wait it finish download the packages
  3. some files are marked red: /cmd/platypus/main.go, /internal/utils/compiler/compiler.go, ... ...

Expected behavior

Get the content of assets.go, either re-download or add by myself, thanks!

Current behavior

Screenshots/Terminal log

file-not-found

Environments

WangYihang commented 1 year ago

Thanks for reporting.

Use make release to generate the file, see Makefile.

WangYihang commented 1 year ago

I will change the build system from Makefile to goreleaser soon, which will make the build process more elegant and convenient.

g-a-r-y commented 1 year ago

Ok, thanks. I will go check the file and see if there's a more convenient way to run or debug the code.