mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 01:42:29 +00:00
feat(go): profiles are now configured by an info.json file
This commit is contained in:
parent
e591b8b17d
commit
9053d61b6b
13 changed files with 222 additions and 111 deletions
15
go/profile/generate.go
Normal file
15
go/profile/generate.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package profile
|
||||
|
||||
func (profile *Profile) Generate(compress_db bool) (err error) {
|
||||
if err = profile.CreateIDAFiles(); err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
if profile.Info.OS == "windows" {
|
||||
if err = profile.CreateX64dbgFiles(compress_db); err != nil {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue